MIT Motor FOC Control
Config/user_config.h@23:2adf23ee0305, 2017-04-05 (annotated)
- Committer:
- benkatz
- Date:
- Wed Apr 05 20:54:16 2017 +0000
- Revision:
- 23:2adf23ee0305
- Child:
- 24:58c2d7571207
Added bayley's flash writer
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
benkatz | 23:2adf23ee0305 | 1 | /// Values stored in flash, which are modifieable by user actions /// |
benkatz | 23:2adf23ee0305 | 2 | |
benkatz | 23:2adf23ee0305 | 3 | #ifndef USER_CONFIG_H |
benkatz | 23:2adf23ee0305 | 4 | #define USER_CONFIG_H |
benkatz | 23:2adf23ee0305 | 5 | |
benkatz | 23:2adf23ee0305 | 6 | |
benkatz | 23:2adf23ee0305 | 7 | #define E_OFFSET __float_reg[0] |
benkatz | 23:2adf23ee0305 | 8 | #define M_OFFSET __float_reg[1] |
benkatz | 23:2adf23ee0305 | 9 | #define I_BW __float_reg[2] |
benkatz | 23:2adf23ee0305 | 10 | #define I_LIMIT __float_reg[3] |
benkatz | 23:2adf23ee0305 | 11 | |
benkatz | 23:2adf23ee0305 | 12 | #define PHASE_ORDER __int_reg[0] |
benkatz | 23:2adf23ee0305 | 13 | #define CAN_ID __int_reg[1] |
benkatz | 23:2adf23ee0305 | 14 | #define ENCODER_LUT __int_reg[4] |
benkatz | 23:2adf23ee0305 | 15 | |
benkatz | 23:2adf23ee0305 | 16 | extern float __float_reg[]; |
benkatz | 23:2adf23ee0305 | 17 | extern int __int_reg[]; |
benkatz | 23:2adf23ee0305 | 18 | |
benkatz | 23:2adf23ee0305 | 19 | #endif |