24 a/D COnVeRTeR (aDC10)
24-12
Seiko epson Corporation
S1C17624/604/622/602/621 TeChniCal Manual
D1
aDCTl: a/D Conversion Control Bit
Controls A/D conversion.
1 (W):
Software trigger
0 (W):
Stop A/D conversion
1 (R):
Being converted
0 (R):
Conversion completed/standby (default)
Write 1 to ADCTL to start A/D conversion by a software trigger. If any other trigger is used, ADCTL is
automatically set to 1 by the hardware.
ADCTL remains set while A/D conversion is underway. In one-time conversion mode, upon completion
of A/D conversion in the specified channels, ADCTL is reset to 0 and the A/D conversion circuit stops
operating. To stop A/D conversion during operation in continuous conversion mode, reset ADCTL by
writing 0.
When ADEN is 0, no trigger will be accepted.
D0
aDen: aDC10 enable Bit
Enables or disables the A/D converter operations.
1 (R/W): Enabled
0 (R/W): Disabled (default)
Writing 1 to ADEN enables the A/D converter, meaning it is ready to start A/D conversion (i.e., ready
to accept a trigger).
When ADEN is 0, the A/D converter is disabled, meaning it is unable to accept a trigger. However, set-
ting ADEN to 0 does not stop A/D conversion being currently executed. To stop A/D conversion, write
0 to ADCTL.
Before setting the modes, start/end channels, or other A/D converter conditions, be sure to reset ADEN
to 0. This helps to prevent the A/D converter from operating erratically.
a/D Clock Control Register (aDC_DiV)
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
a/D Clock
Control Register
(aDC_DiV)
0x5386
(16 bits)
D15–4 –
reserved
–
–
–
0 when being read.
D3–0 aDDF[3:0] A/D converter clock division ratio
select
ADDF[3:0]
Division ratio
0x0 R/W Source clock = PCLK
0xf
0xe
0xd
0xc
0xb
0xa
0x9
0x8
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
reserved
1/32768
1/16384
1/8192
1/4096
1/2048
1/1024
1/512
1/256
1/128
1/64
1/32
1/16
1/8
1/4
1/2
D[15:4] Reserved
D[3:0]
aDDF[3:0]: a/D Converter Clock Division Ratio Select Bits
Selects a PCLK division ratio to generate the A/D converter clock.