Struct SYN_CAN¶
CAN bus instance — port, bitrate, callbacks, stats.
#include <syn_can.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint32_t | bitrate |
| uint32_t | err_count |
| SYN_CAN_Callback | on_rx |
| void * | on_rx_ctx |
| uint8_t | port |
| uint32_t | rx_count |
| uint32_t | tx_count |
Public Attributes Documentation¶
variable bitrate¶
Configured bitrate
variable err_count¶
Transmission errors
variable on_rx¶
Receive callback
variable on_rx_ctx¶
Receive callback context
variable port¶
CAN port number
variable rx_count¶
Frames received
variable tx_count¶
Frames transmitted
The documentation for this class was generated from the following file src/syntropic/drivers/syn_can.h