ChibiOS/HAL 9.0.0
|
Structure representing an CAN driver. More...
#include <hal_can_lld.h>
Data Fields | |
canstate_t | state |
Driver state. | |
const CANConfig * | config |
Current configuration data. | |
threads_queue_t | txqueue |
Transmission threads queue. | |
threads_queue_t | rxqueue |
Receive threads queue. | |
event_source_t | rxfull_event |
One or more frames become available. | |
event_source_t | txempty_event |
One or more transmission mailbox become available. | |
event_source_t | error_event |
A CAN bus error happened. | |
event_source_t | sleep_event |
Entering sleep state event. | |
event_source_t | wakeup_event |
Exiting sleep state event. |
Structure representing an CAN driver.
Definition at line 150 of file hal_can_lld.h.
canstate_t hal_can_driver::state |
Driver state.
Definition at line 154 of file hal_can_lld.h.
Referenced by can_lld_start(), can_lld_stop(), canObjectInit(), canReceiveTimeout(), canSleep(), canStart(), canStop(), canTransmitTimeout(), canTryReceiveI(), canTryTransmitI(), and canWakeup().
const CANConfig* hal_can_driver::config |
Current configuration data.
Definition at line 158 of file hal_can_lld.h.
Referenced by canObjectInit(), canStart(), and canStop().
threads_queue_t hal_can_driver::txqueue |
Transmission threads queue.
Definition at line 162 of file hal_can_lld.h.
Referenced by canObjectInit(), canStop(), and canTransmitTimeout().
threads_queue_t hal_can_driver::rxqueue |
Receive threads queue.
Definition at line 166 of file hal_can_lld.h.
Referenced by canObjectInit(), canReceiveTimeout(), and canStop().
event_source_t hal_can_driver::rxfull_event |
One or more frames become available.
chReceive()
when listening to this event. This behavior minimizes the interrupt served by the system because CAN traffic. Definition at line 180 of file hal_can_lld.h.
Referenced by canObjectInit().
event_source_t hal_can_driver::txempty_event |
One or more transmission mailbox become available.
Definition at line 186 of file hal_can_lld.h.
Referenced by canObjectInit().
event_source_t hal_can_driver::error_event |
A CAN bus error happened.
Definition at line 192 of file hal_can_lld.h.
Referenced by canObjectInit().
event_source_t hal_can_driver::sleep_event |
Entering sleep state event.
Definition at line 197 of file hal_can_lld.h.
Referenced by canObjectInit(), and canSleep().
event_source_t hal_can_driver::wakeup_event |
Exiting sleep state event.
Definition at line 201 of file hal_can_lld.h.
Referenced by canObjectInit(), and canWakeup().