target/linux/at91/image/dfboot/src/include/lib_AT91RM9200.h
//*----------------------------------------------------------------------------
//* \fn    AT91F_US1_CfgPIO
//* \brief Configure PIO controllers to drive US1 signals
//*----------------------------------------------------------------------------
\fn    AT91F_US1_CfgPIO
\brief Configure PIO controllers to drive US1 signals
\ fn AT91F_US1_CfgPIO \ brief Configure PIO controllers to drive US1 signals
static inline void AT91F_US1_CfgPIO (void)
{
	AT91F_PIO_CfgPeriph(
		AT91C_BASE_PIOB, 
		((unsigned int) AT91C_PB21_RXD1    ) |
		((unsigned int) AT91C_PB26_RTS1    ) |
		((unsigned int) AT91C_PB25_DSR1    ) |
		((unsigned int) AT91C_PB24_CTS1    ) |
		((unsigned int) AT91C_PB19_DTR1    ) |
		((unsigned int) AT91C_PB23_DCD1    ) |
		((unsigned int) AT91C_PB20_TXD1    ) |
		((unsigned int) AT91C_PB18_RI1     ), 
		0); 
}
static inline void AT91F_US1_CfgPIO ( void ) { AT91F_PIO_CfgPeriph ( AT91C_BASE_PIOB , ( ( unsigned int ) AT91C_PB21_RXD1 ) | ( ( unsigned int ) AT91C_PB26_RTS1 ) | ( ( unsigned int ) AT91C_PB25_DSR1 ) | ( ( unsigned int ) AT91C_PB24_CTS1 ) | ( ( unsigned int ) AT91C_PB19_DTR1 ) | ( ( unsigned int ) AT91C_PB23_DCD1 ) | ( ( unsigned int ) AT91C_PB20_TXD1 ) | ( ( unsigned int ) AT91C_PB18_RI1 ) , 0 ) ; }
\fn    AT91F_US1_CfgPIO
\brief Configure PIO controllers to drive US1 signals
\ fn AT91F_US1_CfgPIO \ brief Configure PIO controllers to drive US1 signals
// Configure PIO controllers to periph mode // PIO controller base address // Peripheral A // Peripheral B