File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
libraries/HAL_Drivers/drivers Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 3636#define RA_SCI_EVENT_ERROR BIT(3)
3737#define RA_SCI_EVENT_ALL BITS(0,3)
3838
39+ #ifdef SOC_SERIES_R7FA2E2
40+ #define R_IIC_MASTER_Open R_IIC_B_MASTER_Open
41+ #define R_IIC_MASTER_Write R_IIC_B_MASTER_Write
42+ #define R_IIC_MASTER_Read R_IIC_B_MASTER_Read
43+ #define R_IIC_MASTER_SlaveAddressSet R_IIC_B_MASTER_SlaveAddressSet
44+ #define R_IIC_MASTER_CallbackSet R_IIC_B_MASTER_CallbackSet
45+ #endif
46+
3947struct ra_i2c_handle
4048{
4149 struct rt_i2c_bus_device bus ;
Original file line number Diff line number Diff line change @@ -43,6 +43,16 @@ menu "Hardware Drivers Config"
4343 endif
4444 endif
4545
46+ menuconfig BSP_USING_HW_I2C
47+ bool "Enable hardware I2C BUS"
48+ default n
49+ select RT_USING_I2C
50+ if BSP_USING_HW_I2C
51+ config BSP_USING_HW_I2C0
52+ bool "Enable Hardware I2C0 BUS"
53+ default n
54+ endif
55+
4656 endmenu
4757
4858 menu "Board extended module Drivers"
You can’t perform that action at this time.
0 commit comments