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 2610 2009-04-15 13:45:19Z haraldkipp $ *
Definition in file spibus_avr.h.
typedef struct _AVRSPIREG AVRSPIREG |
Definition at line 48 of file spibus_avr.h.
int AvrSpiSetup | ( | NUTSPINODE * | node | ) |
Update SPI shadow registers.
Definition at line 51 of file spibus_avr.c.
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.
Definition at line 498 of file spibus0avr.c.