![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
for learning
Diff: CAN/function_CAN.h
- Revision:
- 45:35fa6884d0c6
- Parent:
- 41:abbd4e2af68b
- Child:
- 49:e7bcfc244d40
--- a/CAN/function_CAN.h Tue Jan 14 09:11:20 2020 +0000 +++ b/CAN/function_CAN.h Thu Jan 16 12:05:15 2020 +0000 @@ -9,11 +9,7 @@ // INIT_CID #define INIT_CID_RX_CMD 100 #define INIT_CID_RX_REF_POSITION 200 -#define INIT_CID_RX_REF_TORQUE 300 -#define INIT_CID_RX_REF_PRES_DIFF 400 -#define INIT_CID_RX_REF_VOUT 500 -#define INIT_CID_RX_REF_VALVE_POSITION 600 -#define INIT_CID_RX_REF_CURRENT 700 +#define INIT_CID_RX_REF_PWM 300 #define INIT_CID_TX_INFO 1100 #define INIT_CID_TX_POSITION 1200 @@ -31,7 +27,7 @@ #define CRX_SET_OPERATING_MODE 102 #define CRX_SET_ENC_ZERO 103 #define CRX_SET_FET_ON 104 -#define CRX_SET_REF_UPDATE_ENABLE 105 +#define CRX_SET_POS_TORQ_TRANS 105 #define CRX_ASK_CAN_FREQ 6 #define CRX_SET_CAN_FREQ 106 #define CRX_ASK_CONTROL_MODE 7 @@ -238,3 +234,4 @@ #endif +