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. |
SPI node structure.
Pointer to the bus controller driver.
Dynamically set when registering the SPI device.
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(), SpiMmcBlockWrite(), SpiMmcIOCtl(), Stm32Usart3BusDeselect(), Stm32Usart3BusSelect(), Stm32UsartBusNodeInit(), Stm32UsartBusTransfer(), Stm32UsartSpiSetup(), UFlashAttach(), and UFlashFormat().
void* _NUTSPINODE::node_stat |
Pointer to the bus driver's device control block.
Dynamically set during bus_initnode().
Referenced by At91SpiBus0Select(), At91SpiBusNodeInit(), At91SpiSetup(), Avr32SpiBus0Select(), Avr32SpiBus1Select(), Avr32SpiBusNodeInit(), Avr32SpiSetup(), AvrSpiBus0NodeInit(), AvrSpiBus0Select(), AvrSpiSetup(), GpioSpiBus0NodeInit(), GpioSpiBus0Select(), GpioSpiBus0Transfer(), GpioSpiBusSetRate(), SscSpiSetup(), Stm32Usart3BusSelect(), Stm32UsartBusNodeInit(), and Stm32UsartSpiSetup().
SPI clock rate.
Statically configured, but may change dynamically.
Referenced by At91SpiSetup(), Avr32SpiSetup(), AvrSpiSetup(), GpioSpiBusSetRate(), GpioSpiSetup(), NutSpiBusSetRate(), SscSpiSetup(), and Stm32UsartSpiSetup().
SPI mode.
Statically configured, but may change dynamically.
Referenced by At91SpiBus0Deselect(), At91SpiBus0Select(), At91SpiBusNodeInit(), At91SpiSetup(), Avr32SpiBus0Deselect(), Avr32SpiBus0Select(), Avr32SpiBus1Deselect(), Avr32SpiBus1Select(), Avr32SpiBusNodeInit(), Avr32SpiSetup(), AvrSpiBus0Deselect(), AvrSpiBus0NodeInit(), AvrSpiBus0Select(), AvrSpiSetup(), GpioSpiBus0Deselect(), GpioSpiBus0NodeInit(), GpioSpiBus0Select(), GpioSpiBus0Transfer(), GpioSpiBusSetRate(), GpioSpiSetup(), NplSpiBusSelect(), NutSpiBusSetBits(), NutSpiBusSetMode(), NutSpiBusSetRate(), SscSpiSetup(), Stm32Usart3BusDeselect(), Stm32Usart3BusSelect(), Stm32UsartBusNodeInit(), and Stm32UsartSpiSetup().
SPI data bits.
Statically configured, but may change dynamically.
Referenced by At91SpiSetup(), Avr32SpiBus0Transfer(), Avr32SpiBus1Transfer(), Avr32SpiSetup(), GpioSpiSetup(), NutSpiBusSetBits(), SscSpiSetup(), and Stm32UsartSpiSetup().
Chip select.
Dynamically set when registering the SPI device.
Referenced by At91SpiBus0Deselect(), At91SpiBus0Select(), At91SpiBusNodeInit(), Avr32SpiBus0Deselect(), Avr32SpiBus0Select(), Avr32SpiBus1Deselect(), Avr32SpiBus1Select(), Avr32SpiBusNodeInit(), AvrSpiBus0Deselect(), AvrSpiBus0NodeInit(), AvrSpiBus0Select(), GpioSpiBus0Deselect(), GpioSpiBus0NodeInit(), GpioSpiBus0Select(), NplSpiBusDeselect(), NplSpiBusNodeInit(), NplSpiBusSelect(), NutRegisterSpiDevice(), Stm32Usart3BusDeselect(), Stm32Usart3BusSelect(), and Stm32UsartBusNodeInit().
void* _NUTSPINODE::node_dcb |
Pointer to the node driver's device control block.
Statically configured in most cases.
Referenced by At45dNodeLock(), and At45dNodeUnlock().