AVR specific SPI bus declarations. More...
#include <dev/spibus.h>Go to the source code of this file.
Data Structures | |
| struct | _AVRSPIREG |
Typedefs | |
| typedef struct _AVRSPIREG | AVRSPIREG |
Functions | |
| int | AvrSpiSetup (NUTSPINODE *node) |
| Update SPI shadow registers. | |
Variables | |
| NUTSPIBUS | spiBus0Avr |
| AVR SPI bus driver implementation structure. | |
AVR specific SPI bus declarations.
* $Id: spibus_avr.h 4470 2012-08-20 14:06:43Z haraldkipp $ *
| typedef struct _AVRSPIREG AVRSPIREG |
| int AvrSpiSetup | ( | NUTSPINODE * | node | ) |
Update SPI shadow registers.
References _BV, _AVRSPIREG::avrspi_spcr, _NUTSPINODE::node_mode, _NUTSPINODE::node_rate, _NUTSPINODE::node_stat, NUT_HWCLK_PERIPHERAL, NutClockGet, SPI_MODE_3, and SPI_MODE_UPDATE.
Referenced by AvrSpiBus0NodeInit(), and AvrSpiBus0Select().
AVR SPI bus driver implementation structure.