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

Structure holding the parameters for SPI initialization. More...

#include <no_os_spi.h>

Collaboration diagram for no_os_spi_init_param:
Collaboration graph
[legend]

Public Attributes

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
 
const struct no_os_spi_platform_opsplatform_ops
 
void * extra
 

Detailed Description

Structure holding the parameters for SPI initialization.

Member Data Documentation

◆ bit_order

enum no_os_spi_bit_order no_os_spi_init_param::bit_order

SPI bit order

◆ chip_select

uint8_t no_os_spi_init_param::chip_select

SPI chip select

◆ device_id

uint32_t no_os_spi_init_param::device_id

Device ID

◆ extra

void* no_os_spi_init_param::extra

SPI extra parameters (device specific)

◆ max_speed_hz

uint32_t no_os_spi_init_param::max_speed_hz

maximum transfer speed

◆ mode

enum no_os_spi_mode no_os_spi_init_param::mode

SPI mode

◆ platform_ops

const struct no_os_spi_platform_ops* no_os_spi_init_param::platform_ops

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