#include <spi.h>
Definition at line 72 of file spi.h.
Data Fields | |
unsigned int | baudrate |
Preferred baudrate for the SPI. | |
unsigned char | bits |
Number of bits in each character (8 to 16). | |
unsigned char | modfdis |
Disables the mode fault detection. | |
unsigned char | reg |
The SPI channel to set up. | |
unsigned char | spck_delay |
Delay before first clock pulse after selecting slave (in PBA clock periods). | |
unsigned char | spi_mode |
Which SPI mode to use when transmitting. | |
unsigned char | stay_act |
Sets this chip to stay active after last transfer to it. | |
unsigned char | trans_delay |
Delay between each transfer/character (in PBA clock periods). |
unsigned int spi_options_t::baudrate |
Preferred baudrate for the SPI.
Definition at line 78 of file spi.h.
Referenced by getBaudDiv(), init_spiMaster(), and init_spiSlave().
unsigned char spi_options_t::bits |
Number of bits in each character (8 to 16).
Definition at line 81 of file spi.h.
Referenced by init_spiMaster(), init_spiSlave(), and spi_setupChipReg().
unsigned char spi_options_t::modfdis |
Disables the mode fault detection.
With this bit cleared, the SPI master mode will disable itself if another master tries to address it.
Definition at line 98 of file spi.h.
Referenced by init_spiMaster(), init_spiSlave(), and spi_initMaster().
unsigned char spi_options_t::reg |
The SPI channel to set up.
Definition at line 75 of file spi.h.
Referenced by at45dbx_init(), init_spiMaster(), init_spiSlave(), and spi_setupChipReg().
unsigned char spi_options_t::spck_delay |
Delay before first clock pulse after selecting slave (in PBA clock periods).
Definition at line 84 of file spi.h.
Referenced by init_spiMaster(), init_spiSlave(), and spi_setupChipReg().
unsigned char spi_options_t::spi_mode |
Which SPI mode to use when transmitting.
Definition at line 93 of file spi.h.
Referenced by init_spiMaster(), init_spiSlave(), and spi_setupChipReg().
unsigned char spi_options_t::stay_act |
Sets this chip to stay active after last transfer to it.
Definition at line 90 of file spi.h.
Referenced by init_spiMaster(), init_spiSlave(), and spi_setupChipReg().
unsigned char spi_options_t::trans_delay |
Delay between each transfer/character (in PBA clock periods).
Definition at line 87 of file spi.h.
Referenced by init_spiMaster(), init_spiSlave(), and spi_setupChipReg().