ChibiOS/HAL
6.1.0
|
Structure representing an CAN driver. More...
#include <hal_can_lld.h>
Data Fields | |
canstate_t | state |
Driver state. More... | |
const CANConfig * | config |
Current configuration data. More... | |
threads_queue_t | txqueue |
Transmission threads queue. More... | |
threads_queue_t | rxqueue |
Receive threads queue. More... | |
event_source_t | rxfull_event |
One or more frames become available. More... | |
event_source_t | txempty_event |
One or more transmission mailbox become available. More... | |
event_source_t | error_event |
A CAN bus error happened. More... | |
event_source_t | sleep_event |
Entering sleep state event. More... | |
event_source_t | wakeup_event |
Exiting sleep state event. More... | |
Structure representing an CAN driver.
Definition at line 150 of file hal_can_lld.h.
canstate_t CANDriver::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* CANDriver::config |
Current configuration data.
Definition at line 158 of file hal_can_lld.h.
Referenced by canObjectInit(), canStart(), and canStop().
threads_queue_t CANDriver::txqueue |
Transmission threads queue.
Definition at line 162 of file hal_can_lld.h.
Referenced by canObjectInit(), canStop(), and canTransmitTimeout().
threads_queue_t CANDriver::rxqueue |
Receive threads queue.
Definition at line 166 of file hal_can_lld.h.
Referenced by canObjectInit(), canReceiveTimeout(), and canStop().
event_source_t CANDriver::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 CANDriver::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 CANDriver::error_event |
A CAN bus error happened.
Definition at line 192 of file hal_can_lld.h.
Referenced by canObjectInit().
event_source_t CANDriver::sleep_event |
Entering sleep state event.
Definition at line 197 of file hal_can_lld.h.
Referenced by canObjectInit(), and canSleep().
event_source_t CANDriver::wakeup_event |
Exiting sleep state event.
Definition at line 201 of file hal_can_lld.h.
Referenced by canObjectInit(), and canWakeup().