MBot Software Library  v1.0
An API documentation to mbot_firmware repository
mbot_fram_map.h
1 #ifndef MBOT_FRAM_MAP_H
2 #define MBOT_FRAM_MAP_H
3 
4 #define MPU_FINAL_FRAM_ADDR 102 // final address of MPU calibration
5 
6 // FRAM Memory Map has offsets and lengths as 2 seperate enums
7 typedef enum mbot_fram_cfg_offset_t{
8  WHEEL_CALIBRATION_ADDR = MPU_FINAL_FRAM_ADDR, // have to start at 102 since thats where the MPU stops
9 } mbot_fram_cfg_offset_t;
10 
11 typedef enum mbot_fram_cfg_length_t{
12  WHEEL_CALIBRATION_LEN = 6 * sizeof(float), // 6 floats
13 } mbot_fram_cfg_length_t;
14 
15 #endif