
11
11-14
A-D Converter
32176 Group User’s Manual (Rev.1.01)
11.2 A-D Converter Related Registers
11.2.1 A-D Single Mode Register 0
A-D0 Single Mode Register 0 (AD0SIM0)
<Address: H’0080 0080>
123456
b7
b0
ADSTRG0
ADSTRG1
ADSSEL
ADSREQ
ADSSTT
ADSSTP
ADSCMP
0
000100
0
<Upon exiting reset: H’04>
b
Bit Name
Function
R
W
0
ADSTRG1 (Note 1)
Bits 0 and 2 are used to select an A-D hardware trigger.R
W
A-D hardware trigger select 1 bit
b0 b2
0
: Input event bus 2
0
1
: Input event bus 3
1
0
: Output event bus 3
1
: TIN23S signal
1
No function assigned. Fix to "0".
00
2
ADSTRG0 (Note 1)
Bits 0 and 2 are used to select an A-D hardware trigger.
R
W
A-D hardware trigger select 0 bit
(See the column for bit 0.)
3
ADSSEL
0: Software trigger
R
W
A-D conversion start trigger select bit
1: Hardware trigger (Note 2)
4
ADSREQ
0: A-D conversion interrupt request
R
W
A-D Interrupt/DMA transfer request select bit
1: DMA transfer request
5
ADSCMP
0: A-D conversion/comparate in progress
R
–
A-D conversion/comparate completed bit
1: A-D conversion/comparate completed
6
ADSSTP
0: No operation
0
W
A-D conversion stop bit
1: Stop A-D conversion
7
ADSSTT
0: No operation
0
W
A-D conversion start bit
1:Start A-D conversion
Note 1: Two bits—bit 0 (A-D hardware trigger select 1) and bit 2 (A-D hardware trigger select 0)—are used to select an A-D hardware
trigger.
Note 2: During comparator mode, hardware triggers, if any selected, are ignored and operation is started by a software trigger.
A-D Single Mode Register 0 is used to control operation of the A-D Converter during single mode (including
“Forcible single mode execution during scan mode”).
(1) ADSTRG (A-D Hardware Trigger Select) bits (Bits 0 and 2)
These bits select a hardware trigger when A-D conversion by the A-D Converter is to be started in hardware.
Select one from the following hardware trigger sources:
A-D0 Converter: Input event bus 2
Input event bus 3
Output event bus 3
TIN23 edge select output
The contents of these bits are ignored if a software trigger is selected by ADSSEL (A-D conversion start
trigger select bit).