SPI node structure. More...
#include <spibus.h>
Data Fields | |
NUTSPIBUS * | node_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. | |
void * | node_dcb |
Pointer to the node driver's device control block. |
Pointer to the bus controller driver.
Dynamically set when registering the SPI device.
Definition at line 143 of file spibus.h.
Referenced by At45dNodeStatus(), At45dNodeTransfer(), At91SpiBus0Deselect(), At91SpiBus0Select(), At91SpiBus0Transfer(), At91SpiBusNodeInit(), At91SpiSetup(), Avr32SpiBus0Deselect(), Avr32SpiBus0Select(), Avr32SpiBus0Transfer(), Avr32SpiBus1Deselect(), Avr32SpiBus1Select(), Avr32SpiBus1Transfer(), Avr32SpiBusNodeInit(), Avr32SpiBusWait(), Avr32SpiSetup(), AvrSpiBus0Deselect(), AvrSpiBus0NodeInit(), AvrSpiBus0Select(), GpioSpiBus0Deselect(), GpioSpiBus0Select(), NplSpiBusDeselect(), NplSpiBusSelect(), NutRegisterSpiDevice(), SpiMmcIOCtl(), UFlashAttach(), and UFlashFormat().
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(), Avr32SpiBus0Select(), Avr32SpiBus1Select(), Avr32SpiBusNodeInit(), Avr32SpiSetup(), AvrSpiBus0NodeInit(), AvrSpiBus0Select(), AvrSpiSetup(), GpioSpiBus0NodeInit(), GpioSpiBus0Select(), and GpioSpiBus0Transfer().
SPI clock rate.
Statically configured, but may change dynamically.
Definition at line 155 of file spibus.h.
Referenced by At91SpiSetup(), Avr32SpiSetup(), AvrSpiSetup(), GpioSpiSetup(), and NutSpiBusSetRate().
SPI mode.
Statically configured, but may change dynamically.
Definition at line 161 of file spibus.h.
Referenced by At91SpiBus0Deselect(), At91SpiBus0Select(), At91SpiBusNodeInit(), At91SpiSetup(), Avr32SpiBus0Deselect(), Avr32SpiBus0Select(), Avr32SpiBus1Deselect(), Avr32SpiBus1Select(), Avr32SpiBusNodeInit(), Avr32SpiSetup(), AvrSpiBus0Deselect(), AvrSpiBus0NodeInit(), AvrSpiBus0Select(), AvrSpiSetup(), GpioSpiBus0Deselect(), GpioSpiBus0NodeInit(), GpioSpiBus0Select(), GpioSpiBus0Transfer(), GpioSpiSetup(), NplSpiBusSelect(), NutSpiBusSetBits(), NutSpiBusSetMode(), and NutSpiBusSetRate().
SPI data bits.
Statically configured, but may change dynamically.
Definition at line 167 of file spibus.h.
Referenced by At91SpiSetup(), Avr32SpiSetup(), GpioSpiSetup(), and NutSpiBusSetBits().
Chip select.
Dynamically set when registering the SPI device.
Definition at line 173 of file spibus.h.
Referenced by At91SpiBus0Deselect(), At91SpiBus0Select(), At91SpiBusNodeInit(), Avr32SpiBus0Deselect(), Avr32SpiBus0Select(), Avr32SpiBus1Deselect(), Avr32SpiBus1Select(), Avr32SpiBusNodeInit(), AvrSpiBus0Deselect(), AvrSpiBus0NodeInit(), AvrSpiBus0Select(), GpioSpiBus0Deselect(), GpioSpiBus0NodeInit(), GpioSpiBus0Select(), NplSpiBusDeselect(), NplSpiBusNodeInit(), NplSpiBusSelect(), and NutRegisterSpiDevice().
void* _NUTSPINODE::node_dcb |
Pointer to the node driver's device control block.
Statically configured in most cases.
Definition at line 179 of file spibus.h.
Referenced by At45dNodeLock(), and At45dNodeUnlock().