|
M38B5XMXH Datasheet, PDF (218/355 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
APPLICATION
2.5 A-D converter
Control procedure: A-D converter is started by performing register setting shown Figure 2.5.8.
Figure 2.5.9 shows the control procedure.
ADCON (address 003216), bit 0âbit 3 â 00002
ADCON (address 003216), bit 4
â0
⢠P70/AN0 pin selected as analog input pin
⢠A-D conversion start
0
ADCON (address 003216), bit 4 ?
1
Read out ADH (address 003416)
⢠Judgment of A-D conversion completion
⢠Read out of high-order (b9âb2) conversion result
Read out ADL (address 003316)
⢠Read out of low-order (b1, b0) conversion result
Fig. 2.5.9 Control procedure
2-130
38B5 Group Userâs Manual
|
▷ |