Data Fields
app_spi_params_t Struct Reference
Peripheral Driver » APP DRIVER » SPI » Structures

SPI parameters structure definition. More...

`#include <app_spi.h>`

## Data Fields
app_spi_id_t | id
app_spi_pin_cfg_t | pin_cfg
app_spi_mode_t | use_mode
spi_init_t | init
uint32_t | rx_sample_delay

## Detailed Description

SPI parameters structure definition.

## Field Documentation

## ◆ id

app_spi_id_t app_spi_params_t::id

specified SPI module ID.

## ◆ init

spi_init_t app_spi_params_t::init

SPI communication parameters.

## ◆ pin_cfg

app_spi_pin_cfg_t app_spi_params_t::pin_cfg

the pin configuration information for the specified SPI module.

## ◆ rx_sample_delay

uint32_t app_spi_params_t::rx_sample_delay

Specifies the RX sample delay. It is used to delay the sample of the RX input port. This parameter can be a number between 0 and 0x7

## ◆ use_mode

app_spi_mode_t app_spi_params_t::use_mode

SPI operate mode.

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

- app_spi.h
- app_spi_v2.h