Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

spi_capabilities_t Struct Reference

spi_capabilities_t Struct Reference
[Hal]

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.
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.

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.

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

Definition at line 85 of file spi_api.h.

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.

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.

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

Definition at line 82 of file spi_api.h.

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.

uint32_t word_length

Each bit represents the corresponding word length.

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

Definition at line 81 of file spi_api.h.