ChibiOS/RT Architecture - Reference Manual - Guides |
MAC Driver code. More...
#include "ch.h"
#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. | |
void | macSetAddress (MACDriver *macp, const uint8_t *p) |
MAC address setup. | |
msg_t | macWaitTransmitDescriptor (MACDriver *macp, MACTransmitDescriptor *tdp, systime_t time) |
Allocates a transmission descriptor. | |
void | macReleaseTransmitDescriptor (MACTransmitDescriptor *tdp) |
Releases a transmit descriptor and starts the transmission of the enqueued data as a single frame. | |
msg_t | macWaitReceiveDescriptor (MACDriver *macp, MACReceiveDescriptor *rdp, systime_t time) |
Waits for a received frame. | |
void | macReleaseReceiveDescriptor (MACReceiveDescriptor *rdp) |
Releases a receive descriptor. | |
bool_t | macPollLinkStatus (MACDriver *macp) |
Updates and returns the link status. |
MAC Driver code.
Definition in file mac.c.