monoZ docs
MZ_I2CX Struct Reference

Structure for monoZ I2C events. More...

#include <MZ_i2c.h>

Data Fields

mzReg _reg_status
 
I2C_HandleTypeDef _handler
 
mzUint8 _enable
 
mzUint8_rx_buffer
 
mzUint32 _rx_buffer_size
 
mzUint8_tx_buffer
 
mzUint32 _tx_buffer_size
 
mzUint8 _rx_intr
 
mzUint8 _tx_intr
 
mzUint8 _dev_add
 
_i2c_api read
 
_i2c_api write
 
_i2c_api rx_intr_api
 
_i2c_api tx_intr_api
 
_i2c_api I2C_ev_call_back
 

Detailed Description

Structure for monoZ I2C events.

Definition at line 50 of file MZ_i2c.h.

Field Documentation

◆ _reg_status

mzReg _reg_status

I2C registration status

Definition at line 52 of file MZ_i2c.h.

◆ _handler

I2C_HandleTypeDef _handler

I2C low level handler

Definition at line 53 of file MZ_i2c.h.

◆ _enable

mzUint8 _enable

I2C enable flag

Definition at line 54 of file MZ_i2c.h.

◆ _rx_buffer

mzUint8* _rx_buffer

I2C RX buffer address

Definition at line 55 of file MZ_i2c.h.

◆ _rx_buffer_size

mzUint32 _rx_buffer_size

I2C RX buffer size

Definition at line 56 of file MZ_i2c.h.

◆ _tx_buffer

mzUint8* _tx_buffer

I2C TX buffer address

Definition at line 57 of file MZ_i2c.h.

◆ _tx_buffer_size

mzUint32 _tx_buffer_size

I2C TX buffer size

Definition at line 58 of file MZ_i2c.h.

◆ _rx_intr

mzUint8 _rx_intr

I2C RX interrupt enable flag

Definition at line 59 of file MZ_i2c.h.

◆ _tx_intr

mzUint8 _tx_intr

I2C TX interrupt enable flag

Definition at line 60 of file MZ_i2c.h.

◆ _dev_add

mzUint8 _dev_add

I2C Slave Address

Definition at line 61 of file MZ_i2c.h.

◆ read

_i2c_api read

I2C Read API

Definition at line 62 of file MZ_i2c.h.

◆ write

_i2c_api write

I2C Write API

Definition at line 63 of file MZ_i2c.h.

◆ rx_intr_api

_i2c_api rx_intr_api

I2C RX interrupt handler API

Definition at line 64 of file MZ_i2c.h.

◆ tx_intr_api

_i2c_api tx_intr_api

I2C TX interrupt handler API

Definition at line 65 of file MZ_i2c.h.

◆ I2C_ev_call_back

_i2c_api I2C_ev_call_back

I2C event callback API

Definition at line 67 of file MZ_i2c.h.


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