target/linux/at91/image/dfboot/src/include/lib_AT91RM9200.h
//*----------------------------------------------------------------------------
//* \fn    AT91F_MCI_CfgPIO
//* \brief Configure PIO controllers to drive MCI signals
//*----------------------------------------------------------------------------
\fn    AT91F_MCI_CfgPIO
\brief Configure PIO controllers to drive MCI signals
\ fn AT91F_MCI_CfgPIO \ brief Configure PIO controllers to drive MCI signals
static inline void AT91F_MCI_CfgPIO (void)
{
	AT91F_PIO_CfgPeriph(
		AT91C_BASE_PIOA, 
		((unsigned int) AT91C_PA28_MCCDA   ) |
		((unsigned int) AT91C_PA29_MCDA0   ) |
		((unsigned int) AT91C_PA27_MCCK    ), 
		0); 
	AT91F_PIO_CfgPeriph(
		AT91C_BASE_PIOB, 
		0, 
		((unsigned int) AT91C_PB5_MCDA3   ) |
		((unsigned int) AT91C_PB3_MCDA1   ) |
		((unsigned int) AT91C_PB4_MCDA2   )); 
}
static inline void AT91F_MCI_CfgPIO ( void ) { AT91F_PIO_CfgPeriph ( AT91C_BASE_PIOA , ( ( unsigned int ) AT91C_PA28_MCCDA ) | ( ( unsigned int ) AT91C_PA29_MCDA0 ) | ( ( unsigned int ) AT91C_PA27_MCCK ) , 0 ) ; AT91F_PIO_CfgPeriph ( AT91C_BASE_PIOB , 0 , ( ( unsigned int ) AT91C_PB5_MCDA3 ) | ( ( unsigned int ) AT91C_PB3_MCDA1 ) | ( ( unsigned int ) AT91C_PB4_MCDA2 ) ) ; }
\fn    AT91F_MCI_CfgPIO
\brief Configure PIO controllers to drive MCI signals
\ fn AT91F_MCI_CfgPIO \ brief Configure PIO controllers to drive MCI signals
// Configure PIO controllers to periph mode // PIO controller base address // Peripheral A // Peripheral B // Configure PIO controllers to periph mode // PIO controller base address // Peripheral A // Peripheral B