18#ifndef __HAL_I2C_UTIL_H__
19#define __HAL_I2C_UTIL_H__
25#if VSF_HAL_USE_I2C == ENABLED
27#if defined(__VSF_I2C_UTIL_CLASS_IMPLEMENT)
28# undef __VSF_I2C_UTIL_CLASS_IMPLEMENT
29# define __VSF_CLASS_IMPLEMENT__
30#elif defined(__VSF_I2C_UTIL_CLASS_INHERIT__)
31# undef __VSF_I2C_UTIL_CLASS_INHERIT__
32# define __VSF_CLASS_INHERIT__
vsf_err_t
Definition __type.h:42
Definition vsf_i2c_util.h:42
struct ieee80211_ext_chansw_ie data
Definition ieee80211.h:80
unsigned short uint16_t
Definition lvgl.h:41
unsigned char uint8_t
Definition lvgl.h:40
#define vsf_class(__name)
Definition ooc_class.h:48
const i_spi_t vsf_spi_irq_mask_t irq_mask
Definition spi_interface.h:38
unsigned char uint_fast8_t
Definition stdint.h:23
unsigned short uint_fast16_t
Definition stdint.h:25
Definition vsf_template_i2c.h:334
vsf_err_t vsf_i2c_regacc_irqhandler(vsf_i2c_regacc_t *i2c_regacc, vsf_i2c_irq_mask_t irq_mask)
Definition vsf_i2c_util.c:33
vsf_err_t vsf_i2c_regacc(vsf_i2c_regacc_t *i2c_regacc, uint_fast8_t reg, bool is_read, uint8_t *data, uint_fast16_t datalen)
Definition vsf_i2c_util.c:57
vsf_i2c_irq_mask_t
Definition vsf_template_i2c.h:194