no-OS
|
Structure holding SPI descriptor. More...
#include <no_os_spi.h>
Public Attributes | |
struct no_os_spibus_desc * | bus |
uint32_t | device_id |
uint32_t | max_speed_hz |
uint8_t | chip_select |
enum no_os_spi_mode | mode |
enum no_os_spi_bit_order | bit_order |
enum no_os_spi_lanes | lanes |
const struct no_os_spi_platform_ops * | platform_ops |
struct no_os_platform_spi_delays | platform_delays |
void * | extra |
struct no_os_spi_desc * | parent |
Structure holding SPI descriptor.
Structure initialization with the platform specific SPI functions.
enum no_os_spi_bit_order no_os_spi_desc::bit_order |
SPI bit order
struct no_os_spibus_desc* no_os_spi_desc::bus |
SPI bus address
uint8_t no_os_spi_desc::chip_select |
SPI chip select
uint32_t no_os_spi_desc::device_id |
SPI bus number (0 for SPI0, 1 for SPI1, ...)
void* no_os_spi_desc::extra |
SPI extra parameters (device specific)
enum no_os_spi_lanes no_os_spi_desc::lanes |
SPI Lanes
uint32_t no_os_spi_desc::max_speed_hz |
maximum transfer speed
enum no_os_spi_mode no_os_spi_desc::mode |
SPI mode
struct no_os_spi_desc* no_os_spi_desc::parent |
Parent of the device
struct no_os_platform_spi_delays no_os_spi_desc::platform_delays |
SPI delays
const struct no_os_spi_platform_ops* no_os_spi_desc::platform_ops |
SPI bus platform ops