mikroSDK Reference Manual
hal_spi_master_t Struct Reference

SPI master HAL context structure, consisted of the following fields : More...

Data Fields

handle_t handle
 
hal_spi_master_config_t config
 

Detailed Description

SPI master HAL context structure for storing driver internal state. The contents of the context structure are used by the module and must not be altered. Reading or writing data directly from a control structure by user should be avoided.

Example

// HAL SPI Master context structure.
static hal_spi_master_t hal_spi_master;

Field Documentation

◆ handle

handle_t hal_spi_master_t::handle

HAL SPI Master handle.

◆ config

hal_spi_master_config_t hal_spi_master_t::config

HAL SPI configuration structure.

hal_spi_master_t
SPI master HAL context structure, consisted of the following fields :
Definition: hal_spi_master.h:146