|
STM32L4xx_HAL_Driver
1.14.0
|
Data transfers functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_I2C_Master_Transmit (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
| Transmits in master mode an amount of data in blocking mode. More... | |
| HAL_StatusTypeDef | HAL_I2C_Master_Receive (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
| Receives in master mode an amount of data in blocking mode. More... | |
| HAL_StatusTypeDef | HAL_I2C_Slave_Transmit (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
| Transmits in slave mode an amount of data in blocking mode. More... | |
| HAL_StatusTypeDef | HAL_I2C_Slave_Receive (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
| Receive in slave mode an amount of data in blocking mode. More... | |
| HAL_StatusTypeDef | HAL_I2C_Mem_Write (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
| Write an amount of data in blocking mode to a specific memory address. More... | |
| HAL_StatusTypeDef | HAL_I2C_Mem_Read (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
| Read an amount of data in blocking mode from a specific memory address. More... | |
| HAL_StatusTypeDef | HAL_I2C_IsDeviceReady (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint32_t Trials, uint32_t Timeout) |
| Checks if target device is ready for communication. More... | |
| HAL_StatusTypeDef | HAL_I2C_Master_Transmit_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size) |
| Transmit in master mode an amount of data in non-blocking mode with Interrupt. More... | |
| HAL_StatusTypeDef | HAL_I2C_Master_Receive_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size) |
| Receive in master mode an amount of data in non-blocking mode with Interrupt. More... | |
| HAL_StatusTypeDef | HAL_I2C_Slave_Transmit_IT (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size) |
| Transmit in slave mode an amount of data in non-blocking mode with Interrupt. More... | |
| HAL_StatusTypeDef | HAL_I2C_Slave_Receive_IT (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size) |
| Receive in slave mode an amount of data in non-blocking mode with Interrupt. More... | |
| HAL_StatusTypeDef | HAL_I2C_Mem_Write_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size) |
| Write an amount of data in non-blocking mode with Interrupt to a specific memory address. More... | |
| HAL_StatusTypeDef | HAL_I2C_Mem_Read_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size) |
| Read an amount of data in non-blocking mode with Interrupt from a specific memory address. More... | |
| HAL_StatusTypeDef | HAL_I2C_Master_Seq_Transmit_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
| Sequential transmit in master I2C mode an amount of data in non-blocking mode with Interrupt. More... | |
| HAL_StatusTypeDef | HAL_I2C_Master_Seq_Receive_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
| Sequential receive in master I2C mode an amount of data in non-blocking mode with Interrupt. More... | |
| HAL_StatusTypeDef | HAL_I2C_Slave_Seq_Transmit_IT (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
| Sequential transmit in slave/device I2C mode an amount of data in non-blocking mode with Interrupt. More... | |
| HAL_StatusTypeDef | HAL_I2C_Slave_Seq_Receive_IT (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
| Sequential receive in slave/device I2C mode an amount of data in non-blocking mode with Interrupt. More... | |
| HAL_StatusTypeDef | HAL_I2C_EnableListen_IT (I2C_HandleTypeDef *hi2c) |
| Enable the Address listen mode with Interrupt. More... | |
| HAL_StatusTypeDef | HAL_I2C_DisableListen_IT (I2C_HandleTypeDef *hi2c) |
| Disable the Address listen mode with Interrupt. More... | |
| HAL_StatusTypeDef | HAL_I2C_Master_Abort_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress) |
| Abort a master I2C IT or DMA process communication with Interrupt. More... | |
| HAL_StatusTypeDef | HAL_I2C_Master_Transmit_DMA (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size) |
| Transmit in master mode an amount of data in non-blocking mode with DMA. More... | |
| HAL_StatusTypeDef | HAL_I2C_Master_Receive_DMA (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size) |
| Receive in master mode an amount of data in non-blocking mode with DMA. More... | |
| HAL_StatusTypeDef | HAL_I2C_Slave_Transmit_DMA (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size) |
| Transmit in slave mode an amount of data in non-blocking mode with DMA. More... | |
| HAL_StatusTypeDef | HAL_I2C_Slave_Receive_DMA (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size) |
| Receive in slave mode an amount of data in non-blocking mode with DMA. More... | |
| HAL_StatusTypeDef | HAL_I2C_Mem_Write_DMA (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size) |
| Write an amount of data in non-blocking mode with DMA to a specific memory address. More... | |
| HAL_StatusTypeDef | HAL_I2C_Mem_Read_DMA (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size) |
| Reads an amount of data in non-blocking mode with DMA from a specific memory address. More... | |
| HAL_StatusTypeDef | HAL_I2C_Master_Seq_Transmit_DMA (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
| Sequential transmit in master I2C mode an amount of data in non-blocking mode with DMA. More... | |
| HAL_StatusTypeDef | HAL_I2C_Master_Seq_Receive_DMA (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
| Sequential receive in master I2C mode an amount of data in non-blocking mode with DMA. More... | |
| HAL_StatusTypeDef | HAL_I2C_Slave_Seq_Transmit_DMA (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
| Sequential transmit in slave/device I2C mode an amount of data in non-blocking mode with DMA. More... | |
| HAL_StatusTypeDef | HAL_I2C_Slave_Seq_Receive_DMA (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
| Sequential receive in slave/device I2C mode an amount of data in non-blocking mode with DMA. More... | |
Data transfers functions.
===============================================================================
##### IO operation functions #####
===============================================================================
[..]
This subsection provides a set of functions allowing to manage the I2C data
transfers.
(#) There are two modes of transfer:
(++) Blocking mode : The communication is performed in the polling mode.
The status of all data processing is returned by the same function
after finishing transfer.
(++) No-Blocking mode : The communication is performed using Interrupts
or DMA. These functions return the status of the transfer startup.
The end of the data processing will be indicated through the
dedicated I2C IRQ when using Interrupt mode or the DMA IRQ when
using DMA mode.
(#) Blocking mode functions are :
(++) HAL_I2C_Master_Transmit()
(++) HAL_I2C_Master_Receive()
(++) HAL_I2C_Slave_Transmit()
(++) HAL_I2C_Slave_Receive()
(++) HAL_I2C_Mem_Write()
(++) HAL_I2C_Mem_Read()
(++) HAL_I2C_IsDeviceReady()
(#) No-Blocking mode functions with Interrupt are :
(++) HAL_I2C_Master_Transmit_IT()
(++) HAL_I2C_Master_Receive_IT()
(++) HAL_I2C_Slave_Transmit_IT()
(++) HAL_I2C_Slave_Receive_IT()
(++) HAL_I2C_Mem_Write_IT()
(++) HAL_I2C_Mem_Read_IT()
(++) HAL_I2C_Master_Seq_Transmit_IT()
(++) HAL_I2C_Master_Seq_Receive_IT()
(++) HAL_I2C_Slave_Seq_Transmit_IT()
(++) HAL_I2C_Slave_Seq_Receive_IT()
(++) HAL_I2C_EnableListen_IT()
(++) HAL_I2C_DisableListen_IT()
(++) HAL_I2C_Master_Abort_IT()
(#) No-Blocking mode functions with DMA are :
(++) HAL_I2C_Master_Transmit_DMA()
(++) HAL_I2C_Master_Receive_DMA()
(++) HAL_I2C_Slave_Transmit_DMA()
(++) HAL_I2C_Slave_Receive_DMA()
(++) HAL_I2C_Mem_Write_DMA()
(++) HAL_I2C_Mem_Read_DMA()
(++) HAL_I2C_Master_Seq_Transmit_DMA()
(++) HAL_I2C_Master_Seq_Receive_DMA()
(++) HAL_I2C_Slave_Seq_Transmit_DMA()
(++) HAL_I2C_Slave_Seq_Receive_DMA()
(#) A set of Transfer Complete Callbacks are provided in non Blocking mode:
(++) HAL_I2C_MasterTxCpltCallback()
(++) HAL_I2C_MasterRxCpltCallback()
(++) HAL_I2C_SlaveTxCpltCallback()
(++) HAL_I2C_SlaveRxCpltCallback()
(++) HAL_I2C_MemTxCpltCallback()
(++) HAL_I2C_MemRxCpltCallback()
(++) HAL_I2C_AddrCallback()
(++) HAL_I2C_ListenCpltCallback()
(++) HAL_I2C_ErrorCallback()
(++) HAL_I2C_AbortCpltCallback() | HAL_StatusTypeDef HAL_I2C_DisableListen_IT | ( | I2C_HandleTypeDef * | hi2c | ) |
Disable the Address listen mode with Interrupt.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C |
| HAL | status |
Definition at line 4214 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_EnableListen_IT | ( | I2C_HandleTypeDef * | hi2c | ) |
Enable the Address listen mode with Interrupt.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| HAL | status |
Definition at line 4190 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_IsDeviceReady | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint32_t | Trials, | ||
| uint32_t | Timeout | ||
| ) |
Checks if target device is ready for communication.
| 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 |
| Trials | Number of trials |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 3014 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Master_Abort_IT | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress | ||
| ) |
Abort a master I2C IT or DMA process communication with Interrupt.
| 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 |
| HAL | status |
Definition at line 4247 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Master_Receive | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | Timeout | ||
| ) |
Receives in master mode an amount of data in blocking mode.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 1174 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Master_Receive_DMA | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint8_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Receive in master mode an amount of data in non-blocking mode with DMA.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| HAL | status |
Definition at line 1929 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Master_Receive_IT | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint8_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Receive in master mode an amount of data in non-blocking mode with Interrupt.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| HAL | status |
Definition at line 1619 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Master_Seq_Receive_DMA | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | XferOptions | ||
| ) |
Sequential receive in master I2C mode an amount of data in non-blocking mode with DMA.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| XferOptions | Options of Transfer, value of I2C Sequential Transfer Options |
| HAL | status |
Definition at line 3486 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Master_Seq_Receive_IT | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | XferOptions | ||
| ) |
Sequential receive in master I2C mode an amount of data in non-blocking mode with Interrupt.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| XferOptions | Options of Transfer, value of I2C Sequential Transfer Options |
| HAL | status |
Definition at line 3402 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Master_Seq_Transmit_DMA | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | XferOptions | ||
| ) |
Sequential transmit in master I2C mode an amount of data in non-blocking mode with DMA.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| XferOptions | Options of Transfer, value of I2C Sequential Transfer Options |
| HAL | status |
Definition at line 3240 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Master_Seq_Transmit_IT | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | XferOptions | ||
| ) |
Sequential transmit in master I2C mode an amount of data in non-blocking mode with Interrupt.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| XferOptions | Options of Transfer, value of I2C Sequential Transfer Options |
| HAL | status |
Definition at line 3156 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Master_Transmit | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | Timeout | ||
| ) |
Transmits in master mode an amount of data in blocking mode.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 1060 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Master_Transmit_DMA | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint8_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Transmit in master mode an amount of data in non-blocking mode with DMA.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| HAL | status |
Definition at line 1786 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Master_Transmit_IT | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint8_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Transmit in master mode an amount of data in non-blocking mode with Interrupt.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| HAL | status |
Definition at line 1550 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Mem_Read | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint16_t | MemAddress, | ||
| uint16_t | MemAddSize, | ||
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | Timeout | ||
| ) |
Read an amount of data in blocking mode from a specific memory address.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 2415 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Mem_Read_DMA | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint16_t | MemAddress, | ||
| uint16_t | MemAddSize, | ||
| uint8_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Reads an amount of data in non-blocking mode with DMA from a specific memory address.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be read |
| HAL | status |
Definition at line 2873 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Mem_Read_IT | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint16_t | MemAddress, | ||
| uint16_t | MemAddSize, | ||
| uint8_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Read an amount of data in non-blocking mode with Interrupt from a specific memory address.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| HAL | status |
Definition at line 2639 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Mem_Write | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint16_t | MemAddress, | ||
| uint16_t | MemAddSize, | ||
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | Timeout | ||
| ) |
Write an amount of data in blocking mode to a specific memory address.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 2280 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Mem_Write_DMA | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint16_t | MemAddress, | ||
| uint16_t | MemAddSize, | ||
| uint8_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Write an amount of data in non-blocking mode with DMA to a specific memory address.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| HAL | status |
Definition at line 2729 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Mem_Write_IT | ( | I2C_HandleTypeDef * | hi2c, |
| uint16_t | DevAddress, | ||
| uint16_t | MemAddress, | ||
| uint16_t | MemAddSize, | ||
| uint8_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Write an amount of data in non-blocking mode with Interrupt to a specific memory address.
| 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 |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| HAL | status |
Definition at line 2548 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Slave_Receive | ( | I2C_HandleTypeDef * | hi2c, |
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | Timeout | ||
| ) |
Receive in slave mode an amount of data in blocking mode.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 1424 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Slave_Receive_DMA | ( | I2C_HandleTypeDef * | hi2c, |
| uint8_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Receive in slave mode an amount of data in non-blocking mode with DMA.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| HAL | status |
Definition at line 2173 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Slave_Receive_IT | ( | I2C_HandleTypeDef * | hi2c, |
| uint8_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Receive in slave mode an amount of data in non-blocking mode with Interrupt.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| HAL | status |
Definition at line 1735 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Slave_Seq_Receive_DMA | ( | I2C_HandleTypeDef * | hi2c, |
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | XferOptions | ||
| ) |
Sequential receive in slave/device I2C mode an amount of data in non-blocking mode with DMA.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| XferOptions | Options of Transfer, value of I2C Sequential Transfer Options |
| HAL | status |
Definition at line 4015 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Slave_Seq_Receive_IT | ( | I2C_HandleTypeDef * | hi2c, |
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | XferOptions | ||
| ) |
Sequential receive in slave/device I2C mode an amount of data in non-blocking mode with Interrupt.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| XferOptions | Options of Transfer, value of I2C Sequential Transfer Options |
| HAL | status |
Definition at line 3920 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Slave_Seq_Transmit_DMA | ( | I2C_HandleTypeDef * | hi2c, |
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | XferOptions | ||
| ) |
Sequential transmit in slave/device I2C mode an amount of data in non-blocking mode with DMA.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| XferOptions | Options of Transfer, value of I2C Sequential Transfer Options |
| HAL | status |
Definition at line 3741 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Slave_Seq_Transmit_IT | ( | I2C_HandleTypeDef * | hi2c, |
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | XferOptions | ||
| ) |
Sequential transmit in slave/device I2C mode an amount of data in non-blocking mode with Interrupt.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| XferOptions | Options of Transfer, value of I2C Sequential Transfer Options |
| HAL | status |
Definition at line 3646 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Slave_Transmit | ( | I2C_HandleTypeDef * | hi2c, |
| uint8_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | Timeout | ||
| ) |
Transmits in slave mode an amount of data in blocking mode.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 1287 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Slave_Transmit_DMA | ( | I2C_HandleTypeDef * | hi2c, |
| uint8_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Transmit in slave mode an amount of data in non-blocking mode with DMA.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| HAL | status |
Definition at line 2070 of file stm32l4xx_hal_i2c.c.
| HAL_StatusTypeDef HAL_I2C_Slave_Transmit_IT | ( | I2C_HandleTypeDef * | hi2c, |
| uint8_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Transmit in slave mode an amount of data in non-blocking mode with Interrupt.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| HAL | status |
Definition at line 1686 of file stm32l4xx_hal_i2c.c.