Goodix
GR551x API Reference  V1_6_06_B5676
app_spi_params_t Struct Reference

SPI parameters structure definition. More...

#include <app_spi.h>

+ Collaboration diagram for app_spi_params_t:

Public Attributes

app_spi_id_t id
 specified SPI module ID. More...
 
app_spi_pin_cfg_t pin_cfg
 the pin configuration information for the specified SPI module. More...
 
app_spi_mode_t use_mode
 SPI operate mode. More...
 
spi_init_t init
 SPI communication parameters. More...
 
uint32_t rx_sample_delay
 Specifies the RX sample delay. More...
 

Detailed Description

SPI parameters structure definition.

Definition at line 156 of file app_spi.h.

Member Data Documentation

◆ id

app_spi_id_t app_spi_params_t::id

specified SPI module ID.


Definition at line 158 of file app_spi.h.

◆ init

spi_init_t app_spi_params_t::init

SPI communication parameters.


Definition at line 161 of file app_spi.h.

◆ pin_cfg

app_spi_pin_cfg_t app_spi_params_t::pin_cfg

the pin configuration information for the specified SPI module.

Definition at line 159 of file app_spi.h.

◆ 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

Definition at line 170 of file app_spi_v2.h.

◆ use_mode

app_spi_mode_t app_spi_params_t::use_mode

SPI operate mode.


Definition at line 160 of file app_spi.h.


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