|
VSF Documented
|
Predefined VSF SPI capability that can be reimplemented in specific HAL drivers. Even if the hardware doesn't support these features, these capabilities must be kept. More...
#include <vsf_template_spi.h>
Public Member Functions | |
| inherit (vsf_peripheral_capability_t) vsf_spi_irq_mask_t irq_mask | |
| Inherit peripheral capabilities. | |
Data Fields | |
| uint8_t | support_hardware_cs: 1 |
| Supported interrupt masks for SPI operations. | |
| uint8_t | support_software_cs: 1 |
| Hardware chip select support (1: supported, 0: not supported) | |
| uint8_t | cs_count: 6 |
| Software chip select support (1: supported, 0: not supported) | |
| uint32_t | max_clock_hz |
| Number of available chip select lines (0-63) | |
| uint32_t | min_clock_hz |
| Maximum supported SPI clock frequency in Hz. | |
| vsf_spi_irq_mask_t | irq_mask |
| vsf_peripheral_capability_t | |
Predefined VSF SPI capability that can be reimplemented in specific HAL drivers. Even if the hardware doesn't support these features, these capabilities must be kept.
| vsf_spi_capability_t::inherit | ( | vsf_peripheral_capability_t | ) |
Inherit peripheral capabilities.
| uint8_t vsf_spi_capability_t::support_hardware_cs |
Supported interrupt masks for SPI operations.
| uint8_t vsf_spi_capability_t::support_software_cs |
Hardware chip select support (1: supported, 0: not supported)
| uint8_t vsf_spi_capability_t::cs_count |
Software chip select support (1: supported, 0: not supported)
| uint32_t vsf_spi_capability_t::max_clock_hz |
Number of available chip select lines (0-63)
| uint32_t vsf_spi_capability_t::min_clock_hz |
Maximum supported SPI clock frequency in Hz.
| vsf_spi_irq_mask_t vsf_spi_capability_t::irq_mask |
| vsf_spi_capability_t::vsf_peripheral_capability_t |