Front Controller Board Firmware.
More...
|
#define | MOTOR_CAN_CONTROL_BASE 0x500 |
|
#define | MOTOR_CAN_CONTROLLER_BASE 0x400 |
|
#define | STATUS_INFO (MOTOR_CAN_CONTROLLER_BASE + 0X01) |
|
#define | BUS_MEASUREMENT (MOTOR_CAN_CONTROLLER_BASE + 0X02) |
|
#define | VELOCTIY_MEASUREMENT (MOTOR_CAN_CONTROLLER_BASE + 0X03) |
|
#define | PHASE_CURRENT (MOTOR_CAN_CONTROLLER_BASE + 0X04) |
|
#define | MOTOR_VOLTAGE (MOTOR_CAN_CONTROLLER_BASE + 0X05) |
|
#define | MOTOR_CURRENT (MOTOR_CAN_CONTROLLER_BASE + 0X06) |
|
#define | MOTOR_BACK_EMF (MOTOR_CAN_CONTROLLER_BASE + 0x07) |
|
#define | RAIL_15V (MOTOR_CAN_CONTROLLER_BASE + 0x08) |
|
#define | HEAT_SINK_MOTOR_TEMP (MOTOR_CAN_CONTROLLER_BASE + 0x0B) |
|
|
StatusCode | motor_can_transmit (uint32_t id, bool extended, const uint8_t *msg, uint8_t dlc) |
|
void | tx_set_current (float current) |
|
void | tx_set_velocity (uint32_t velocity) |
|
RxData | get_rx_data (void) |
|
void | rx_set_limit_flags (uint16_t flags) |
|
void | rx_set_error_flags (uint16_t flags) |
|
void | rx_set_bus_current (float current) |
|
void | rx_set_bus_voltage (float voltage) |
|
void | rx_set_vehicle_velocity (float velocity) |
|
void | rx_set_motor_velocity (float velocity) |
|
void | rx_set_phase_c_current (float current) |
|
void | rx_set_phase_b_current (float current) |
|
void | rx_set_voltage_d (float voltage) |
|
void | rx_set_voltage_q (float voltage) |
|
void | rx_set_current_d (float current) |
|
void | rx_set_current_q (float current) |
|
void | rx_set_back_EMF_d (float voltage) |
|
void | rx_set_back_EMF_q (float voltage) |
|
void | rx_set_rail_15v_supply (float voltage) |
|
void | rx_set_heat_sink_temp (float degrees) |
|
void | rx_set_motor_temp (float degrees) |
|
Front Controller Board Firmware.