target/linux/at91/image/dfboot/src/include/lib_AT91RM9200.h
//*----------------------------------------------------------------------------
//* \fn    AT91F_SPI_CfgCs
//* \brief Configure SPI chip select register
//*----------------------------------------------------------------------------
\fn    AT91F_SPI_CfgCs
\brief Configure SPI chip select register
\ fn AT91F_SPI_CfgCs \ brief Configure SPI chip select register
static inline void AT91F_SPI_CfgCs (
	int cs,     
 	int val)   
{
	*(AT91C_SPI_CSR + cs) = val;
}
static inline void AT91F_SPI_CfgCs ( int cs , int val ) { * ( AT91C_SPI_CSR + cs ) = val ; }
\fn    AT91F_SPI_CfgCs
\brief Configure SPI chip select register
\ fn AT91F_SPI_CfgCs \ brief Configure SPI chip select register
// SPI cs number (0 to 3) //  chip select register //* Write to the CSR register