target/linux/at91/image/dfboot/src/include/lib_AT91RM9200.h
//*----------------------------------------------------------------------------
//* \fn    AT91F_PIO_IsCfgPullupStatusSet
//* \brief Test if PIO Configuration Pullup Status is Set
//*----------------------------------------------------------------------------
\fn    AT91F_PIO_IsCfgPullupStatusSet
\brief Test if PIO Configuration Pullup Status is Set
\ fn AT91F_PIO_IsCfgPullupStatusSet \ brief Test if PIO Configuration Pullup Status is Set
static inline int AT91F_PIO_IsCfgPullupStatusSet(
        AT91PS_PIO pPio,   
        unsigned int flag) 
{
        return (~AT91F_PIO_GetCfgPullup(pPio) & flag);
}
static inline int AT91F_PIO_IsCfgPullupStatusSet ( AT91PS_PIO pPio , unsigned int flag ) { return ( ~ AT91F_PIO_GetCfgPullup ( pPio ) & flag ) ; }
\fn    AT91F_PIO_IsCfgPullupStatusSet
\brief Test if PIO Configuration Pullup Status is Set
\ fn AT91F_PIO_IsCfgPullupStatusSet \ brief Test if PIO Configuration Pullup Status is Set
// \arg  pointer to a PIO controller // \arg  flag to be tested