target/linux/at91/image/dfboot/src/include/lib_AT91RM9200.h
//*----------------------------------------------------------------------------
//* \fn    AT91F_PDC_Close
//* \brief Close PDC: disable TX and RX reset transfer descriptors
//*----------------------------------------------------------------------------
\fn    AT91F_PDC_Close
\brief Close PDC: disable TX and RX reset transfer descriptors
\ fn AT91F_PDC_Close \ brief Close PDC : disable TX and RX reset transfer descriptors
static inline void AT91F_PDC_Close (
	AT91PS_PDC pPDC)       
{
	AT91F_PDC_DisableRx(pPDC);
	AT91F_PDC_DisableTx(pPDC);
	AT91F_PDC_SetNextTx(pPDC, (char *) 0, 0);
	AT91F_PDC_SetNextRx(pPDC, (char *) 0, 0);
	AT91F_PDC_SetTx(pPDC, (char *) 0, 0);
	AT91F_PDC_SetRx(pPDC, (char *) 0, 0);
}
static inline void AT91F_PDC_Close ( AT91PS_PDC pPDC ) { AT91F_PDC_DisableRx ( pPDC ) ; AT91F_PDC_DisableTx ( pPDC ) ; AT91F_PDC_SetNextTx ( pPDC , ( char * ) 0 , 0 ) ; AT91F_PDC_SetNextRx ( pPDC , ( char * ) 0 , 0 ) ; AT91F_PDC_SetTx ( pPDC , ( char * ) 0 , 0 ) ; AT91F_PDC_SetRx ( pPDC , ( char * ) 0 , 0 ) ; }
\fn    AT91F_PDC_Close
\brief Close PDC: disable TX and RX reset transfer descriptors
\ fn AT91F_PDC_Close \ brief Close PDC : disable TX and RX reset transfer descriptors
// \arg pointer to a PDC controller //* Disable the RX and TX PDC transfer requests //* Reset all Counter register Next buffer first