ST STM32F2 User Manual page 789

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

Advertisement

UM1940
Common write and read registers Macros
LL_ADC_WriteReg
LL_ADC_ReadReg
calculation input, the analog reference voltage
(Vref+) must be defined as it impacts the ADC
LSB equivalent voltage. Analog reference
voltage (Vref+) must be known from user board
environment or can be calculated using ADC
measurement. ADC measurement data must
correspond to a resolution of 12bits (full scale
digital value 4095). If not the case, the data
must be preliminarily rescaled to an equivalent
resolution of 12 bits.
Description:
Write a value in ADC register.
Parameters:
__INSTANCE__: ADC Instance
__REG__: Register to be written
__VALUE__: Value to be written in the register
Return value:
None
Description:
Read a value in ADC register.
Parameters:
__INSTANCE__: ADC Instance
__REG__: Register to be read
Return value:
Register: value
DocID028236 Rev 2
LL ADC Generic Driver
789/1371

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?

Table of Contents

Save PDF