Hal_I2C_Slave_Sequential_Receive_It; Hal_I2C_Master_Abort_It; Hal_I2C_Enablelisten_It - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

HAL I2C Generic Driver
Return values
Notes

HAL_I2C_Slave_Sequential_Receive_IT

Function name
Function description
Parameters
Return values
Notes

HAL_I2C_Master_Abort_IT

Function name
Function description
Parameters
Return values
Notes

HAL_I2C_EnableListen_IT

Function name
Function description
Parameters
Return values
302/1371
the configuration information for I2C module
pData: Pointer to data buffer
Size: Amount of data to be sent
XferOptions: Options of Transfer, value of I2C XferOptions
definition
HAL: status
This interface allow to manage repeated start condition when
a direction change during transfer
HAL_StatusTypeDef HAL_I2C_Slave_Sequential_Receive_IT
(I2C_HandleTypeDef * hi2c, uint8_t * pData, uint16_t Size,
uint32_t XferOptions)
Sequential 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
XferOptions: Options of Transfer, value of I2C XferOptions
definition
HAL: status
This interface allow to manage repeated start condition when
a direction change during transfer
HAL_StatusTypeDef HAL_I2C_Master_Abort_IT
(I2C_HandleTypeDef * hi2c, uint16_t DevAddress)
Abort a master I2C 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 shift at right before call
interface
HAL: status
This abort can be called only if state is ready
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
DocID028236 Rev 2
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF