Describes the capabilities of a SPI peripherals.
More...
#include <spi_api.h>
|
| uint32_t | minimum_frequency |
| | Minimum frequency supported must be set by target device and it will be assessed during testing.
|
| |
| uint32_t | maximum_frequency |
| | Maximum frequency supported must be set by target device and it will be assessed during testing.
|
| |
| uint32_t | word_length |
| | Each bit represents the corresponding word length.
|
| |
| uint16_t | slave_delay_between_symbols_ns |
| | specifies required number of ns between transmission of successive symbols in slave mode.
|
| |
| uint8_t | clk_modes |
| | specifies supported modes from spi_mode_t.
|
| |
| bool | support_slave_mode |
| | If true, the device can handle SPI slave mode using hardware management on the specified ssel pin.
|
| |
| bool | hw_cs_handle |
| | If true, in SPI master mode Chip Select can be handled by hardware.
|
| |
| bool | async_mode |
| | If true, in async mode is supported.
|
| |
| bool | tx_rx_buffers_equal_length |
| | If true, rx and tx buffers must have the same length.
|
| |
Describes the capabilities of a SPI peripherals.
Definition at line 97 of file spi_api.h.
◆ minimum_frequency
| uint32_t minimum_frequency |
Minimum frequency supported must be set by target device and it will be assessed during testing.
Definition at line 101 of file spi_api.h.
◆ maximum_frequency
| uint32_t maximum_frequency |
Maximum frequency supported must be set by target device and it will be assessed during testing.
Definition at line 105 of file spi_api.h.
◆ word_length
Each bit represents the corresponding word length.
lsb => 1bit, msb => 32bit.
Definition at line 107 of file spi_api.h.
◆ slave_delay_between_symbols_ns
| uint16_t slave_delay_between_symbols_ns |
specifies required number of ns between transmission of successive symbols in slave mode.
Definition at line 108 of file spi_api.h.
◆ clk_modes
specifies supported modes from spi_mode_t.
Each bit represents the corresponding mode.
Definition at line 109 of file spi_api.h.
◆ support_slave_mode
If true, the device can handle SPI slave mode using hardware management on the specified ssel pin.
Definition at line 110 of file spi_api.h.
◆ hw_cs_handle
If true, in SPI master mode Chip Select can be handled by hardware.
Definition at line 111 of file spi_api.h.
◆ async_mode
If true, in async mode is supported.
Definition at line 112 of file spi_api.h.
◆ tx_rx_buffers_equal_length
| bool tx_rx_buffers_equal_length |
If true, rx and tx buffers must have the same length.
Definition at line 113 of file spi_api.h.