| /bsp/apm32/libraries/APM32F0xx_Library/APM32F0xx_StdPeriphDriver/src/ |
| A D | apm32f0xx_i2c.c | 73 void I2C_Reset(I2C_T* i2c) in I2C_Reset() 165 void I2C_Enable(I2C_T* i2c) in I2C_Enable() 177 void I2C_Disable(I2C_T* i2c) in I2C_Disable() 189 void I2C_SoftwareReset(I2C_T* i2c) in I2C_SoftwareReset() 440 void I2C_EnableAutoEnd(I2C_T* i2c) in I2C_EnableAutoEnd() 464 void I2C_EnableReload(I2C_T* i2c) in I2C_EnableReload() 476 void I2C_DisableReload(I2C_T* i2c) in I2C_DisableReload() 873 void I2C_EnablePEC(I2C_T* i2c) in I2C_EnablePEC() 885 void I2C_DisablePEC(I2C_T* i2c) in I2C_DisablePEC() 921 uint8_t I2C_ReadPEC(I2C_T* i2c) in I2C_ReadPEC() [all …]
|
| /bsp/apm32/libraries/APM32E10x_Library/APM32E10x_StdPeriphDriver/src/ |
| A D | apm32e10x_i2c.c | 49 void I2C_Reset(I2C_T* i2c) in I2C_Reset() 157 void I2C_Enable(I2C_T* i2c) in I2C_Enable() 169 void I2C_Disable(I2C_T* i2c) in I2C_Disable() 329 uint8_t I2C_RxData(I2C_T* i2c) in I2C_RxData() 530 void I2C_EnablePEC(I2C_T* i2c) in I2C_EnablePEC() 542 void I2C_DisablePEC(I2C_T* i2c) in I2C_DisablePEC() 554 uint8_t I2C_ReadPEC(I2C_T* i2c) in I2C_ReadPEC() 566 void I2C_EnableARP(I2C_T* i2c) in I2C_EnableARP() 578 void I2C_DisableARP(I2C_T* i2c) in I2C_DisableARP() 637 void I2C_EnableDMA(I2C_T* i2c) in I2C_EnableDMA() [all …]
|
| A D | apm32e10x_sci2c.c | 49 void SCI2C_Reset(SCI2C_T *i2c) in SCI2C_Reset() 416 void SCI2C_EnableRestart(SCI2C_T *i2c) in SCI2C_EnableRestart() 428 void SCI2C_DisableRestart(SCI2C_T *i2c) in SCI2C_DisableRestart() 496 void SCI2C_EnableMasterMode(SCI2C_T *i2c) in SCI2C_EnableMasterMode() 508 void SCI2C_DisableMasterMode(SCI2C_T *i2c) in SCI2C_DisableMasterMode() 520 void SCI2C_EnableSlaveMode(SCI2C_T *i2c) in SCI2C_EnableSlaveMode() 532 void SCI2C_DisableSlaveMode(SCI2C_T *i2c) in SCI2C_DisableSlaveMode() 590 uint8_t SCI2C_RxData(SCI2C_T *i2c) in SCI2C_RxData() 675 void SCI2C_Enable(SCI2C_T *i2c) in SCI2C_Enable() 687 void SCI2C_Disable(SCI2C_T *i2c) in SCI2C_Disable() [all …]
|
| /bsp/apm32/libraries/APM32F10x_Library/APM32F10x_StdPeriphDriver/src/ |
| A D | apm32f10x_i2c.c | 49 void I2C_Reset(I2C_T* i2c) in I2C_Reset() 157 void I2C_Enable(I2C_T* i2c) in I2C_Enable() 169 void I2C_Disable(I2C_T* i2c) in I2C_Disable() 329 uint8_t I2C_RxData(I2C_T* i2c) in I2C_RxData() 530 void I2C_EnablePEC(I2C_T* i2c) in I2C_EnablePEC() 542 void I2C_DisablePEC(I2C_T* i2c) in I2C_DisablePEC() 554 uint8_t I2C_ReadPEC(I2C_T* i2c) in I2C_ReadPEC() 566 void I2C_EnableARP(I2C_T* i2c) in I2C_EnableARP() 578 void I2C_DisableARP(I2C_T* i2c) in I2C_DisableARP() 637 void I2C_EnableDMA(I2C_T* i2c) in I2C_EnableDMA() [all …]
|
| A D | apm32f10x_sci2c.c | 49 void SCI2C_Reset(SCI2C_T* i2c) in SCI2C_Reset() 416 void SCI2C_EnableRestart(SCI2C_T* i2c) in SCI2C_EnableRestart() 428 void SCI2C_DisableRestart(SCI2C_T* i2c) in SCI2C_DisableRestart() 496 void SCI2C_EnableMasterMode(SCI2C_T* i2c) in SCI2C_EnableMasterMode() 508 void SCI2C_DisableMasterMode(SCI2C_T* i2c) in SCI2C_DisableMasterMode() 520 void SCI2C_EnableSlaveMode(SCI2C_T* i2c) in SCI2C_EnableSlaveMode() 532 void SCI2C_DisableSlaveMode(SCI2C_T* i2c) in SCI2C_DisableSlaveMode() 589 uint8_t SCI2C_RxData(SCI2C_T* i2c) in SCI2C_RxData() 674 void SCI2C_Enable(SCI2C_T* i2c) in SCI2C_Enable() 686 void SCI2C_Disable(SCI2C_T* i2c) in SCI2C_Disable() [all …]
|
| /bsp/apm32/libraries/APM32F4xx_Library/APM32F4xx_StdPeriphDriver/src/ |
| A D | apm32f4xx_i2c.c | 49 void I2C_Reset(I2C_T *i2c) in I2C_Reset() 160 void I2C_Enable(I2C_T *i2c) in I2C_Enable() 172 void I2C_Disable(I2C_T *i2c) in I2C_Disable() 459 void I2C_EnableARP(I2C_T *i2c) in I2C_EnableARP() 471 void I2C_DisableARP(I2C_T *i2c) in I2C_DisableARP() 497 uint8_t I2C_RxData(I2C_T *i2c) in I2C_RxData() 557 void I2C_EnablePEC(I2C_T *i2c) in I2C_EnablePEC() 569 void I2C_DisablePEC(I2C_T *i2c) in I2C_DisablePEC() 581 uint8_t I2C_ReadPEC(I2C_T *i2c) in I2C_ReadPEC() 593 void I2C_EnableDMA(I2C_T *i2c) in I2C_EnableDMA() [all …]
|
| /bsp/apm32/libraries/APM32S10x_Library/APM32S10x_StdPeriphDriver/src/ |
| A D | apm32s10x_i2c.c | 49 void I2C_Reset(I2C_T* i2c) in I2C_Reset() 157 void I2C_Enable(I2C_T* i2c) in I2C_Enable() 169 void I2C_Disable(I2C_T* i2c) in I2C_Disable() 329 uint8_t I2C_RxData(I2C_T* i2c) in I2C_RxData() 532 void I2C_EnablePEC(I2C_T* i2c) in I2C_EnablePEC() 544 void I2C_DisablePEC(I2C_T* i2c) in I2C_DisablePEC() 556 uint8_t I2C_ReadPEC(I2C_T* i2c) in I2C_ReadPEC() 568 void I2C_EnableARP(I2C_T* i2c) in I2C_EnableARP() 580 void I2C_DisableARP(I2C_T* i2c) in I2C_DisableARP() 640 void I2C_EnableDMA(I2C_T* i2c) in I2C_EnableDMA() [all …]
|
| /bsp/mm32f327x/Libraries/MM32F327x/HAL_Lib/Src/ |
| A D | hal_i2c.c | 43 void I2C_DeInit(I2C_TypeDef* i2c) in I2C_DeInit() 132 void I2C_Cmd(I2C_TypeDef* i2c, FunctionalState state) in I2C_Cmd() 193 void I2C_OwnAddress2Config(I2C_TypeDef* i2c, u8 addr) in I2C_OwnAddress2Config() 257 void I2C_SendData(I2C_TypeDef* i2c, u8 dat) in I2C_SendData() 267 void I2C_ReadCmd(I2C_TypeDef* i2c) in I2C_ReadCmd() 277 u8 I2C_ReceiveData(I2C_TypeDef* i2c) in I2C_ReceiveData() 306 u16 I2C_ReadRegister(I2C_TypeDef* i2c, u8 reg) in I2C_ReadRegister() 316 u32 I2C_GetLastEvent(I2C_TypeDef* i2c) in I2C_GetLastEvent() 402 void I2C_ClearFlag(I2C_TypeDef* i2c, u32 flag) in I2C_ClearFlag() 445 ITStatus I2C_GetITStatus(I2C_TypeDef* i2c, u32 it) in I2C_GetITStatus() [all …]
|
| /bsp/microchip/samc21/bsp/hal/src/ |
| A D | hal_i2c_m_sync.c | 47 struct i2c_m_sync_desc *i2c = CONTAINER_OF(io, struct i2c_m_sync_desc, io); in i2c_m_sync_read() local 70 struct i2c_m_sync_desc *i2c = CONTAINER_OF(io, struct i2c_m_sync_desc, io); in i2c_m_sync_write() local 91 int32_t i2c_m_sync_init(struct i2c_m_sync_desc *i2c, void *hw) in i2c_m_sync_init() 111 int32_t i2c_m_sync_deinit(struct i2c_m_sync_desc *i2c) in i2c_m_sync_deinit() 130 int32_t i2c_m_sync_enable(struct i2c_m_sync_desc *i2c) in i2c_m_sync_enable() 138 int32_t i2c_m_sync_disable(struct i2c_m_sync_desc *i2c) in i2c_m_sync_disable() 146 int32_t i2c_m_sync_set_slaveaddr(struct i2c_m_sync_desc *i2c, int16_t addr, int32_t addr_len) in i2c_m_sync_set_slaveaddr() 154 int32_t i2c_m_sync_set_baudrate(struct i2c_m_sync_desc *i2c, uint32_t clkrate, uint32_t baudrate) in i2c_m_sync_set_baudrate() 230 int32_t i2c_m_sync_transfer(struct i2c_m_sync_desc *const i2c, struct _i2c_m_msg *msg) in i2c_m_sync_transfer() 238 int32_t i2c_m_sync_send_stop(struct i2c_m_sync_desc *const i2c) in i2c_m_sync_send_stop() [all …]
|
| /bsp/microchip/saml10/bsp/hal/src/ |
| A D | hal_i2c_m_sync.c | 47 struct i2c_m_sync_desc *i2c = CONTAINER_OF(io, struct i2c_m_sync_desc, io); in i2c_m_sync_read() local 70 struct i2c_m_sync_desc *i2c = CONTAINER_OF(io, struct i2c_m_sync_desc, io); in i2c_m_sync_write() local 91 int32_t i2c_m_sync_init(struct i2c_m_sync_desc *i2c, void *hw) in i2c_m_sync_init() 111 int32_t i2c_m_sync_deinit(struct i2c_m_sync_desc *i2c) in i2c_m_sync_deinit() 130 int32_t i2c_m_sync_enable(struct i2c_m_sync_desc *i2c) in i2c_m_sync_enable() 138 int32_t i2c_m_sync_disable(struct i2c_m_sync_desc *i2c) in i2c_m_sync_disable() 146 int32_t i2c_m_sync_set_slaveaddr(struct i2c_m_sync_desc *i2c, int16_t addr, int32_t addr_len) in i2c_m_sync_set_slaveaddr() 154 int32_t i2c_m_sync_set_baudrate(struct i2c_m_sync_desc *i2c, uint32_t clkrate, uint32_t baudrate) in i2c_m_sync_set_baudrate() 230 int32_t i2c_m_sync_transfer(struct i2c_m_sync_desc *const i2c, struct _i2c_m_msg *msg) in i2c_m_sync_transfer() 238 int32_t i2c_m_sync_send_stop(struct i2c_m_sync_desc *const i2c) in i2c_m_sync_send_stop() [all …]
|
| /bsp/microchip/same70/bsp/hal/src/ |
| A D | hal_i2c_m_sync.c | 47 struct i2c_m_sync_desc *i2c = CONTAINER_OF(io, struct i2c_m_sync_desc, io); in i2c_m_sync_read() local 70 struct i2c_m_sync_desc *i2c = CONTAINER_OF(io, struct i2c_m_sync_desc, io); in i2c_m_sync_write() local 91 int32_t i2c_m_sync_init(struct i2c_m_sync_desc *i2c, void *hw) in i2c_m_sync_init() 111 int32_t i2c_m_sync_deinit(struct i2c_m_sync_desc *i2c) in i2c_m_sync_deinit() 130 int32_t i2c_m_sync_enable(struct i2c_m_sync_desc *i2c) in i2c_m_sync_enable() 138 int32_t i2c_m_sync_disable(struct i2c_m_sync_desc *i2c) in i2c_m_sync_disable() 146 int32_t i2c_m_sync_set_slaveaddr(struct i2c_m_sync_desc *i2c, int16_t addr, int32_t addr_len) in i2c_m_sync_set_slaveaddr() 154 int32_t i2c_m_sync_set_baudrate(struct i2c_m_sync_desc *i2c, uint32_t clkrate, uint32_t baudrate) in i2c_m_sync_set_baudrate() 230 int32_t i2c_m_sync_transfer(struct i2c_m_sync_desc *const i2c, struct _i2c_m_msg *msg) in i2c_m_sync_transfer() 238 int32_t i2c_m_sync_send_stop(struct i2c_m_sync_desc *const i2c) in i2c_m_sync_send_stop() [all …]
|
| /bsp/microchip/same54/bsp/hal/src/ |
| A D | hal_i2c_m_sync.c | 47 struct i2c_m_sync_desc *i2c = CONTAINER_OF(io, struct i2c_m_sync_desc, io); in i2c_m_sync_read() local 70 struct i2c_m_sync_desc *i2c = CONTAINER_OF(io, struct i2c_m_sync_desc, io); in i2c_m_sync_write() local 91 int32_t i2c_m_sync_init(struct i2c_m_sync_desc *i2c, void *hw) in i2c_m_sync_init() 111 int32_t i2c_m_sync_deinit(struct i2c_m_sync_desc *i2c) in i2c_m_sync_deinit() 130 int32_t i2c_m_sync_enable(struct i2c_m_sync_desc *i2c) in i2c_m_sync_enable() 138 int32_t i2c_m_sync_disable(struct i2c_m_sync_desc *i2c) in i2c_m_sync_disable() 146 int32_t i2c_m_sync_set_slaveaddr(struct i2c_m_sync_desc *i2c, int16_t addr, int32_t addr_len) in i2c_m_sync_set_slaveaddr() 154 int32_t i2c_m_sync_set_baudrate(struct i2c_m_sync_desc *i2c, uint32_t clkrate, uint32_t baudrate) in i2c_m_sync_set_baudrate() 230 int32_t i2c_m_sync_transfer(struct i2c_m_sync_desc *const i2c, struct _i2c_m_msg *msg) in i2c_m_sync_transfer() 238 int32_t i2c_m_sync_send_stop(struct i2c_m_sync_desc *const i2c) in i2c_m_sync_send_stop() [all …]
|
| /bsp/maxim/libraries/MAX32660PeriphDriver/Source/ |
| A D | i2c.c | 260 int I2C_Shutdown(mxc_i2c_regs_t *i2c) in I2C_Shutdown() 662 static void I2C_MasterHandler(mxc_i2c_regs_t *i2c) in I2C_MasterHandler() 815 int I2C_SlaveAsync(mxc_i2c_regs_t *i2c, i2c_req_t *req) in I2C_SlaveAsync() 850 static void I2C_SlaveHandler(mxc_i2c_regs_t *i2c) in I2C_SlaveHandler() 976 void I2C_Handler(mxc_i2c_regs_t *i2c) in I2C_Handler() 988 void I2C_DrainRX(mxc_i2c_regs_t *i2c) in I2C_DrainRX() 994 void I2C_DrainTX(mxc_i2c_regs_t *i2c) in I2C_DrainTX() 1013 static void I2C_Recover(mxc_i2c_regs_t *i2c) in I2C_Recover() 1028 mxc_i2c_regs_t *i2c; in I2C_AbortAsync() local 1046 int I2C_SetTimeout(mxc_i2c_regs_t *i2c, int us){ in I2C_SetTimeout() [all …]
|
| A D | mxc_sys.c | 283 int SYS_I2C_Init(mxc_i2c_regs_t *i2c, const sys_cfg_i2c_t* sys_cfg) in SYS_I2C_Init() 302 int SYS_I2C_Shutdown(mxc_i2c_regs_t *i2c) in SYS_I2C_Shutdown() 336 unsigned SYS_I2C_GetFreq(mxc_i2c_regs_t *i2c) in SYS_I2C_GetFreq()
|
| /bsp/efm32/Libraries/emlib/inc/ |
| A D | em_i2c.h | 290 __STATIC_INLINE void I2C_IntClear(I2C_TypeDef *i2c, uint32_t flags) in I2C_IntClear() 307 __STATIC_INLINE void I2C_IntDisable(I2C_TypeDef *i2c, uint32_t flags) in I2C_IntDisable() 329 __STATIC_INLINE void I2C_IntEnable(I2C_TypeDef *i2c, uint32_t flags) in I2C_IntEnable() 349 __STATIC_INLINE uint32_t I2C_IntGet(I2C_TypeDef *i2c) in I2C_IntGet() 366 __STATIC_INLINE void I2C_IntSet(I2C_TypeDef *i2c, uint32_t flags) in I2C_IntSet() 390 __STATIC_INLINE uint8_t I2C_SlaveAddressGet(I2C_TypeDef *i2c) in I2C_SlaveAddressGet() 413 __STATIC_INLINE void I2C_SlaveAddressSet(I2C_TypeDef *i2c, uint8_t addr) in I2C_SlaveAddressSet() 442 __STATIC_INLINE uint8_t I2C_SlaveAddressMaskGet(I2C_TypeDef *i2c) in I2C_SlaveAddressMaskGet() 471 __STATIC_INLINE void I2C_SlaveAddressMaskSet(I2C_TypeDef *i2c, uint8_t mask) in I2C_SlaveAddressMaskSet()
|
| /bsp/efm32/Libraries/emlib/src/ |
| A D | em_i2c.c | 158 uint32_t I2C_BusFreqGet(I2C_TypeDef *i2c) in I2C_BusFreqGet() 209 void I2C_BusFreqSet(I2C_TypeDef *i2c, in I2C_BusFreqSet() 268 void I2C_Enable(I2C_TypeDef *i2c, bool enable) in I2C_Enable() 286 void I2C_Init(I2C_TypeDef *i2c, const I2C_Init_TypeDef *init) in I2C_Init() 316 void I2C_Reset(I2C_TypeDef *i2c) in I2C_Reset() 364 I2C_TransferReturn_TypeDef I2C_Transfer(I2C_TypeDef *i2c) in I2C_Transfer() 724 I2C_TransferReturn_TypeDef I2C_TransferInit(I2C_TypeDef *i2c, in I2C_TransferInit()
|
| /bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_hal/include/ |
| A D | hal_i2c_periph.h | 28 typedef struct i2c struct 35 } i2c_t; argument
|
| /bsp/bouffalo_lab/libraries/rt_drivers/ |
| A D | drv_i2c.c | 24 struct bflb_device_s *i2c; member
|
| /bsp/ESP32_C3/drivers/ |
| A D | drv_sw_i2c.c | 44 static void esp32c3_i2c_gpio_init(struct esp32c3_i2c *i2c) in esp32c3_i2c_gpio_init()
|
| /bsp/nxp/mcx/mcxc/Libraries/drivers/ |
| A D | drv_i2c.c | 52 mcx_i2c_obj_t *i2c = (mcx_i2c_obj_t *)bus; in mcx_i2c_master_xfer() local
|
| /bsp/stm32/libraries/HAL_Drivers/drivers/ |
| A D | drv_soft_i2c.c | 48 static void stm32_i2c_gpio_init(struct stm32_i2c *i2c) in stm32_i2c_gpio_init()
|
| /bsp/Infineon/libraries/HAL_Drivers/ |
| A D | drv_soft_i2c.c | 39 static void ifx_i2c_gpio_init(struct ifx_i2c *i2c) in ifx_i2c_gpio_init()
|
| /bsp/avr32/drivers/ |
| A D | drv_soft_i2c.c | 31 static void avr32_i2c_gpio_init(struct avr32_i2c *i2c) in avr32_i2c_gpio_init()
|
| /bsp/bluetrum/libraries/hal_drivers/ |
| A D | drv_soft_i2c.c | 48 static void ab32_i2c_gpio_init(struct ab32_i2c *i2c) in ab32_i2c_gpio_init()
|
| /bsp/gd32/risc-v/libraries/gd32_drivers/ |
| A D | drv_soft_i2c.c | 45 static void gd32_i2c_gpio_init(struct gd32_i2c *i2c) in gd32_i2c_gpio_init()
|