ChibiOS/HAL 9.0.0
|
Structure representing a MAC driver. More...
#include <hal_mac.h>
Data Fields | |
macstate_t | state |
Driver state. | |
const MACConfig * | config |
Current configuration data. | |
threads_queue_t | tdqueue |
Transmit threads queue. | |
threads_queue_t | rdqueue |
Receive threads queue. | |
event_source_t | es |
MAC events source. | |
eventflags_t | flags |
Locally held event flags for callback use. | |
maccb_t | cb |
Events callback. | |
void * | arg |
User argument. |
Structure representing a MAC driver.
macstate_t hal_mac_driver::state |
Driver state.
Definition at line 131 of file hal_mac.h.
Referenced by mac_lld_start(), mac_lld_stop(), macObjectInit(), macPollLinkStatus(), macStart(), macStop(), macWaitReceiveDescriptor(), and macWaitTransmitDescriptor().
const MACConfig* hal_mac_driver::config |
Current configuration data.
Definition at line 135 of file hal_mac.h.
Referenced by macObjectInit(), macStart(), and macStop().
threads_queue_t hal_mac_driver::tdqueue |
Transmit threads queue.
Definition at line 139 of file hal_mac.h.
Referenced by macObjectInit(), and macWaitTransmitDescriptor().
threads_queue_t hal_mac_driver::rdqueue |
Receive threads queue.
Definition at line 143 of file hal_mac.h.
Referenced by macObjectInit(), and macWaitReceiveDescriptor().
event_source_t hal_mac_driver::es |
eventflags_t hal_mac_driver::flags |
Locally held event flags for callback use.
Definition at line 153 of file hal_mac.h.
Referenced by macGetAndClearEventsI(), and macObjectInit().
maccb_t hal_mac_driver::cb |
Events callback.
NULL
. Definition at line 158 of file hal_mac.h.
Referenced by macObjectInit().
void* hal_mac_driver::arg |
User argument.
ethp
argument of the callback. Definition at line 163 of file hal_mac.h.
Referenced by macObjectInit().