Rev. 1.0, 09/02, page 430 of 568
17.3 Register
Description
The A/D converter has the following registers. Module stop mode for the A/D converter is
specified with the MSTPA1 bit in the module stop control register (MSTPCRA). For details on the
module stop control register A (MSTPCRA), refer to section 21.1.2, Module Stop Control
Register A to C (MSTPCRA to MSTPCRC).
•
A/D data register A (ADDRA)
•
A/D data register B (ADDRB)
•
A/D data register C (ADDRC)
•
A/D data register D (ADDRD)
•
A/D control/status register (ADCSR)
•
A/D control register (ADCR)
17.3.1
A/D Data Registers A to D (ADDRA to ADDRD)
There are four 16-bit read-only ADDR registers ADDRA to ADDRD, used to store the results of
A/D conversion. The ADDR registers to store conversion results for each channel are shown in
table 17.2.
The converted 10-bit data is stored in bits 6 to 15 in ADDR. The lower 6 bits are always read as 0.
The data bus between the CPU and the A/D converter is 8 bits wide. The upper byte can be read
directly from the CPU, however the lower byte should be read via a temporary register. The
temporary register contents are transferred from the ADDR when the upper byte data is read.
When reading the ADDR, always read the upper byte first, and then read the lower byte, or read in
word unit. Otherwise, the read contents are not guaranteed.
Table 17.2 Analog Input Channels and Corresponding ADDR Registers
Analog Input Channel
CH3 = 0
CH3 = 1
Group 0
(CH2 = 0)
Group 1
(CH2 = 1)
Group 2
(CH2 = 0)
Group 3
(CH2 = 1)
A/D Data Register to
Store the A/D
Conversion Results
AN0 AN4
AN8 AN12
ADDRA
AN1 AN5
AN9 AN13
ADDRB
AN2 AN6
AN10
AN14
ADDRC
AN3 AN7
AN11
AN15
ADDRD
Содержание H8S/2627
Страница 22: ...Rev 1 0 09 02 page xx of xxxvi Index 565 ...
Страница 30: ...Rev 1 0 09 02 page xxviii of xxxiv ...
Страница 36: ...Rev 1 0 09 02 page xxxiv of xxxiv Table 23 9 Flash Memory Characteristics 561 ...
Страница 82: ...Rev 1 0 09 02 page 46 of 568 ...
Страница 88: ...Rev 1 0 09 02 page 52 of 568 ...
Страница 98: ...Rev 1 0 09 02 page 62 of 568 ...
Страница 156: ...Rev 1 0 09 02 page 120 of 568 ...
Страница 390: ...Rev 1 0 09 02 page 354 of 568 ...
Страница 480: ...Rev 1 0 09 02 page 444 of 568 ...
Страница 512: ...Rev 1 0 09 02 page 476 of 568 ...
Страница 527: ...Rev 1 0 09 02 page 491 of 568 21 8 5 Writing to MSTPCR MSTPCR should only be written to by the CPU ...
Страница 528: ...Rev 1 0 09 02 page 492 of 568 ...
Страница 580: ...Rev 1 0 09 02 page 544 of 568 ...