#include <T32CM11_spi.h>
SPI settings struct - this is passed to tr_hal_spi_init
this contains SPI settings
tr_hal_spi_bit_size_t tr_hal_spi_settings_t::bit_size |
bool tr_hal_spi_settings_t::byte_swap |
tr_hal_gpio_pin_t tr_hal_spi_settings_t::chip_select_0 |
tr_hal_gpio_pin_t tr_hal_spi_settings_t::chip_select_1 |
tr_hal_gpio_pin_t tr_hal_spi_settings_t::chip_select_2 |
tr_hal_gpio_pin_t tr_hal_spi_settings_t::chip_select_3 |
tr_hal_gpio_pin_t tr_hal_spi_settings_t::clock_pin |
bool tr_hal_spi_settings_t::continuous_transfer |
tr_hal_spi_clock_rate_t tr_hal_spi_settings_t::controller_clock_rate |
bool tr_hal_spi_settings_t::cpha_bit |
bool tr_hal_spi_settings_t::cpol_bit |
uint16_t tr_hal_spi_settings_t::delay_in_clock_cycles |
bool tr_hal_spi_settings_t::enable_chip_interrupts |
bool tr_hal_spi_settings_t::enable_inter_transfer_delay |
tr_hal_spi_event_callback_t tr_hal_spi_settings_t::event_handler_fx |
tr_hal_int_pri_t tr_hal_spi_settings_t::interrupt_priority |
tr_hal_gpio_pin_t tr_hal_spi_settings_t::io_0_pin |
tr_hal_gpio_pin_t tr_hal_spi_settings_t::io_1_pin |
tr_hal_gpio_pin_t tr_hal_spi_settings_t::io_2_pin |
tr_hal_gpio_pin_t tr_hal_spi_settings_t::io_3_pin |
bool tr_hal_spi_settings_t::most_significant_bit_first |
uint8_t tr_hal_spi_settings_t::num_chip_select_pins |
uint16_t tr_hal_spi_settings_t::raw_tx_buff_length |
uint8_t * tr_hal_spi_settings_t::raw_tx_buffer |
tr_hal_spi_rx_watermark_level_t tr_hal_spi_settings_t::receive_watermark |
bool tr_hal_spi_settings_t::run_as_controller |
uint16_t tr_hal_spi_settings_t::rx_dma_buff_length |
uint8_t * tr_hal_spi_settings_t::rx_dma_buffer |
bool tr_hal_spi_settings_t::rx_dma_enabled |
tr_hal_spi_receive_callback_t tr_hal_spi_settings_t::rx_handler_function |
bool tr_hal_spi_settings_t::sdo_sdi_pins_crossed |
tr_hal_spi_mode_t tr_hal_spi_settings_t::spi_mode |
tr_hal_spi_tx_watermark_level_t tr_hal_spi_settings_t::transmit_watermark |
bool tr_hal_spi_settings_t::tx_dma_enabled |
bool tr_hal_spi_settings_t::wake_on_interrupt |