Modules
Modules for this board:
steering_can
Methods:
steering_can_init() steering_can_process_event()
steering_digital_input
steering_digital_input_init() // sets up interrupts and processes events
Operation
processes events and sends steering CAN messages.
GPIO Inputs
Input | GPIO Address | Description |
---|---|---|
STEERING_DIGITAL_INPUT_HORN | PB1 | |
STEERING_DIGITAL_INPUT_RADIO_PPT | ||
STEERING_DIGITAL_INPUT_HIGH_BEAM_FORWARD | PA7 | |
STEERING_DIGITAL_INPUT_HIGH_BEAM_REAR | PB0 | |
STEERING_DIGITAL_INPUT_REGEN_BRAKE_TOGGLE | ||
STEERING_DIGITAL_INPUT_CC_ON_OFF | PA5 | |
STEERING_DIGITAL_DIGITAL_INPUT_CC_INCREASE_SPEED | ||
STEERING_DIGITAL_DIGITAL_INPUT_CC_DECREASE_SPEED | ||
CAN Messages
CAN Message | ||
---|---|---|
CAN_TRANSMIT_LIGHTS_STATES | ||
CAN_TRANSMIT_HORN_STATE | ||
CAN_TRANSMIT_ |