mikroSDK Reference Manual
|
HAL SPI Master init configuration structure, consisted of the following fields : More...
Data Fields | |
uint8_t | default_write_data |
hal_pin_name_t | sck |
hal_pin_name_t | miso |
hal_pin_name_t | mosi |
uint32_t | speed |
hal_spi_master_mode_t | mode |
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::sck |
SCK pin name.
hal_pin_name_t hal_spi_master_config_t::miso |
MISO pin name.
hal_pin_name_t hal_spi_master_config_t::mosi |
MOSI pin name.
uint32_t hal_spi_master_config_t::speed |
SPI transfer rate.
hal_spi_master_mode_t hal_spi_master_config_t::mode |
SPI mode. See hal_spi_master_mode_t for valid values.