ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

Defines | Typedefs | Functions

at91sam7_mii.h File Reference

AT91SAM7 low level MII driver header. More...

Go to the source code of this file.

Defines

#define PHY_HARDWARE   PHY_MICREL_KS8721
 PHY manufacturer and model.
#define PHY_ADDRESS   1
 Pins latched by the PHY at reset.

Typedefs

typedef uint16_t phyreg_t
 Type of a PHY register value.
typedef uint8_t phyaddr_t
 Type of a PHY register address.

Functions

void miiInit (void)
 Low level MII driver initialization.
void miiReset (MACDriver *macp)
 Resets a PHY device.
phyreg_t miiGet (MACDriver *macp, phyaddr_t addr)
 Reads a PHY register through the MII interface.
void miiPut (MACDriver *macp, phyaddr_t addr, phyreg_t value)
 Writes a PHY register through the MII interface.

Detailed Description

AT91SAM7 low level MII driver header.

Definition in file at91sam7_mii.h.


Generated on Sun Oct 24 2010 09:40:38 for ChibiOS/RT by doxygen 1.7.1