Nut/OS  4.10.3
API Reference
_NUTSPINODE Struct Reference

SPI node structure. More...

#include <spibus.h>

Collaboration diagram for _NUTSPINODE:

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.
void * node_dcb
 Pointer to the node driver's device control block.

Detailed Description

SPI node structure.

Definition at line 138 of file spibus.h.


Field Documentation

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 data bits.

Statically configured, but may change dynamically.

Definition at line 167 of file spibus.h.

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

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().


The documentation for this struct was generated from the following file: