spi.h
Go to the documentation of this file.
308 KSPIStatus kprv_spi_write_read(KSPINum spi, uint8_t * txBuffer, uint8_t * rxBuffer, uint32_t len);
Definition: spi.h:74
KSPIStatus kprv_spi_read(KSPINum spi, uint8_t *buffer, uint32_t len)
Low level hal spi read.
Definition: spi.h:129
Definition: spi.h:141
KSPIStatus k_spi_write(KSPINum spi, uint8_t *buffer, uint32_t len)
Write data over spi bus.
Definition: spi.h:96
Definition: spi.h:139
Definition: spi.h:142
KSPIConf k_spi_conf_defaults(void)
Definition: spi.h:122
Definition: spi.h:106
Definition: spi.h:130
Definition: spi.h:95
Definition: spi.h:69
Definition: spi.h:77
SPIDataSize data_size
The amount of data in each transmit/receive of the SPI bus.
Definition: spi.h:164
Definition: spi.h:114
Definition: spi.h:105
SPIDirection direction
The communication mode of the SPI bus.
Definition: spi.h:159
Definition: spi.h:71
Definition: spi.h:113
Definition: spi.h:97
Definition: spi.h:138
KSPIStatus kprv_spi_write_read(KSPINum spi, uint8_t *txBuffer, uint8_t *rxBuffer, uint32_t len)
Low level spi write & read.
KSPIStatus kprv_spi_write(KSPINum spi, uint8_t *buffer, uint32_t len)
Low level hal spi write.
SPIClockPolarity clock_polarity
The clock polarity of the SPI bus.
Definition: spi.h:177
Definition: spi.h:137
KSPIStatus k_spi_write_read(KSPINum spi, uint8_t *txBuffer, uint8_t *rxBuffer, uint32_t len)
Write and read data over spi bus.
SPIFirstBit first_bit
The bit ordering of the SPI bus communication.
Definition: spi.h:182
Definition: spi.h:140
Definition: spi.h:87
Definition: spi.h:121
Definition: spi.h:86