target/linux/at91/image/dfboot/src/include/lib_AT91RM9200.h
//*----------------------------------------------------------------------------
//* \fn    AT91F_PIO_CfgPeriph
//* \brief Enable pins to be drived by peripheral
//*----------------------------------------------------------------------------
\fn    AT91F_PIO_CfgPeriph
\brief Enable pins to be drived by peripheral
\ fn AT91F_PIO_CfgPeriph \ brief Enable pins to be drived by peripheral
static inline void AT91F_PIO_CfgPeriph(
	AT91PS_PIO pPio,             
	unsigned int periphAEnable,  
	unsigned int periphBEnable)  
{
	pPio->PIO_ASR = periphAEnable;
	pPio->PIO_BSR = periphBEnable;
	pPio->PIO_PDR = (periphAEnable | periphBEnable); 
}
static inline void AT91F_PIO_CfgPeriph ( AT91PS_PIO pPio , unsigned int periphAEnable , unsigned int periphBEnable ) { pPio -> PIO_ASR = periphAEnable ; pPio -> PIO_BSR = periphBEnable ; pPio -> PIO_PDR = ( periphAEnable | periphBEnable ) ; }
\fn    AT91F_PIO_CfgPeriph
\brief Enable pins to be drived by peripheral
\ fn AT91F_PIO_CfgPeriph \ brief Enable pins to be drived by peripheral
// \arg pointer to a PIO controller // \arg PERIPH A to enable // \arg PERIPH B to enable // Set in Periph mode