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...
 
uint8_t bit_order
 specifies supported bit order from spi_bit_ordering_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 half_duplex
 If true, the device also supports SPI transmissions using only 3 wires. 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...
 

Detailed Description

Describes the capabilities of a SPI peripherals.

Definition at line 142 of file spi_api.h.

Field Documentation

bool async_mode

If true, in async mode is supported.

Definition at line 159 of file spi_api.h.

uint8_t bit_order

specifies supported bit order from spi_bit_ordering_t.

Each bit represents the corresponding bit order.

Definition at line 155 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 154 of file spi_api.h.

bool half_duplex

If true, the device also supports SPI transmissions using only 3 wires.

Definition at line 157 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 158 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 150 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 146 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 153 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 156 of file spi_api.h.

uint32_t word_length

Each bit represents the corresponding word length.

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

Definition at line 152 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.