EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #309 background imageLoading...
Page #309 background image
UM1940
HAL I2C Generic Driver
DocID028236 Rev 2
309/1371
I2C_IT_EVT: Event interrupt enable
I2C_IT_ERR: Error interrupt enable
Return value:
None
__HAL_I2C_DISABLE_IT
__HAL_I2C_GET_IT_SOURCE
Description:
Checks if the specified I2C interrupt source
is enabled or disabled.
Parameters:
__HANDLE__: specifies the I2C Handle.
This parameter can be I2C where x: 1, 2, or
3 to select the I2C peripheral.
__INTERRUPT__: specifies the I2C
interrupt source to check. This parameter
can be one of the following values:
I2C_IT_BUF: Buffer interrupt enable
I2C_IT_EVT: Event interrupt enable
I2C_IT_ERR: Error interrupt enable
Return value:
The: new state of __INTERRUPT__ (TRUE
or FALSE).
__HAL_I2C_GET_FLAG
Description:
Checks whether the specified I2C flag is set
or not.
Parameters:
__HANDLE__: specifies the I2C Handle.
This parameter can be I2C where x: 1, 2, or
3 to select the I2C peripheral.
__FLAG__: specifies the flag to check. This
parameter can be one of the following
values:
I2C_FLAG_SMBALERT: SMBus Alert
flag
I2C_FLAG_TIMEOUT: Timeout or Tlow
error flag
I2C_FLAG_PECERR: PEC error in
reception flag
I2C_FLAG_OVR: Overrun/Underrun
flag
I2C_FLAG_AF: Acknowledge failure
flag
I2C_FLAG_ARLO: Arbitration lost flag
I2C_FLAG_BERR: Bus error flag
I2C_FLAG_TXE: Data register empty
flag
I2C_FLAG_RXNE: Data register not
empty flag

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals