Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
hal_i2c_master_t Struct Reference

I2C Master HAL context structure, consisted of the following fields : More...

#include <baremetal/mikrosdk-lib/hal/include/hal_i2c_master.h>

Collaboration diagram for hal_i2c_master_t:

Public Attributes

handle_t handle
 I2C Master HAL handle. More...
 
hal_i2c_master_config_t config
 I2C Master HAL configuration structure. More...
 

Detailed Description

I2C Master HAL context structure, consisted of the following fields :

I2C Master HAL context structure, used by every other function later on.

Note
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

// I2C master HAL driver context structure.
static hal_i2c_master_t hal_i2c_master;
I2C Master HAL context structure, consisted of the following fields :
Definition: hal_i2c_master.h:154

Member Data Documentation

◆ config

hal_i2c_master_config_t hal_i2c_master_t::config

I2C Master HAL configuration structure.

◆ handle

handle_t hal_i2c_master_t::handle

I2C Master HAL handle.


The documentation for this struct was generated from the following file: