Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
HAL SPI Master init configuration structure, consisted of the following fields : More...
#include <baremetal/mikrosdk-lib/hal/include/hal_spi_master.h>
Public Attributes | |
uint8_t | default_write_data |
SPI Master default write data. More... | |
hal_pin_name_t | sck |
SCK pin name. More... | |
hal_pin_name_t | miso |
MISO pin name. More... | |
hal_pin_name_t | mosi |
MOSI pin name. More... | |
uint32_t | speed |
SPI transfer rate. More... | |
hal_spi_master_mode_t | mode |
SPI mode. More... | |
HAL SPI Master init configuration structure, consisted of the following fields :
User needs to specifiy values herein.
Example
uint8_t hal_spi_master_config_t::default_write_data |
SPI Master default write data.
hal_pin_name_t hal_spi_master_config_t::miso |
MISO pin name.
hal_spi_master_mode_t hal_spi_master_config_t::mode |
SPI mode.
See hal_spi_master_mode_t for valid values.
hal_pin_name_t hal_spi_master_config_t::mosi |
MOSI pin name.
hal_pin_name_t hal_spi_master_config_t::sck |
SCK pin name.
uint32_t hal_spi_master_config_t::speed |
SPI transfer rate.