target/linux/at91/image/dfboot/src/include/lib_AT91RM9200.h
//*----------------------------------------------------------------------------
//* \fn    AT91F_PIO_CfgOpendrain
//* \brief Configure PIO in open drain
//*----------------------------------------------------------------------------
\fn    AT91F_PIO_CfgOpendrain
\brief Configure PIO in open drain
\ fn AT91F_PIO_CfgOpendrain \ brief Configure PIO in open drain
static inline void AT91F_PIO_CfgOpendrain(
	AT91PS_PIO pPio,             
	unsigned int multiDrvEnable) 
{
	pPio->PIO_MDDR = ~multiDrvEnable;
	pPio->PIO_MDER = multiDrvEnable;
}
static inline void AT91F_PIO_CfgOpendrain ( AT91PS_PIO pPio , unsigned int multiDrvEnable ) { pPio -> PIO_MDDR = ~ multiDrvEnable ; pPio -> PIO_MDER = multiDrvEnable ; }
\fn    AT91F_PIO_CfgOpendrain
\brief Configure PIO in open drain
\ fn AT91F_PIO_CfgOpendrain \ brief Configure PIO in open drain
// \arg pointer to a PIO controller // \arg pio to be configured in open drain // Configure the multi-drive option