EasyManua.ls Logo

ST STM32F2

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
Loading...
UM1940
LL I2C Generic Driver
DocID028236 Rev 2
959/1371
LL_I2C_EnableIT_EVT
Function name
__STATIC_INLINE void LL_I2C_EnableIT_EVT (I2C_TypeDef *
I2Cx)
Function description
Enable Events interrupts.
Parameters
I2Cx: I2C Instance.
Return values
None:
Notes
Any of these events will generate interrupt : Start Bit (SB)
Address sent, Address matched (ADDR) 10-bit header sent
(ADD10) Stop detection (STOPF) Byte transfer finished (BTF)
Any of these events will generate interrupt if Buffer interrupts
are enabled too(using unitary function
LL_I2C_EnableIT_BUF()) : Receive buffer not empty (RXNE)
Transmit buffer empty (TXE)
Reference Manual to
LL API cross
reference:
CR2 ITEVTEN LL_I2C_EnableIT_EVT
LL_I2C_DisableIT_EVT
Function name
__STATIC_INLINE void LL_I2C_DisableIT_EVT (I2C_TypeDef *
I2Cx)
Function description
Disable Events interrupts.
Parameters
I2Cx: I2C Instance.
Return values
None:
Notes
Any of these events will generate interrupt : Start Bit (SB)
Address sent, Address matched (ADDR) 10-bit header sent
(ADD10) Stop detection (STOPF) Byte transfer finished (BTF)
Receive buffer not empty (RXNE) Transmit buffer empty
(TXE)
Reference Manual to
LL API cross
reference:
CR2 ITEVTEN LL_I2C_DisableIT_EVT
LL_I2C_IsEnabledIT_EVT
Function name
__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_EVT
(I2C_TypeDef * I2Cx)
Function description
Check if Events interrupts are enabled or disabled.
Parameters
I2Cx: I2C Instance.
Return values
State: of bit (1 or 0).
Reference Manual to
LL API cross
reference:
CR2 ITEVTEN LL_I2C_IsEnabledIT_EVT

Table of Contents

Related product manuals