Mistake on this page?
Report an issue in GitHub or email us
Data Fields
spi_capabilities_t Struct Reference

Describes the capabilities of a SPI peripherals. More...

#include <spi_api.h>

Data Fields

uint32_t minimum_frequency
 Minimum frequency supported must be set by target device and it will be assessed during testing. More...
 
uint32_t maximum_frequency
 Maximum frequency supported must be set by target device and it will be assessed during testing. More...
 
uint32_t word_length
 Each bit represents the corresponding word length. More...
 
uint16_t slave_delay_between_symbols_ns
 specifies required number of ns between transmission of successive symbols in slave mode. More...
 
uint8_t clk_modes
 specifies supported modes from spi_mode_t. More...
 
bool support_slave_mode
 If true, the device can handle SPI slave mode using hardware management on the specified ssel pin. More...
 
bool hw_cs_handle
 If true, in SPI master mode Chip Select can be handled by hardware. More...
 
bool async_mode
 If true, in async mode is supported. More...
 
bool tx_rx_buffers_equal_length
 If true, rx and tx buffers must have the same length. More...
 

Detailed Description

Describes the capabilities of a SPI peripherals.

Definition at line 71 of file spi_api.h.

Field Documentation

bool async_mode

If true, in async mode is supported.

Definition at line 86 of file spi_api.h.

uint8_t clk_modes

specifies supported modes from spi_mode_t.

Each bit represents the corresponding mode.

Definition at line 83 of file spi_api.h.

bool hw_cs_handle

If true, in SPI master mode Chip Select can be handled by hardware.

Definition at line 85 of file spi_api.h.

uint32_t maximum_frequency

Maximum frequency supported must be set by target device and it will be assessed during testing.

Definition at line 79 of file spi_api.h.

uint32_t minimum_frequency

Minimum frequency supported must be set by target device and it will be assessed during testing.

Definition at line 75 of file spi_api.h.

uint16_t slave_delay_between_symbols_ns

specifies required number of ns between transmission of successive symbols in slave mode.

Definition at line 82 of file spi_api.h.

bool support_slave_mode

If true, the device can handle SPI slave mode using hardware management on the specified ssel pin.

Definition at line 84 of file spi_api.h.

bool tx_rx_buffers_equal_length

If true, rx and tx buffers must have the same length.

Definition at line 87 of file spi_api.h.

uint32_t word_length

Each bit represents the corresponding word length.

lsb => 1bit, msb => 32bit.

Definition at line 81 of file spi_api.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.