no-OS
Public Attributes | List of all members
spi_desc Struct Reference

Structure holding SPI descriptor. More...

#include <spi.h>

Collaboration diagram for spi_desc:
Collaboration graph
[legend]

Public Attributes

uint32_t device_id
 
uint32_t max_speed_hz
 
uint8_t chip_select
 
enum spi_mode mode
 
enum spi_bit_order bit_order
 
const struct spi_platform_opsplatform_ops
 
void * extra
 

Detailed Description

Structure holding SPI descriptor.

Structure initialization with the platform specific SPI functions.

Member Data Documentation

◆ bit_order

enum spi_bit_order spi_desc::bit_order

SPI bit order

◆ chip_select

uint8_t spi_desc::chip_select

SPI chip select

◆ device_id

uint32_t spi_desc::device_id

Device ID

◆ extra

void* spi_desc::extra

SPI extra parameters (device specific)

◆ max_speed_hz

uint32_t spi_desc::max_speed_hz

maximum transfer speed

◆ mode

enum spi_mode spi_desc::mode

SPI mode

◆ platform_ops

const struct spi_platform_ops* spi_desc::platform_ops

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