ChibiOS/HAL 9.0.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.
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.

Detailed Description

MAC Driver code.

Definition in file hal_mac.c.