gos_spi_device_t Struct Reference

SPI slave context used by gos_spi_transfer() More...

Data Fields

gos_spi_t port
SPI peripheral used.
gos_gpio_t chip_select
GPIO of slave's chip select.
uint32_t speed
Master clock speed in hertz.
uint16_t flags
Slave flags.
uint8_t bits
Number of bits per frame.
bool lcd_bit8
Bit 8 setting in 9 bit LCD mode.

Detailed Description

SPI slave context used by gos_spi_transfer()