2011

Dependencies:   mbed FastPWM

Revision:
27:a2254a485f23
Parent:
19:23b7c1ad8683
Child:
29:69f3f5445d6d
diff -r 8317d883d4f2 -r a2254a485f23 CAN/function_CAN.h
--- a/CAN/function_CAN.h	Fri Sep 27 06:57:32 2019 +0000
+++ b/CAN/function_CAN.h	Tue Oct 01 05:18:16 2019 +0000
@@ -95,6 +95,7 @@
 #define             CRX_ASK_VALVE_POS_VS_FLOWRATE   44
 #define             CRX_ASK_VALVE_POS_NUM           45
 #define             CRX_SET_ERR_CLEAR               150
+#define             CRX_SET_ROM                     146
 #define             CRX_JUMP_STATUS                 255
 
 // CID_TX_INFO - TX INFO type
@@ -141,7 +142,7 @@
 void CAN_TX_TORQUE(int16_t t_torque);
 void CAN_TX_PRES(int16_t t_pres_a, int16_t t_pres_b);
 void CAN_TX_PWM(int16_t t_pwm);
-void CAN_TX_VALVE_POSITION(int16_t t_valve_pos);
+void CAN_TX_VALVE_POSITION(int16_t t_valve_pos, int16_t t_ref_valve_pos, int16_t t_pwm);
 
 // Information Transmission
 void CAN_TX_INFO(void);