Home
last modified time | relevance | path

Searched refs:I2C_Type (Results 1 – 25 of 92) sorted by relevance

1234

/bsp/nv32f100x/lib/inc/
A Di2c.h478 uint8_t I2C_Start(I2C_Type *pI2Cx);
479 uint8_t I2C_Stop(I2C_Type *pI2Cx);
482 uint8_t I2C_IsBusy(I2C_Type *pI2Cx );
486 void I2C_ClearSLTF(I2C_Type *pI2Cx );
489 void I2C_TxEnable(I2C_Type *pI2Cx);
490 void I2C_RxEnable(I2C_Type *pI2Cx);
491 void I2C_IntEnable(I2C_Type *pI2Cx);
492 void I2C_IntDisable(I2C_Type *pI2Cx);
503 void I2C_SendAck(I2C_Type *pI2Cx );
504 void I2C_SendNack(I2C_Type *pI2Cx );
[all …]
/bsp/fm33lc026/libraries/FM33LC0xx_FL_Driver/Inc/
A Dfm33lc0xx_fl_i2c.h355 __STATIC_INLINE void FL_I2C_Master_Enable(I2C_Type *I2Cx) in FL_I2C_Master_Enable()
377 __STATIC_INLINE void FL_I2C_Master_Disable(I2C_Type *I2Cx) in FL_I2C_Master_Disable()
421 __STATIC_INLINE void FL_I2C_Master_EnableDMAReq(I2C_Type *I2Cx) in FL_I2C_Master_EnableDMAReq()
487 __STATIC_INLINE void FL_I2C_Master_EnableRX(I2C_Type *I2Cx) in FL_I2C_Master_EnableRX()
509 __STATIC_INLINE void FL_I2C_Master_DisableRX(I2C_Type *I2Cx) in FL_I2C_Master_DisableRX()
1128 __STATIC_INLINE void FL_I2C_Slave_EnableDMAReq(I2C_Type *I2Cx) in FL_I2C_Slave_EnableDMAReq()
1161 __STATIC_INLINE void FL_I2C_Slave_EnableACK(I2C_Type *I2Cx) in FL_I2C_Slave_EnableACK()
1183 __STATIC_INLINE void FL_I2C_Slave_DisableACK(I2C_Type *I2Cx) in FL_I2C_Slave_DisableACK()
1293 __STATIC_INLINE void FL_I2C_Slave_Enable(I2C_Type *I2Cx) in FL_I2C_Slave_Enable()
1315 __STATIC_INLINE void FL_I2C_Slave_Disable(I2C_Type *I2Cx) in FL_I2C_Slave_Disable()
[all …]
/bsp/hpmicro/libraries/hpm_sdk/drivers/inc/
A Dhpm_i2c_drv.h133 static inline void i2c_respond_Nack(I2C_Type *ptr) in i2c_respond_Nack()
143 static inline void i2c_respond_ack(I2C_Type *ptr) in i2c_respond_ack()
153 static inline void i2c_clear_fifo(I2C_Type *ptr) in i2c_clear_fifo()
182 static inline bool i2c_fifo_is_full(I2C_Type *ptr) in i2c_fifo_is_full()
221 static inline bool i2c_is_writing(I2C_Type *ptr) in i2c_is_writing()
235 static inline bool i2c_is_reading(I2C_Type *ptr) in i2c_is_reading()
382 hpm_stat_t i2c_init_master(I2C_Type *ptr,
440 hpm_stat_t i2c_master_write(I2C_Type *ptr,
483 hpm_stat_t i2c_master_read(I2C_Type *ptr,
532 void i2c_reset(I2C_Type *ptr);
[all …]
/bsp/frdm-k64f/device/MK64F12/
A Dfsl_i2c.h205 typedef void (*i2c_master_transfer_callback_t)(I2C_Type *base,
334 void I2C_MasterDeinit(I2C_Type *base);
341 void I2C_SlaveDeinit(I2C_Type *base);
378 static inline void I2C_Enable(I2C_Type *base, bool enable) in I2C_Enable()
403 uint32_t I2C_MasterGetStatusFlags(I2C_Type *base);
486 void I2C_EnableInterrupts(I2C_Type *base, uint32_t mask);
498 void I2C_DisableInterrupts(I2C_Type *base, uint32_t mask);
532 static inline uint32_t I2C_GetDataRegAddr(I2C_Type *base) in I2C_GetDataRegAddr()
572 status_t I2C_MasterStop(I2C_Type *base);
668 void I2C_MasterTransferCreateHandle(I2C_Type *base,
[all …]
A Dfsl_i2c_edma.h50 typedef void (*i2c_master_edma_transfer_callback_t)(I2C_Type *base,
90 void I2C_MasterCreateEDMAHandle(I2C_Type *base,
108 status_t I2C_MasterTransferEDMA(I2C_Type *base, i2c_master_edma_handle_t *handle, i2c_master_transf…
117 status_t I2C_MasterTransferGetCountEDMA(I2C_Type *base, i2c_master_edma_handle_t *handle, size_t *c…
125 void I2C_MasterTransferAbortEDMA(I2C_Type *base, i2c_master_edma_handle_t *handle);
A Dfsl_i2c.c65 typedef void (*i2c_isr_t)(I2C_Type *base, void *i2cHandle);
76 uint32_t I2C_GetInstance(I2C_Type *base);
148 static I2C_Type *const s_i2cBases[] = I2C_BASE_PTRS;
168 uint32_t I2C_GetInstance(I2C_Type *base) in I2C_GetInstance()
534 void I2C_MasterDeinit(I2C_Type *base) in I2C_MasterDeinit()
569 void I2C_EnableInterrupts(I2C_Type *base, uint32_t mask) in I2C_EnableInterrupts()
741 status_t I2C_MasterStop(I2C_Type *base) in I2C_MasterStop()
762 uint32_t I2C_MasterGetStatusFlags(I2C_Type *base) in I2C_MasterGetStatusFlags()
1055 void I2C_MasterTransferCreateHandle(I2C_Type *base, in I2C_MasterTransferCreateHandle()
1265 void I2C_SlaveDeinit(I2C_Type *base) in I2C_SlaveDeinit()
[all …]
A Dfsl_i2c_edma.c40 I2C_Type *base;
85 static status_t I2C_CheckAndClearError(I2C_Type *base, uint32_t status);
93 static void I2C_MasterTransferEDMAConfig(I2C_Type *base, i2c_master_edma_handle_t *handle);
103 static status_t I2C_InitTransferStateMachineEDMA(I2C_Type *base,
113 extern uint32_t I2C_GetInstance(I2C_Type *base);
195 static status_t I2C_CheckAndClearError(I2C_Type *base, uint32_t status) in I2C_CheckAndClearError()
218 static status_t I2C_InitTransferStateMachineEDMA(I2C_Type *base, in I2C_InitTransferStateMachineEDMA()
356 static void I2C_MasterTransferEDMAConfig(I2C_Type *base, i2c_master_edma_handle_t *handle) in I2C_MasterTransferEDMAConfig()
390 void I2C_MasterCreateEDMAHandle(I2C_Type *base, in I2C_MasterCreateEDMAHandle()
536 status_t I2C_MasterTransferGetCountEDMA(I2C_Type *base, i2c_master_edma_handle_t *handle, size_t *c… in I2C_MasterTransferGetCountEDMA()
[all …]
/bsp/mm32/libraries/MM32F3270_HAL/MM32F3270_HAL_Driver/Inc/
A Dhal_i2c.h101 bool I2C_InitMaster(I2C_Type * I2Cx, I2C_Master_Init_Type * init);
110 void I2C_Enable(I2C_Type *I2Cx, bool enable);
119 void I2C_SetTargetAddr(I2C_Type * I2Cx, uint8_t addr);
127 uint16_t I2C_GetTargetAddr(I2C_Type * I2Cx);
136 void I2C_PutData(I2C_Type * I2Cx, uint8_t val);
144 void I2C_PrepareToGetData(I2C_Type * I2Cx);
152 uint8_t I2C_GetData(I2C_Type * I2Cx);
160 uint32_t I2C_GetStatus(I2C_Type * I2Cx);
168 void I2C_Stop(I2C_Type * I2Cx);
186 uint32_t I2C_GetEnabledInterrupts(I2C_Type * I2Cx);
[all …]
/bsp/hpmicro/libraries/hpm_sdk/components/smbus/
A Dhpm_smbus.h30 hpm_stat_t hpm_smbus_master_write_byte(I2C_Type *ptr, uint8_t slave_address,
43 hpm_stat_t hpm_smbus_master_read_byte(I2C_Type *ptr, uint8_t slave_address,
57 hpm_stat_t hpm_smbus_master_write_byte_in_command(I2C_Type *ptr, uint8_t slave_address,
71 hpm_stat_t hpm_smbus_master_write_word_in_command(I2C_Type *ptr, uint8_t slave_address,
85 hpm_stat_t hpm_smbus_master_read_byte_in_command(I2C_Type *ptr, uint8_t slave_address,
99 hpm_stat_t hpm_smbus_master_read_word_in_command(I2C_Type *ptr, uint8_t slave_address,
131 hpm_stat_t hpm_smbus_master_read_block_in_command(I2C_Type *ptr, uint8_t slave_address,
146 hpm_stat_t hpm_smbus_master_write(I2C_Type *ptr, uint8_t slave_address,
161 hpm_stat_t hpm_smbus_master_read(I2C_Type *ptr, uint8_t slave_address,
175 hpm_stat_t hpm_smbus_slave_write(I2C_Type *ptr, uint8_t *data, uint32_t size);
[all …]
A Dhpm_smbus.c13 hpm_stat_t hpm_smbus_master_write_byte(I2C_Type *ptr, uint8_t slave_address, uint8_t data) in hpm_smbus_master_write_byte()
25 hpm_stat_t hpm_smbus_master_read_byte(I2C_Type *ptr, uint8_t slave_address, uint8_t *data) in hpm_smbus_master_read_byte()
44 hpm_stat_t hpm_smbus_master_write_byte_in_command(I2C_Type *ptr, uint8_t slave_address, uint8_t com… in hpm_smbus_master_write_byte_in_command()
57 hpm_stat_t hpm_smbus_master_write_word_in_command(I2C_Type *ptr, uint8_t slave_address, uint8_t com… in hpm_smbus_master_write_word_in_command()
70 hpm_stat_t hpm_smbus_master_read_byte_in_command(I2C_Type *ptr, uint8_t slave_address, uint8_t comm… in hpm_smbus_master_read_byte_in_command()
99 hpm_stat_t hpm_smbus_master_read_word_in_command(I2C_Type *ptr, uint8_t slave_address, uint8_t comm… in hpm_smbus_master_read_word_in_command()
146 hpm_stat_t hpm_smbus_master_read_block_in_command(I2C_Type *ptr, uint8_t slave_address, uint8_t com… in hpm_smbus_master_read_block_in_command()
179 hpm_stat_t hpm_smbus_master_write(I2C_Type *ptr, uint8_t slave_address, uint8_t *data, uint32_t siz… in hpm_smbus_master_write()
195 hpm_stat_t hpm_smbus_master_read(I2C_Type *ptr, uint8_t slave_address, uint8_t *data, uint32_t size) in hpm_smbus_master_read()
215 hpm_stat_t hpm_smbus_slave_write(I2C_Type *ptr, uint8_t *data, uint32_t size) in hpm_smbus_slave_write()
[all …]
/bsp/mm32/libraries/MM32F3270_HAL/MM32F3270_HAL_Driver/Src/
A Dhal_i2c.c34 bool I2C_InitMaster(I2C_Type * I2Cx, I2C_Master_Init_Type * init) in I2C_InitMaster()
60 void I2C_Enable(I2C_Type * I2Cx, bool enable) in I2C_Enable()
73 void I2C_SetTargetAddr(I2C_Type * I2Cx, uint8_t addr) in I2C_SetTargetAddr()
79 uint16_t I2C_GetTargetAddr(I2C_Type * I2Cx) in I2C_GetTargetAddr()
85 void I2C_PutData(I2C_Type * I2Cx, uint8_t val) in I2C_PutData()
91 void I2C_PrepareToGetData(I2C_Type * I2Cx) in I2C_PrepareToGetData()
97 uint8_t I2C_GetData(I2C_Type * I2Cx) in I2C_GetData()
103 uint32_t I2C_GetStatus(I2C_Type * I2Cx) in I2C_GetStatus()
109 void I2C_Stop(I2C_Type * I2Cx) in I2C_Stop()
129 uint32_t I2C_GetEnabledInterrupts(I2C_Type * I2Cx) in I2C_GetEnabledInterrupts()
[all …]
/bsp/nv32f100x/lib/src/
A Di2c.c60 void I2C_Init(I2C_Type *pI2Cx,I2C_ConfigPtr pI2CConfig) in I2C_Init()
163 uint8_t I2C_Start(I2C_Type *pI2Cx) in I2C_Start()
197 uint8_t I2C_Stop(I2C_Type *pI2Cx) in I2C_Stop()
231 uint8_t I2C_RepeatStart(I2C_Type *pI2Cx) in I2C_RepeatStart()
264 void I2C_SetSlaveAddress(I2C_Type *pI2Cx,uint16_t u16SlaveAddress) in I2C_SetSlaveAddress()
284 void I2C_IntDisable(I2C_Type *pI2Cx) in I2C_IntDisable()
312 void I2C_IntEnable(I2C_Type *pI2Cx) in I2C_IntEnable()
341 void I2C_SetSCLLowETMeout(I2C_Type *pI2Cx, uint16_t u16ETMeout) in I2C_SetSCLLowETMeout()
356 void I2C_Deinit(I2C_Type *pI2Cx) in I2C_Deinit()
387 uint8_t I2C_WriteOneByte(I2C_Type *pI2Cx, uint8_t u8WrBuff) in I2C_WriteOneByte()
[all …]
/bsp/hpmicro/hpm6800evk/board/
A Dpinmux.h17 void init_i2c_pins_as_gpio(I2C_Type *ptr);
18 void init_i2c_pins(I2C_Type *ptr);
31 void init_i2c_pins_as_gpio(I2C_Type *ptr);
/bsp/hpmicro/libraries/hpm_sdk/drivers/src/
A Dhpm_i2c_drv.c128 void i2c_reset(I2C_Type *ptr) in i2c_reset()
161 hpm_stat_t i2c_master_address_read(I2C_Type *ptr, const uint16_t device_address, in i2c_master_address_read()
280 hpm_stat_t i2c_master_address_write(I2C_Type *ptr, const uint16_t device_address, in i2c_master_address_write()
374 hpm_stat_t i2c_master_read(I2C_Type *ptr, const uint16_t device_address, in i2c_master_read()
466 hpm_stat_t i2c_master_write(I2C_Type *ptr, const uint16_t device_address, in i2c_master_write()
559 hpm_stat_t i2c_init_slave(I2C_Type *ptr, uint32_t src_clk_in_hz, in i2c_init_slave()
587 hpm_stat_t i2c_slave_write(I2C_Type *ptr, uint8_t *buf, const uint32_t size) in i2c_slave_write()
652 hpm_stat_t i2c_slave_read(I2C_Type *ptr, in i2c_slave_read()
794 hpm_stat_t i2c_slave_dma_transfer(I2C_Type *i2c_ptr, uint32_t size) in i2c_slave_dma_transfer()
930 hpm_stat_t i2c_master_seq_receive(I2C_Type *ptr, const uint16_t device_address, in i2c_master_seq_receive()
[all …]
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM5300/HPM5301/
A Dhpm_soc.h141 #define HPM_I2C0 ((I2C_Type *) HPM_I2C0_BASE)
145 #define HPM_I2C1 ((I2C_Type *) HPM_I2C1_BASE)
149 #define HPM_I2C2 ((I2C_Type *) HPM_I2C2_BASE)
153 #define HPM_I2C3 ((I2C_Type *) HPM_I2C3_BASE)
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6E00/HPM6E80/
A Dhpm_soc.h349 #define HPM_I2C0 ((I2C_Type *) HPM_I2C0_BASE)
353 #define HPM_I2C1 ((I2C_Type *) HPM_I2C1_BASE)
357 #define HPM_I2C2 ((I2C_Type *) HPM_I2C2_BASE)
361 #define HPM_I2C3 ((I2C_Type *) HPM_I2C3_BASE)
365 #define HPM_I2C4 ((I2C_Type *) HPM_I2C4_BASE)
369 #define HPM_I2C5 ((I2C_Type *) HPM_I2C5_BASE)
373 #define HPM_I2C6 ((I2C_Type *) HPM_I2C6_BASE)
377 #define HPM_I2C7 ((I2C_Type *) HPM_I2C7_BASE)
/bsp/nxp/lpc/lpc55sxx/lpc55s06_nxp_evk/board/MCUX_Config/board/
A Dboard.c37 void BOARD_I2C_Init(I2C_Type *base, uint32_t clkSrc_Hz) in BOARD_I2C_Init()
45 status_t BOARD_I2C_Send(I2C_Type *base, in BOARD_I2C_Send()
66 status_t BOARD_I2C_Receive(I2C_Type *base, in BOARD_I2C_Receive()
/bsp/hpmicro/hpm6200evk/board/
A Dpinmux.h16 void init_i2c_pins(I2C_Type *ptr);
34 void init_i2c_pins_as_gpio(I2C_Type *ptr);
/bsp/hpmicro/hpm6300evk/board/
A Dpinmux.h16 void init_i2c_pins(I2C_Type *ptr);
39 void init_i2c_pins_as_gpio(I2C_Type *ptr);
/bsp/fm33lc026/libraries/FM33LC0xx_FL_Driver/Src/
A Dfm33lc0xx_fl_i2c.c83 FL_ErrorStatus FL_I2C_DeInit(I2C_Type *I2Cx) in FL_I2C_DeInit()
107 FL_ErrorStatus FL_I2C_MasterMode_Init(I2C_Type *I2Cx, FL_I2C_MasterMode_InitTypeDef *I2C_InitStruct) in FL_I2C_MasterMode_Init()
167 FL_ErrorStatus FL_I2C_SlaveMode_Init(I2C_Type *I2Cx, FL_I2C_SlaveMode_InitTypeDef *I2C_InitStruct) in FL_I2C_SlaveMode_Init()
/bsp/hpmicro/libraries/drivers/
A Ddrv_i2c.c31 I2C_Type *base;
93 static hpm_stat_t i2c_transfer(I2C_Type *ptr, const uint16_t device_address,
96 static hpm_stat_t i2c_tx_trigger_dma(DMA_Type *dma_ptr, uint8_t ch_num, I2C_Type *i2c_ptr, uint32_t…
97 static hpm_stat_t i2c_rx_trigger_dma(DMA_Type *dma_ptr, uint8_t ch_num, I2C_Type *i2c_ptr, uint32_t…
106 static inline void handle_i2c_isr(I2C_Type *ptr) in handle_i2c_isr()
160 static hpm_stat_t i2c_tx_trigger_dma(DMA_Type *dma_ptr, uint8_t ch_num, I2C_Type *i2c_ptr, uint32_t… in i2c_tx_trigger_dma()
176 static hpm_stat_t i2c_rx_trigger_dma(DMA_Type *dma_ptr, uint8_t ch_num, I2C_Type *i2c_ptr, uint32_t… in i2c_rx_trigger_dma()
/bsp/hpmicro/hpm6e00evk/board/
A Dpinmux.h16 void init_i2c_pins_as_gpio(I2C_Type *ptr);
17 void init_i2c_pins(I2C_Type *ptr);
/bsp/hpmicro/hpm6750evk2/board/
A Dpinmux.h17 void init_i2c_pins(I2C_Type *ptr);
47 void init_i2c_pins_as_gpio(I2C_Type *ptr);
/bsp/hpmicro/hpm6750evk/board/
A Dpinmux.h17 void init_i2c_pins(I2C_Type *ptr);
51 void init_i2c_pins_as_gpio(I2C_Type *ptr);
/bsp/hpmicro/hpm6750evkmini/board/
A Dpinmux.h18 void init_i2c_pins(I2C_Type *ptr);
50 void init_i2c_pins_as_gpio(I2C_Type *ptr);

Completed in 62 milliseconds

1234