24#ifndef __HAL_DRIVER_COMMON_I2C_MERGER_REQUEST_H__
25#define __HAL_DRIVER_COMMON_I2C_MERGER_REQUEST_H__
31#if (VSF_HAL_USE_I2C == ENABLED) && (VSF_HAL_USE_MERGER_REQUEST_I2C == ENABLED)
33#if defined(__VSF_I2C_MERGER_REQUEST_CLASS_IMPLEMENT)
34# undef __VSF_I2C_MERGER_REQUEST_CLASS_IMPLEMENT
35# define __VSF_CLASS_IMPLEMENT__
42#ifndef VSF_MREQUEST_I2C_CFG_REQEUST_BUFFER_SIZE
43# define VSF_MREQUEST_I2C_CFG_REQEUST_BUFFER_SIZE 3
46#ifndef VSF_MREQUEST_I2C_CFG_MULTI_CLASS
47# define VSF_MREQUEST_I2C_CFG_MULTI_CLASS VSF_I2C_CFG_MULTI_CLASS
53#if VSF_MREQUEST_I2C_CFG_MULTI_CLASS == ENABLED
54# define __describe_mrequest_i2c_op() .op = &vsf_mrequest_i2c_op,
56# define __describe_mrequest_i2c_op()
59#define __describe_mrequest_i2c(__name, __real_i2c) \
60 vsf_mrequest_i2c_t __name = { \
61 __describe_mrequest_i2c_op() \
62 .i2c_ptr = __real_i2c, \
65#define describe_mrequest_i2c(__name, __real_i2c) \
66 __describe_mrequest_i2c(__name, __real_i2c)
95#define VSF_I2C_CFG_DEC_PREFIX vsf_mrequest
96#define VSF_I2C_CFG_DEC_UPCASE_PREFIX VSF_MREQUEST
97#define VSF_I2C_CFG_DEC_EXTERN_OP ENABLED
#define ENABLED
Definition __type.h:28
Definition mrequest_i2c.h:71
vsf_i2c_cmd_t
Definition i2c.h:32
unsigned short uint16_t
Definition lvgl.h:41
unsigned char uint8_t
Definition lvgl.h:40
#define VSF_MREQUEST_I2C_CFG_REQEUST_BUFFER_SIZE
Definition mrequest_i2c.h:43
#define VSF_MREQUEST_I2C_CFG_MULTI_CLASS
Definition mrequest_i2c.h:47
#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
i2c configuration
Definition vsf_template_i2c.h:314
Definition vsf_template_i2c.h:334
vsf_i2c_irq_mask_t
Definition vsf_template_i2c.h:194