I2C handle Structure definition.
More...
#include <hal_i2c.h>
I2C handle Structure definition.
Definition at line 188 of file hal_i2c.h.
◆ error_code
__IO uint32_t _i2c_handle::error_code |
◆ init
I2C communication parameters
Definition at line 192 of file hal_i2c.h.
◆ master_ack_count
__IO uint16_t _i2c_handle::master_ack_count |
I2C master acknowledge counter in master receive progress
Definition at line 200 of file hal_i2c.h.
◆ mode
I2C communication mode
Definition at line 216 of file hal_i2c.h.
◆ p_buffer
uint8_t* _i2c_handle::p_buffer |
Pointer to I2C transfer buffer
Definition at line 194 of file hal_i2c.h.
◆ p_dmarx
I2C Rx DMA handle parameters
Definition at line 212 of file hal_i2c.h.
◆ p_dmatx
I2C Tx DMA handle parameters
Definition at line 210 of file hal_i2c.h.
◆ p_instance
i2c_regs_t* _i2c_handle::p_instance |
I2C registers base address
Definition at line 190 of file hal_i2c.h.
◆ previous_state
__IO uint32_t _i2c_handle::previous_state |
I2C communication Previous state
Definition at line 205 of file hal_i2c.h.
◆ retention
uint32_t _i2c_handle::retention[13] |
I2C important register information.
Definition at line 220 of file hal_i2c.h.
◆ state
I2C communication state
Definition at line 214 of file hal_i2c.h.
◆ xfer_count
__IO uint16_t _i2c_handle::xfer_count |
I2C transfer counter
Definition at line 198 of file hal_i2c.h.
◆ xfer_isr
void(* _i2c_handle::xfer_isr) (struct _i2c_handle *p_i2c, uint32_t it_source, uint32_t abort_sources) |
I2C transfer IRQ handler function pointer
Definition at line 207 of file hal_i2c.h.
◆ xfer_options
__IO uint32_t _i2c_handle::xfer_options |
◆ xfer_size
uint16_t _i2c_handle::xfer_size |
The documentation for this struct was generated from the following file: