SSC SPI bus declarations. More...
#include <dev/spibus.h>
Go to the source code of this file.
Data Structures | |
struct | _AT91SSCREG |
Typedefs | |
typedef struct _AT91SSCREG | AT91SSCREG |
Functions | |
int | SscSpiSetup (NUTSPINODE *node) |
Update SPI settings. | |
Variables | |
NUTSPIBUS | spiBus0Ssc |
AT91 SSC SPI bus driver implementation structure. |
SSC SPI bus declarations.
* $Id$ *
typedef struct _AT91SSCREG AT91SSCREG |
int SscSpiSetup | ( | NUTSPINODE * | node | ) |
Update SPI settings.
References _AT91SSCREG::at91ssc_cmr, _AT91SSCREG::at91ssc_fmr, _NUTSPINODE::node_bits, _NUTSPINODE::node_mode, _NUTSPINODE::node_rate, _NUTSPINODE::node_stat, NUT_HWCLK_PERIPHERAL, NutClockGet, SPI_MODE_UPDATE, SSC_DATLEN_LSB, and SSC_MSBF.
AT91 SSC SPI bus driver implementation structure.