ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

Functions

mac.c File Reference

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.

Detailed Description

MAC Driver code.

Definition in file mac.c.


Generated on Sun Nov 28 2010 14:09:50 for ChibiOS/RT by doxygen 1.7.1