HAL
HAL_I2C_Slave_Seq_Receive_IT() is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALHAL_I2C_Slave_Seq_Receive_IT()

HAL_I2C_Slave_Seq_Receive_IT() function

Sequential receive in slave mode an amount of data in non-blocking mode with Interrupt

Syntax

HAL_StatusTypeDef HAL_I2C_Slave_Seq_Receive_IT(I2C_HandleTypeDef *hi2c,     uint8_t *pData,     uint16_t Size,     uint32_t XferOptions);
Implemented in stm32f4xx_hal_i2c.c:4419

Arguments

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_XferOptions_definition

Return value

HAL status

Notes

This interface allow to manage repeated start condition when a direction change during transfer

References

LocationText
stm32f4xx_hal_i2c.c:4419
HAL_StatusTypeDef HAL_I2C_Slave_Seq_Receive_IT(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions)
stm32f4xx_hal_i2c.h:585
HAL_StatusTypeDef HAL_I2C_Slave_Seq_Receive_IT(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions);