ChibiOS/HAL  6.1.0
hal_mac.c File Reference

MAC Driver code. More...

#include "hal.h"

Go to the source code of this file.

Functions

void macInit (void)
 MAC Driver initialization. More...
 
void macObjectInit (MACDriver *macp)
 Initialize the standard part of a MACDriver structure. More...
 
void macStart (MACDriver *macp, const MACConfig *config)
 Configures and activates the MAC peripheral. More...
 
void macStop (MACDriver *macp)
 Deactivates the MAC peripheral. More...
 
msg_t macWaitTransmitDescriptor (MACDriver *macp, MACTransmitDescriptor *tdp, sysinterval_t timeout)
 Allocates a transmission descriptor. More...
 
void macReleaseTransmitDescriptor (MACTransmitDescriptor *tdp)
 Releases a transmit descriptor and starts the transmission of the enqueued data as a single frame. More...
 
msg_t macWaitReceiveDescriptor (MACDriver *macp, MACReceiveDescriptor *rdp, sysinterval_t timeout)
 Waits for a received frame. More...
 
void macReleaseReceiveDescriptor (MACReceiveDescriptor *rdp)
 Releases a receive descriptor. More...
 
bool macPollLinkStatus (MACDriver *macp)
 Updates and returns the link status. More...
 

Detailed Description

MAC Driver code.

Definition in file hal_mac.c.