|
SH7059 Datasheet, PDF (610/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer | |||
|
◁ |
19. Multi-Trigger A/D Converter (MTAD)
19.2 Register Descriptions
19.2.1 A/D Trigger Control Registers 0 and 1 (ADTCR0 and ADTCR1)
A/D trigger control registers 0 and 1 (ADTCR0 and ADTCR1) are 8-bit readable/writable registers whose functions
include selection of the prescaler.
ADTCR0 and ADTCR1 are initialized to H'00 by a power-on reset, and in hardware standby mode and software standby
mode.
Bit:
7
6
5
CKSEL1x CKSEL0x
â
Initial value:
0
0
0
R/W:
R/W
R/W
R
4
3
2
1
0
â
DTSELxB DTSELxA ADSELxB ADSELxA
0
0
0
0
0
R
R/W
R/W
R/W
R/W
⢠Bits 7 and 6âClock Select 1 and 0 (CKSEL1x and CKSEL0x): Halt the counter or select internal clock Ïâ from
among Ï/2, Ï/5, and Ï/10, which are obtained by dividing clock Ï.
Bit 7: CKSEL1x
0
1
Bit 6: CKSEL0x
0
1
0
1
Description
Counter is halted
Counter is incremented with internal clock Ï = Ï/2
Counter is incremented with internal clock Ï = Ï/5
Counter is incremented with internal clock Ï = Ï/10
⢠Bits 5 and 4âReserved: These bits are always read as 0. The write value should always be 0.
⢠Bit 3âDuty Select 1B or 0B (DTSEL1B or DTSEL0B): Selects either on-duty or off-duty for the PWM output from
ADTOxB of channel xB.
Bit 3: DTSELxB
0
1
Note: x = 0 or 1.
Description
On-duty for the PWM output from ADTOxB
Off-duty for the PWM output from ADTOxB
(Initial value)
⢠Bit 2âDuty Select 1A or 0A (DTSEL1A or DTSEL0A): Selects either on-duty or off-duty for the PWM output from
ADTOxA of channel xA.
Bit 2: DTSELxA
0
1
Note: x = 0 or 1.
Description
On-duty for the PWM output from ADTOxA
Off-duty for the PWM output from ADTOxA
(Initial value)
⢠Bit 1âA/D Data Select 1B (ADSEL1B): Selects the register to which the result of multi-trigger A/D conversion is
transferred.
This bit is inverted when the ADDR register is updated by the multi-trigger A/D conversion.
Switching settings during the multi-trigger A/D conversion operation should be carried out when TADF1B (ADTSR1
register) is 1.
Rev.3.00 Mar. 12, 2008 Page 520 of 948
REJ09B0177-0300
|
▷ |