27 #if (HAL_USE_MAC == TRUE) || defined(__DOXYGEN__)    44 #if !defined(MAC_USE_ZERO_COPY) || defined(__DOXYGEN__)    45 #define MAC_USE_ZERO_COPY           FALSE    51 #if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)    52 #define MAC_USE_EVENTS              TRUE    96 #if (MAC_USE_EVENTS == TRUE) || defined(__DOXYGEN__)    97 #define macGetReceiveEventSource(macp)  (&(macp)->rdevent)   113 #define macWriteTransmitDescriptor(tdp, buf, size)                          \   114     mac_lld_write_transmit_descriptor(tdp, buf, size)   128 #define macReadReceiveDescriptor(rdp, buf, size)                            \   129     mac_lld_read_receive_descriptor(rdp, buf, size)   131 #if (MAC_USE_ZERO_COPY == TRUE) || defined(__DOXYGEN__)   151 #define macGetNextTransmitBuffer(tdp, size, sizep)                          \   152   mac_lld_get_next_transmit_buffer(tdp, size, sizep)   168 #define macGetNextReceiveBuffer(rdp, sizep)                                 \   169   mac_lld_get_next_receive_buffer(rdp, sizep)   184   void macSetAddress(
MACDriver *macp, 
const uint8_t *p);
 void macReleaseReceiveDescriptor(MACReceiveDescriptor *rdp)
Releases a receive descriptor. 
 
msg_t macWaitTransmitDescriptor(MACDriver *macp, MACTransmitDescriptor *tdp, sysinterval_t timeout)
Allocates a transmission descriptor. 
 
uint64_t sysinterval_t
Type of time interval. 
 
void macStart(MACDriver *macp, const MACConfig *config)
Configures and activates the MAC peripheral. 
 
macstate_t
Driver state machine possible states. 
 
msg_t macWaitReceiveDescriptor(MACDriver *macp, MACReceiveDescriptor *rdp, sysinterval_t timeout)
Waits for a received frame. 
 
Structure representing a MAC driver. 
 
void macObjectInit(MACDriver *macp)
Initialize the standard part of a MACDriver structure. 
 
Structure representing a transmit descriptor. 
 
void macReleaseTransmitDescriptor(MACTransmitDescriptor *tdp)
Releases a transmit descriptor and starts the transmission of the enqueued data as a single frame...
 
bool macPollLinkStatus(MACDriver *macp)
Updates and returns the link status. 
 
const MACConfig * config
Current configuration data. 
 
PLATFORM MAC subsystem low level driver header. 
 
Driver configuration structure. 
 
Structure representing a receive descriptor. 
 
void macInit(void)
MAC Driver initialization. 
 
void macStop(MACDriver *macp)
Deactivates the MAC peripheral.