Description
Source
Call Graph
SPI_ConfigureNPCS
Configures a chip select of a SPI peripheral.


Syntax / parameters
void SPI_ConfigureNPCS (AT91S_SPI *spi, unsigned int npcs, unsigned int configuration)
|
Name |
Type |
Default |
Description |
spi |
AT91S_SPI *
|
|
Pointer to an AT91S_SPI instance.
|
npcs |
unsigned int
|
|
Chip select to configure (1, 2, 3 or 4).
|
configuration |
unsigned int
|
|
Desired chip select configuration.
|
Description
Configures a chip select of a SPI peripheral.
The chip select configuration is computed using the definition provided by the LibV3 (AT91C_SPI_*).
Source
The documentation for this Member was generated from the following files:
spi.c