EasyManuals Logo
Home>ST>Microcontrollers>STM32G473

ST STM32G473 User Manual

ST STM32G473
2126 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 #647 background imageLoading...
Page #647 background image
RM0440 Rev 4 647/2126
RM0440 Analog-to-digital converters (ADC)
724
When reading data from ADC_DR (regular channel) or from ADC_JDRy (injected channel,
y=1,2,3,4) corresponding to the channel “i”:
If one of the offsets is enabled (bit OFFSETy_EN=1) for the corresponding channel, the
read data is signed.
If none of the four offsets is enabled for this channel, the read data is not signed.
Figure 115, Figure 116, Figure 117 and Figure 118 show alignments for signed and
unsigned data.
Figure 115. Right alignment (offset disabled, unsigned value)
10: 8-bit
DATA[11:4],00
00
OFFSET[11:0]
Signed
8-bit data
The user must configure OFFSET[3:0]
to “0000”
11: 6-bit
DATA[11:6],00
0000
OFFSET[11:0]
Signed
6-bit data
The user must configure OFFSET[5:0]
to “000000”
Table 168. Offset computation versus data resolution (continued)
Resolution
(bits
RES[1:0])
Subtraction between raw
converted data and offset
Result Comments
Raw
converted
Data, left
aligned
Offset
0000D11D10D9D8D7
12-bit data
D6 D5 D4 D3 D2 D1
0000000 D7
8-bit data
D6 D5 D4 D3 D2 D1
000000D9D8D7
10-bit data
D6 D5 D4 D3 D2 D1
0000000
6-bit data
0D5D4D3D2D1
D0
D0
D0
D0
bit15 bit0bit7
bit15 bit0bit7
bit15 bit0bit7
bit15 bit0bit7
MS31015V1
0
00

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32G473 Specifications

General IconGeneral
BrandST
ModelSTM32G473
CategoryMicrocontrollers
LanguageEnglish

Related product manuals