Toshiba TLCS-900/L1 Series Manual page 185

Original cmos 16-bit microcontroller
Hide thumbs Also See for TLCS-900/L1 Series:
Table of Contents

Advertisement

3.11.1
Analog/Digital Converter Registers
The AD converter is controlled by the two AD mode control registers: ADMOD0 and
ADMOD1. The AD conversion results are stored in 8 kinds of AD conversion data upper
and lower registers: ADREG04H/L, ADREG15H/L, ADREG26H/L and ADREG37H/L.
Figure 3.11.2 shows the registers related to the AD converter.
7
ADMOD0
Bit symbol
EOCF
(02B0H)
Read/Write
After reset
0
Function
AD
conversion
end flag
0: Conversion
in progress
1: Conversion
complete
AD Mode Control Register 0
6
5
4
ADBF
R
0
0
0
Always
Always
AD
write 0
write 0
conversion
busy flag
0: Conversion
stopped
1: Conversion
in progress
Figure 3.11.2 AD Converter Related Register
91C824-183
3
2
1
ITM0
REPEAT
SCAN
R/W
0
0
0
Interrupt
Repeat mode
Scan mode
specification
specification
specification
in conversion
0: Single
0: Conversion
channel fixed
conversion
channel
repeat mode
1: Repeat
fixed
0: Every
conversion
mode
conversion
mode
1: Conversion
1: Every
channel
fourth
scan
conversion
mode
AD conversion start
0
Don't care
1
Start AD conversion
Note: Always read as 0.
AD scan mode setting
0
AD conversion channel fixed mode
1
AD conversion channel scan mode
AD repeat mode setting
0
AD single conversion mode
1
AD repeat conversion mode
Specify AD conversion interrupt for channel fixed
repeat conversion mode
Channel fixed repeat conversion mode
<SCAN> = 0, <REPEAT> = 1
0
Generates interrupt every conversion.
1
Generates interrupt every fourth conversion.
AD conversion busy flag
0
AD conversion stopped
1
AD conversion in progress
AD conversion end flag
0
Before or during AD conversion
1
AD conversion complete
TMP91C824
0
ADS
0
AD
conversion
start
0: Don't care
1: Start
conversion
Always 0
when read
2008-02-20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp91c824fgJtmp91c824-s

Table of Contents