ChibiOS 21.11.4
|
MAC Driver code. More...
#include "hal.h"
Go to the source code of this file.
Functions | |
void | macInit (void) |
MAC Driver initialization. | |
void | macObjectInit (MACDriver *macp) |
Initialize the standard part of a MACDriver structure. | |
msg_t | macStart (MACDriver *macp, const MACConfig *config) |
Configures and activates the MAC peripheral. | |
void | macStop (MACDriver *macp) |
Deactivates the MAC peripheral. | |
eventflags_t | macGetAndClearEventsI (MACDriver *macp) |
Get and clears MAC event flags. | |
msg_t | macWaitTransmitDescriptor (MACDriver *macp, MACTransmitDescriptor *tdp, sysinterval_t timeout) |
Allocates a transmission descriptor. | |
msg_t | macWaitReceiveDescriptor (MACDriver *macp, MACReceiveDescriptor *rdp, sysinterval_t timeout) |
Waits for a received frame. | |
bool | macPollLinkStatus (MACDriver *macp) |
Updates and returns the link status. |
MAC Driver code.
Definition in file hal_mac.c.