_NUTSPINODE Struct Reference

SPI node structure. More...

Collaboration diagram for _NUTSPINODE:

Collaboration graph
[legend]

Data Fields

NUTSPIBUSnode_bus
 Pointer to the bus controller driver.
void * node_stat
 Pointer to the bus driver's device control block.
uint_fast32_t node_rate
 SPI clock rate.
uint_fast16_t node_mode
 SPI mode.
uint_fast8_t node_bits
 SPI data bits.
uint_fast8_t node_cs
 Chip select.

Detailed Description

SPI node structure.

Definition at line 138 of file spibus.h.


Field Documentation

NUTSPIBUS* _NUTSPINODE::node_bus

Pointer to the bus controller driver.

Dynamically set when registering the SPI device.

Definition at line 143 of file spibus.h.

Referenced by At91SpiBus0Deselect(), At91SpiBus0Select(), At91SpiBus0Transfer(), At91SpiBusNodeInit(), At91SpiBusWait(), At91SpiSetup(), AvrSpiBus0Deselect(), AvrSpiBus0NodeInit(), AvrSpiBus0Select(), GpioSpiBus0Deselect(), GpioSpiBus0Select(), and NutRegisterSpiDevice().

void* _NUTSPINODE::node_stat

Pointer to the bus driver's device control block.

Dynamically set during bus_initnode().

Definition at line 149 of file spibus.h.

Referenced by At91SpiBus0Select(), At91SpiBusNodeInit(), At91SpiSetup(), AvrSpiBus0NodeInit(), AvrSpiBus0Select(), AvrSpiSetup(), GpioSpiBus0NodeInit(), GpioSpiBus0Select(), and GpioSpiBus0Transfer().

uint_fast32_t _NUTSPINODE::node_rate

SPI clock rate.

Statically configured, but may change dynamically.

Definition at line 155 of file spibus.h.

Referenced by At91SpiSetup(), AvrSpiSetup(), GpioSpiSetup(), and NutSpiBusSetRate().

uint_fast16_t _NUTSPINODE::node_mode

SPI mode.

Statically configured, but may change dynamically.

Definition at line 161 of file spibus.h.

Referenced by At91SpiBus0Deselect(), At91SpiBus0Select(), At91SpiBusNodeInit(), At91SpiSetup(), AvrSpiBus0Deselect(), AvrSpiBus0NodeInit(), AvrSpiBus0Select(), AvrSpiSetup(), GpioSpiBus0Deselect(), GpioSpiBus0NodeInit(), GpioSpiBus0Select(), GpioSpiBus0Transfer(), GpioSpiSetup(), NutSpiBusSetBits(), NutSpiBusSetMode(), and NutSpiBusSetRate().

uint_fast8_t _NUTSPINODE::node_bits

SPI data bits.

Statically configured, but may change dynamically.

Definition at line 167 of file spibus.h.

Referenced by At91SpiSetup(), GpioSpiSetup(), and NutSpiBusSetBits().

uint_fast8_t _NUTSPINODE::node_cs

Chip select.

Dynamically set when registering the SPI device.

Definition at line 173 of file spibus.h.

Referenced by At91SpiBus0Deselect(), At91SpiBus0Select(), At91SpiBusNodeInit(), AvrSpiBus0Deselect(), AvrSpiBus0NodeInit(), AvrSpiBus0Select(), GpioSpiBus0Deselect(), GpioSpiBus0NodeInit(), GpioSpiBus0Select(), and NutRegisterSpiDevice().


The documentation for this struct was generated from the following file:
© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/