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 #971 background imageLoading...
Page #971 background image
UM1940
LL I2C Generic Driver
DocID028236 Rev 2
971/1371
Parameters
I2Cx: I2C Instance.
Return values
State: of bit (1 or 0).
Reference Manual to
LL API cross
reference:
CR1 SWRST LL_I2C_IsResetEnabled
LL_I2C_AcknowledgeNextData
Function name
__STATIC_INLINE void LL_I2C_AcknowledgeNextData
(I2C_TypeDef * I2Cx, uint32_t TypeAcknowledge)
Function description
Prepare the generation of a ACKnowledge or Non ACKnowledge
condition after the address receive match code or next received
byte.
Parameters
I2Cx: I2C Instance.
TypeAcknowledge: This parameter can be one of the
following values:
LL_I2C_ACK
LL_I2C_NACK
Return values
None:
Notes
Usage in Slave or Master mode.
Reference Manual to
LL API cross
reference:
CR1 ACK LL_I2C_AcknowledgeNextData
LL_I2C_GenerateStartCondition
Function name
__STATIC_INLINE void LL_I2C_GenerateStartCondition
(I2C_TypeDef * I2Cx)
Function description
Generate a START or RESTART condition.
Parameters
I2Cx: I2C Instance.
Return values
None:
Notes
The START bit can be set even if bus is BUSY or I2C is in
slave mode. This action has no effect when RELOAD is set.
Reference Manual to
LL API cross
reference:
CR1 START LL_I2C_GenerateStartCondition
LL_I2C_GenerateStopCondition
Function name
__STATIC_INLINE void LL_I2C_GenerateStopCondition
(I2C_TypeDef * I2Cx)
Function description
Generate a STOP condition after the current byte transfer (master
mode).
Parameters
I2Cx: I2C Instance.
Return values
None:

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