|
STM32L4xx_HAL_Driver
1.14.0
|
Functions | |
| static void | I2C_DMAMasterTransmitCplt (DMA_HandleTypeDef *hdma) |
| DMA I2C master transmit process complete callback. More... | |
| static void | I2C_DMAMasterReceiveCplt (DMA_HandleTypeDef *hdma) |
| DMA I2C master receive process complete callback. More... | |
| static void | I2C_DMASlaveTransmitCplt (DMA_HandleTypeDef *hdma) |
| DMA I2C slave transmit process complete callback. More... | |
| static void | I2C_DMASlaveReceiveCplt (DMA_HandleTypeDef *hdma) |
| DMA I2C slave receive process complete callback. More... | |
| static void | I2C_DMAError (DMA_HandleTypeDef *hdma) |
| DMA I2C communication error callback. More... | |
| static void | I2C_DMAAbort (DMA_HandleTypeDef *hdma) |
| DMA I2C communication abort callback (To be called at end of DMA Abort procedure). More... | |
| static void | I2C_ITAddrCplt (I2C_HandleTypeDef *hi2c, uint32_t ITFlags) |
| I2C Address complete process callback. More... | |
| static void | I2C_ITMasterSeqCplt (I2C_HandleTypeDef *hi2c) |
| I2C Master sequential complete process. More... | |
| static void | I2C_ITSlaveSeqCplt (I2C_HandleTypeDef *hi2c) |
| I2C Slave sequential complete process. More... | |
| static void | I2C_ITMasterCplt (I2C_HandleTypeDef *hi2c, uint32_t ITFlags) |
| I2C Master complete process. More... | |
| static void | I2C_ITSlaveCplt (I2C_HandleTypeDef *hi2c, uint32_t ITFlags) |
| I2C Slave complete process. More... | |
| static void | I2C_ITListenCplt (I2C_HandleTypeDef *hi2c, uint32_t ITFlags) |
| I2C Listen complete process. More... | |
| static void | I2C_ITError (I2C_HandleTypeDef *hi2c, uint32_t ErrorCode) |
| I2C interrupts error process. More... | |
| static HAL_StatusTypeDef | I2C_RequestMemoryWrite (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint32_t Timeout, uint32_t Tickstart) |
| Master sends target device address followed by internal memory address for write request. More... | |
| static HAL_StatusTypeDef | I2C_RequestMemoryRead (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint32_t Timeout, uint32_t Tickstart) |
| Master sends target device address followed by internal memory address for read request. More... | |
| static HAL_StatusTypeDef | I2C_Master_ISR_IT (struct __I2C_HandleTypeDef *hi2c, uint32_t ITFlags, uint32_t ITSources) |
| Interrupt Sub-Routine which handle the Interrupt Flags Master Mode with Interrupt. More... | |
| static HAL_StatusTypeDef | I2C_Slave_ISR_IT (struct __I2C_HandleTypeDef *hi2c, uint32_t ITFlags, uint32_t ITSources) |
| Interrupt Sub-Routine which handle the Interrupt Flags Slave Mode with Interrupt. More... | |
| static HAL_StatusTypeDef | I2C_Master_ISR_DMA (struct __I2C_HandleTypeDef *hi2c, uint32_t ITFlags, uint32_t ITSources) |
| Interrupt Sub-Routine which handle the Interrupt Flags Master Mode with DMA. More... | |
| static HAL_StatusTypeDef | I2C_Slave_ISR_DMA (struct __I2C_HandleTypeDef *hi2c, uint32_t ITFlags, uint32_t ITSources) |
| Interrupt Sub-Routine which handle the Interrupt Flags Slave Mode with DMA. More... | |
| static HAL_StatusTypeDef | I2C_WaitOnFlagUntilTimeout (I2C_HandleTypeDef *hi2c, uint32_t Flag, FlagStatus Status, uint32_t Timeout, uint32_t Tickstart) |
| This function handles I2C Communication Timeout. More... | |
| static HAL_StatusTypeDef | I2C_WaitOnTXISFlagUntilTimeout (I2C_HandleTypeDef *hi2c, uint32_t Timeout, uint32_t Tickstart) |
| This function handles I2C Communication Timeout for specific usage of TXIS flag. More... | |
| static HAL_StatusTypeDef | I2C_WaitOnRXNEFlagUntilTimeout (I2C_HandleTypeDef *hi2c, uint32_t Timeout, uint32_t Tickstart) |
| This function handles I2C Communication Timeout for specific usage of RXNE flag. More... | |
| static HAL_StatusTypeDef | I2C_WaitOnSTOPFlagUntilTimeout (I2C_HandleTypeDef *hi2c, uint32_t Timeout, uint32_t Tickstart) |
| This function handles I2C Communication Timeout for specific usage of STOP flag. More... | |
| static HAL_StatusTypeDef | I2C_IsAcknowledgeFailed (I2C_HandleTypeDef *hi2c, uint32_t Timeout, uint32_t Tickstart) |
| This function handles Acknowledge failed detection during an I2C Communication. More... | |
| static void | I2C_Enable_IRQ (I2C_HandleTypeDef *hi2c, uint16_t InterruptRequest) |
| Manage the enabling of Interrupts. More... | |
| static void | I2C_Disable_IRQ (I2C_HandleTypeDef *hi2c, uint16_t InterruptRequest) |
| Manage the disabling of Interrupts. More... | |
| static void | I2C_Flush_TXDR (I2C_HandleTypeDef *hi2c) |
| I2C Tx data register flush process. More... | |
| static void | I2C_TransferConfig (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, uint32_t Request) |
| Handles I2Cx communication when starting transfer or during transfer (TC or TCR flag are set). More... | |
| static void | I2C_ConvertOtherXferOptions (I2C_HandleTypeDef *hi2c) |
| Convert I2Cx OTHER_xxx XferOptions to functionnal XferOptions. More... | |
|
static |
Convert I2Cx OTHER_xxx XferOptions to functionnal XferOptions.
| hi2c | I2C handle. |
| None |
Definition at line 6466 of file stm32l4xx_hal_i2c.c.
|
static |
Manage the disabling of Interrupts.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| InterruptRequest | Value of I2C Interrupt configuration definition. |
| None |
Definition at line 6403 of file stm32l4xx_hal_i2c.c.
|
static |
DMA I2C communication abort callback (To be called at end of DMA Abort procedure).
| hdma | DMA handle. |
| None |
Definition at line 6040 of file stm32l4xx_hal_i2c.c.
|
static |
DMA I2C communication error callback.
| hdma | DMA handle |
| None |
Definition at line 6023 of file stm32l4xx_hal_i2c.c.
|
static |
DMA I2C master receive process complete callback.
| hdma | DMA handle |
| None |
Definition at line 5948 of file stm32l4xx_hal_i2c.c.
|
static |
DMA I2C master transmit process complete callback.
| hdma | DMA handle |
| None |
Definition at line 5873 of file stm32l4xx_hal_i2c.c.
|
static |
DMA I2C slave receive process complete callback.
| hdma | DMA handle |
| None |
Definition at line 5996 of file stm32l4xx_hal_i2c.c.
|
static |
DMA I2C slave transmit process complete callback.
| hdma | DMA handle |
| None |
Definition at line 5921 of file stm32l4xx_hal_i2c.c.
|
static |
Manage the enabling of Interrupts.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| InterruptRequest | Value of I2C Interrupt configuration definition. |
| None |
Definition at line 6332 of file stm32l4xx_hal_i2c.c.
|
static |
I2C Tx data register flush process.
| hi2c | I2C handle. |
| None |
Definition at line 5852 of file stm32l4xx_hal_i2c.c.
|
static |
This function handles Acknowledge failed detection during an I2C Communication.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| Timeout | Timeout duration |
| Tickstart | Tick start value |
| HAL | status |
Definition at line 6245 of file stm32l4xx_hal_i2c.c.
|
static |
I2C Address complete process callback.
| hi2c | I2C handle. |
| ITFlags | Interrupt flags to handle. |
| None |
Definition at line 5223 of file stm32l4xx_hal_i2c.c.
|
static |
I2C interrupts error process.
| hi2c | I2C handle. |
| ErrorCode | Error code to handle. |
| None |
Definition at line 5734 of file stm32l4xx_hal_i2c.c.
|
static |
I2C Listen complete process.
| hi2c | I2C handle. |
| ITFlags | Interrupt flags to handle. |
| None |
Definition at line 5683 of file stm32l4xx_hal_i2c.c.
|
static |
I2C Master complete process.
| hi2c | I2C handle. |
| ITFlags | Interrupt flags to handle. |
| None |
Definition at line 5427 of file stm32l4xx_hal_i2c.c.
|
static |
I2C Master sequential complete process.
| hi2c | I2C handle. |
| None |
Definition at line 5318 of file stm32l4xx_hal_i2c.c.
|
static |
I2C Slave complete process.
| hi2c | I2C handle. |
| ITFlags | Interrupt flags to handle. |
| None |
Definition at line 5546 of file stm32l4xx_hal_i2c.c.
|
static |
I2C Slave sequential complete process.
| hi2c | I2C handle. |
| None |
Definition at line 5371 of file stm32l4xx_hal_i2c.c.
|
static |
Interrupt Sub-Routine which handle the Interrupt Flags Master Mode with DMA.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| ITFlags | Interrupt flags to handle. |
| ITSources | Interrupt sources enabled. |
| HAL | status |
Definition at line 4868 of file stm32l4xx_hal_i2c.c.
|
static |
Interrupt Sub-Routine which handle the Interrupt Flags Master Mode with Interrupt.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| ITFlags | Interrupt flags to handle. |
| ITSources | Interrupt sources enabled. |
| HAL | status |
Definition at line 4595 of file stm32l4xx_hal_i2c.c.
|
static |
Master sends target device address followed by internal memory address for read request.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
| MemAddress | Internal memory address |
| MemAddSize | Size of internal memory address |
| Timeout | Timeout duration |
| Tickstart | Tick start value |
| HAL | status |
Definition at line 5176 of file stm32l4xx_hal_i2c.c.
|
static |
Master sends target device address followed by internal memory address for write request.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
| MemAddress | Internal memory address |
| MemAddSize | Size of internal memory address |
| Timeout | Timeout duration |
| Tickstart | Tick start value |
| HAL | status |
Definition at line 5123 of file stm32l4xx_hal_i2c.c.
|
static |
Interrupt Sub-Routine which handle the Interrupt Flags Slave Mode with DMA.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| ITFlags | Interrupt flags to handle. |
| ITSources | Interrupt sources enabled. |
| HAL | status |
Definition at line 5003 of file stm32l4xx_hal_i2c.c.
|
static |
Interrupt Sub-Routine which handle the Interrupt Flags Slave Mode with Interrupt.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| ITFlags | Interrupt flags to handle. |
| ITSources | Interrupt sources enabled. |
| HAL | status |
Definition at line 4732 of file stm32l4xx_hal_i2c.c.
|
static |
Handles I2Cx communication when starting transfer or during transfer (TC or TCR flag are set).
| hi2c | I2C handle. |
| DevAddress | Specifies the slave address to be programmed. |
| Size | Specifies the number of bytes to be programmed. This parameter must be a value between 0 and 255. |
| Mode | New state of the I2C START condition generation. This parameter can be one of the following values:
|
| Request | New state of the I2C START condition generation. This parameter can be one of the following values:
|
| None |
Definition at line 6313 of file stm32l4xx_hal_i2c.c.
|
static |
This function handles I2C Communication Timeout.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| Flag | Specifies the I2C flag to check. |
| Status | The new Flag status (SET or RESET). |
| Timeout | Timeout duration |
| Tickstart | Tick start value |
| HAL | status |
Definition at line 6081 of file stm32l4xx_hal_i2c.c.
|
static |
This function handles I2C Communication Timeout for specific usage of RXNE flag.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| Timeout | Timeout duration |
| Tickstart | Tick start value |
| HAL | status |
Definition at line 6182 of file stm32l4xx_hal_i2c.c.
|
static |
This function handles I2C Communication Timeout for specific usage of STOP flag.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| Timeout | Timeout duration |
| Tickstart | Tick start value |
| HAL | status |
Definition at line 6148 of file stm32l4xx_hal_i2c.c.
|
static |
This function handles I2C Communication Timeout for specific usage of TXIS flag.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| Timeout | Timeout duration |
| Tickstart | Tick start value |
| HAL | status |
Definition at line 6111 of file stm32l4xx_hal_i2c.c.