Home
last modified time | relevance | path

Searched refs:hi2c (Results 1 – 10 of 10) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_i2c.c400 static void I2C_ITAddrCplt(I2C_HandleTypeDef *hi2c, uint32_t ITFlags);
401 static void I2C_ITMasterSequentialCplt(I2C_HandleTypeDef *hi2c);
402 static void I2C_ITSlaveSequentialCplt(I2C_HandleTypeDef *hi2c);
403 static void I2C_ITMasterCplt(I2C_HandleTypeDef *hi2c, uint32_t ITFlags);
404 static void I2C_ITSlaveCplt(I2C_HandleTypeDef *hi2c, uint32_t ITFlags);
405 static void I2C_ITListenCplt(I2C_HandleTypeDef *hi2c, uint32_t ITFlags);
406 static void I2C_ITError(I2C_HandleTypeDef *hi2c, uint32_t ErrorCode);
409 static HAL_StatusTypeDef I2C_RequestMemoryWrite(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint1…
410 static HAL_StatusTypeDef I2C_RequestMemoryRead(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16…
413 static HAL_StatusTypeDef I2C_Master_ISR_IT(struct __I2C_HandleTypeDef *hi2c, uint32_t ITFlags, uint…
[all …]
Dstm32l4xx_hal_i2c_ex.c113 HAL_StatusTypeDef HAL_I2CEx_ConfigAnalogFilter(I2C_HandleTypeDef *hi2c, uint32_t AnalogFilter) in HAL_I2CEx_ConfigAnalogFilter() argument
116 assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); in HAL_I2CEx_ConfigAnalogFilter()
119 if (hi2c->State == HAL_I2C_STATE_READY) in HAL_I2CEx_ConfigAnalogFilter()
122 __HAL_LOCK(hi2c); in HAL_I2CEx_ConfigAnalogFilter()
124 hi2c->State = HAL_I2C_STATE_BUSY; in HAL_I2CEx_ConfigAnalogFilter()
127 __HAL_I2C_DISABLE(hi2c); in HAL_I2CEx_ConfigAnalogFilter()
130 hi2c->Instance->CR1 &= ~(I2C_CR1_ANFOFF); in HAL_I2CEx_ConfigAnalogFilter()
133 hi2c->Instance->CR1 |= AnalogFilter; in HAL_I2CEx_ConfigAnalogFilter()
135 __HAL_I2C_ENABLE(hi2c); in HAL_I2CEx_ConfigAnalogFilter()
137 hi2c->State = HAL_I2C_STATE_READY; in HAL_I2CEx_ConfigAnalogFilter()
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_i2c.c322 static void I2C_ITAddrCplt(I2C_HandleTypeDef *hi2c, uint32_t ITFlags);
323 static void I2C_ITMasterSequentialCplt(I2C_HandleTypeDef *hi2c);
324 static void I2C_ITSlaveSequentialCplt(I2C_HandleTypeDef *hi2c);
325 static void I2C_ITMasterCplt(I2C_HandleTypeDef *hi2c, uint32_t ITFlags);
326 static void I2C_ITSlaveCplt(I2C_HandleTypeDef *hi2c, uint32_t ITFlags);
327 static void I2C_ITListenCplt(I2C_HandleTypeDef *hi2c, uint32_t ITFlags);
328 static void I2C_ITError(I2C_HandleTypeDef *hi2c, uint32_t ErrorCode);
331 static HAL_StatusTypeDef I2C_RequestMemoryWrite(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint1…
332 static HAL_StatusTypeDef I2C_RequestMemoryRead(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16…
335 static HAL_StatusTypeDef I2C_Master_ISR_IT(struct __I2C_HandleTypeDef *hi2c, uint32_t ITFlags, uint…
[all …]
Dstm32l0xx_hal_i2c_ex.c113 HAL_StatusTypeDef HAL_I2CEx_ConfigAnalogFilter(I2C_HandleTypeDef *hi2c, uint32_t AnalogFilter) in HAL_I2CEx_ConfigAnalogFilter() argument
116 assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); in HAL_I2CEx_ConfigAnalogFilter()
119 if (hi2c->State == HAL_I2C_STATE_READY) in HAL_I2CEx_ConfigAnalogFilter()
122 __HAL_LOCK(hi2c); in HAL_I2CEx_ConfigAnalogFilter()
124 hi2c->State = HAL_I2C_STATE_BUSY; in HAL_I2CEx_ConfigAnalogFilter()
127 __HAL_I2C_DISABLE(hi2c); in HAL_I2CEx_ConfigAnalogFilter()
130 hi2c->Instance->CR1 &= ~(I2C_CR1_ANFOFF); in HAL_I2CEx_ConfigAnalogFilter()
133 hi2c->Instance->CR1 |= AnalogFilter; in HAL_I2CEx_ConfigAnalogFilter()
135 __HAL_I2C_ENABLE(hi2c); in HAL_I2CEx_ConfigAnalogFilter()
137 hi2c->State = HAL_I2C_STATE_READY; in HAL_I2CEx_ConfigAnalogFilter()
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_i2c.c288 static void I2C_ITError(I2C_HandleTypeDef *hi2c);
290 static HAL_StatusTypeDef I2C_MasterRequestWrite(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint3…
291 static HAL_StatusTypeDef I2C_MasterRequestRead(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint32…
292 static HAL_StatusTypeDef I2C_RequestMemoryWrite(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint1…
293 static HAL_StatusTypeDef I2C_RequestMemoryRead(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16…
294 static HAL_StatusTypeDef I2C_WaitOnFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Flag, FlagSta…
295 static HAL_StatusTypeDef I2C_WaitOnMasterAddressFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t …
296 static HAL_StatusTypeDef I2C_WaitOnTXEFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, u…
297 static HAL_StatusTypeDef I2C_WaitOnBTFFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, u…
298 static HAL_StatusTypeDef I2C_WaitOnRXNEFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, …
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_i2c.h219 …HAL_StatusTypeDef(*XferISR)(struct __I2C_HandleTypeDef *hi2c, uint32_t ITFlags, uint32_t ITSources…
236 …void (* MasterTxCpltCallback)(struct __I2C_HandleTypeDef *hi2c); /*!< I2C Master Tx Tran…
237 …void (* MasterRxCpltCallback)(struct __I2C_HandleTypeDef *hi2c); /*!< I2C Master Rx Tran…
238 …void (* SlaveTxCpltCallback)(struct __I2C_HandleTypeDef *hi2c); /*!< I2C Slave Tx Trans…
239 …void (* SlaveRxCpltCallback)(struct __I2C_HandleTypeDef *hi2c); /*!< I2C Slave Rx Trans…
240 …void (* ListenCpltCallback)(struct __I2C_HandleTypeDef *hi2c); /*!< I2C Listen Complet…
241 …void (* MemTxCpltCallback)(struct __I2C_HandleTypeDef *hi2c); /*!< I2C Memory Tx Tran…
242 …void (* MemRxCpltCallback)(struct __I2C_HandleTypeDef *hi2c); /*!< I2C Memory Rx Tran…
243 …void (* ErrorCallback)(struct __I2C_HandleTypeDef *hi2c); /*!< I2C Error callback…
244 …void (* AbortCpltCallback)(struct __I2C_HandleTypeDef *hi2c); /*!< I2C Abort callback…
[all …]
Dstm32l4xx_hal_i2c_ex.h117 HAL_StatusTypeDef HAL_I2CEx_ConfigAnalogFilter(I2C_HandleTypeDef *hi2c, uint32_t AnalogFilter);
118 HAL_StatusTypeDef HAL_I2CEx_ConfigDigitalFilter(I2C_HandleTypeDef *hi2c, uint32_t DigitalFilter);
119 HAL_StatusTypeDef HAL_I2CEx_EnableWakeUp(I2C_HandleTypeDef *hi2c);
120 HAL_StatusTypeDef HAL_I2CEx_DisableWakeUp(I2C_HandleTypeDef *hi2c);
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_i2c.h214 …HAL_StatusTypeDef(*XferISR)(struct __I2C_HandleTypeDef *hi2c, uint32_t ITFlags, uint32_t ITSources…
527 HAL_StatusTypeDef HAL_I2C_Init(I2C_HandleTypeDef *hi2c);
528 HAL_StatusTypeDef HAL_I2C_DeInit(I2C_HandleTypeDef *hi2c);
529 void HAL_I2C_MspInit(I2C_HandleTypeDef *hi2c);
530 void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c);
540 HAL_StatusTypeDef HAL_I2C_Master_Transmit(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pD…
541 HAL_StatusTypeDef HAL_I2C_Master_Receive(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pDa…
542 HAL_StatusTypeDef HAL_I2C_Slave_Transmit(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, ui…
543 HAL_StatusTypeDef HAL_I2C_Slave_Receive(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uin…
544 HAL_StatusTypeDef HAL_I2C_Mem_Write(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddre…
[all …]
Dstm32l0xx_hal_i2c_ex.h111 HAL_StatusTypeDef HAL_I2CEx_ConfigAnalogFilter(I2C_HandleTypeDef *hi2c, uint32_t AnalogFilter);
112 HAL_StatusTypeDef HAL_I2CEx_ConfigDigitalFilter(I2C_HandleTypeDef *hi2c, uint32_t DigitalFilter);
113 HAL_StatusTypeDef HAL_I2CEx_EnableWakeUp(I2C_HandleTypeDef *hi2c);
114 HAL_StatusTypeDef HAL_I2CEx_DisableWakeUp(I2C_HandleTypeDef *hi2c);
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_i2c.h494 HAL_StatusTypeDef HAL_I2C_Init(I2C_HandleTypeDef *hi2c);
495 HAL_StatusTypeDef HAL_I2C_DeInit (I2C_HandleTypeDef *hi2c);
496 void HAL_I2C_MspInit(I2C_HandleTypeDef *hi2c);
497 void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c);
508 HAL_StatusTypeDef HAL_I2C_Master_Transmit(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pD…
509 HAL_StatusTypeDef HAL_I2C_Master_Receive(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pDa…
510 HAL_StatusTypeDef HAL_I2C_Slave_Transmit(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, ui…
511 HAL_StatusTypeDef HAL_I2C_Slave_Receive(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uin…
512 HAL_StatusTypeDef HAL_I2C_Mem_Write(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddre…
513 HAL_StatusTypeDef HAL_I2C_Mem_Read(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddres…
[all …]