target/linux/at91/image/dfboot/src/include/lib_AT91RM9200.h
//*----------------------------------------------------------------------------
//* \fn    AT91F_EMAC_CfgPIO
//* \brief Configure PIO controllers to drive EMAC signals
//*----------------------------------------------------------------------------
\fn    AT91F_EMAC_CfgPIO
\brief Configure PIO controllers to drive EMAC signals
\ fn AT91F_EMAC_CfgPIO \ brief Configure PIO controllers to drive EMAC signals
static inline void AT91F_EMAC_CfgPIO (void)
{
	AT91F_PIO_CfgPeriph(
		AT91C_BASE_PIOA, 
		((unsigned int) AT91C_PA14_ERXER   ) |
		((unsigned int) AT91C_PA12_ERX0    ) |
		((unsigned int) AT91C_PA13_ERX1    ) |
		((unsigned int) AT91C_PA8_ETXEN   ) |
		((unsigned int) AT91C_PA16_EMDIO   ) |
		((unsigned int) AT91C_PA9_ETX0    ) |
		((unsigned int) AT91C_PA10_ETX1    ) |
		((unsigned int) AT91C_PA11_ECRS_ECRSDV) |
		((unsigned int) AT91C_PA15_EMDC    ) |
		((unsigned int) AT91C_PA7_ETXCK_EREFCK), 
		0); 
}
static inline void AT91F_EMAC_CfgPIO ( void ) { AT91F_PIO_CfgPeriph ( AT91C_BASE_PIOA , ( ( unsigned int ) AT91C_PA14_ERXER ) | ( ( unsigned int ) AT91C_PA12_ERX0 ) | ( ( unsigned int ) AT91C_PA13_ERX1 ) | ( ( unsigned int ) AT91C_PA8_ETXEN ) | ( ( unsigned int ) AT91C_PA16_EMDIO ) | ( ( unsigned int ) AT91C_PA9_ETX0 ) | ( ( unsigned int ) AT91C_PA10_ETX1 ) | ( ( unsigned int ) AT91C_PA11_ECRS_ECRSDV ) | ( ( unsigned int ) AT91C_PA15_EMDC ) | ( ( unsigned int ) AT91C_PA7_ETXCK_EREFCK ) , 0 ) ; }
\fn    AT91F_EMAC_CfgPIO
\brief Configure PIO controllers to drive EMAC signals
\ fn AT91F_EMAC_CfgPIO \ brief Configure PIO controllers to drive EMAC signals
// Configure PIO controllers to periph mode // PIO controller base address // Peripheral A // Peripheral B