|
Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
API for I2C master HAL layer. More...


Go to the source code of this file.
Classes | |
| struct | hal_i2c_master_handle_register_t |
| struct | hal_i2c_master_config_t |
| I2C Master HAL init configuration structure, consisted of the following fields : More... | |
| struct | hal_i2c_master_t |
| I2C Master HAL context structure, consisted of the following fields : More... | |
Functions | |
| err_t | hal_i2c_master_open (handle_t *handle, bool hal_obj_open_state) |
| Open the I2C Master HAL object. More... | |
| void | hal_i2c_master_set_slave_address (handle_t *handle, hal_i2c_master_config_t *config) |
| Set I2C slave address. More... | |
| err_t | hal_i2c_master_write (handle_t handle, uint8_t *write_data_buf, size_t len_write_data) |
| Write data to the I2C bus. More... | |
| err_t | hal_i2c_master_read (handle_t handle, uint8_t *read_data_buf, size_t len_read_data) |
| Read data from the I2C bus. More... | |
| err_t | hal_i2c_master_write_then_read (handle_t handle, uint8_t *write_data_buf, size_t len_write_data, uint8_t *read_data_buf, size_t len_read_data) |
| Write data followed by read. More... | |
| err_t | hal_i2c_master_close (handle_t *handle) |
| Closes I2C Master HAL object. More... | |
| void | hal_i2c_master_configure_default (hal_i2c_master_config_t *config) |
| Configure I2C Master HAL configuration structure. More... | |
| err_t | hal_i2c_master_set_speed (handle_t *handle, hal_i2c_master_config_t *config) |
| Set I2C master module speed. More... | |
| void | hal_i2c_master_set_timeout (handle_t *handle, hal_i2c_master_config_t *config) |
| Set I2C master timeout value. More... | |
API for I2C master HAL layer.
| enum hal_i2c_master_err_t |
Predefined enum values for timeout occurrences.