W7500x Reference Manual Version1.1.0
181 / 399
20.3
Functional description
Figure 19 shows the ADC block diagram.
9-to-1
MUX
Digital&SAR
Logic
+
CMP
DAC
+
-
+
-
REF
Controller
(Registers)
SMPSEL
PWD
CHSEL[3:0]
START
CLK
RST
DATA[11:0]
EOC
RSTn
ADCCLK
APB IF
ADC_IN[9:0]
MASK
INT
INT
INT CTRL
INTCLR
Figure 19. ADC block diagram
Operation ADC with non-interrupt
Figure 20 shows the flowchart of ADC operation with non-interrupt.
ADC can be used as below:
1.
ADC needs to be initialized before operation.
To initialize the ADC, clear the PWD bit first.
2.
Select the ADC channel from 0 to 7 and 15 (initial core voltage).
3.
Run start ADC conversion by set ADC_SRT bit.
4.
Check INT bit to know finish of conversion.
5.
If INT bit is high (1), read ADC conversion data.
6.
Finally, ADC operation is finished by setting the PWD bit.
Содержание W7500
Страница 28: ...W7500x Reference Manual Version1 1 0 28 399 Memory map Figure 2 W7500x memory map ...
Страница 324: ...W7500x Reference Manual Version1 1 0 324 399 Figure 46 UART character frame ...
Страница 391: ...W7500x Reference Manual Version1 1 0 391 399 1 SSP1 must not drive the SSPTXD output in slave mode ...