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) |
HAL_StatusTypeDef | HAL_I2C_Slave_Receive (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
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) |
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) |
HAL_StatusTypeDef | HAL_I2C_Slave_Receive_IT (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size) |
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_Sequential_Transmit_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
HAL_StatusTypeDef | HAL_I2C_Master_Sequential_Receive_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
HAL_StatusTypeDef | HAL_I2C_Slave_Sequential_Transmit_IT (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
HAL_StatusTypeDef | HAL_I2C_Slave_Sequential_Receive_IT (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
HAL_StatusTypeDef | HAL_I2C_EnableListen_IT (I2C_HandleTypeDef *hi2c) |
HAL_StatusTypeDef | HAL_I2C_DisableListen_IT (I2C_HandleTypeDef *hi2c) |
HAL_StatusTypeDef | HAL_I2C_Master_Abort_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress) |
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) |
HAL_StatusTypeDef | HAL_I2C_Slave_Receive_DMA (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size) |
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_Sequential_Transmit_DMA (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
HAL_StatusTypeDef | HAL_I2C_Master_Sequential_Receive_DMA (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
HAL_StatusTypeDef | HAL_I2C_Slave_Sequential_Transmit_DMA (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
HAL_StatusTypeDef | HAL_I2C_Slave_Sequential_Receive_DMA (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |