Toshiba TLCS-900/L1 Series Manual page 146

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 eight AD conversion data upper and lower registers (ADREG04H/L,
ADREG15H/L, ADREG26H/L, and ADREG37H/L) store the results of AD conversion.
Figure 3.11.2 shows the registers related to the AD converter.
ADMOD0
Bit symbol
EOCF
(02B0H)
Read/Write
After reset
Function
AD
conversion
end flag
0: Conversion
in progress
1: Conversion
complete
AD Mode Control Register 0
7
6
5
ADBF
R
0
0
0
AD
Always
conversion
write "0".
busy flag
0: Conversion
stopped
1: Conversion
in progress
Figure 3.11.2 AD Converter Related Register
91C829-144
4
3
ITM0
REPEAT
R/W
0
0
Always
Interrupt
Repeat mode
write "0".
specification
specification
in conversion
0: Single
channel fixed
conversion
repeat mode
1: Repeat
0: Every
conversion
conversion
mode
1: Every
fourth
conversion
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
TMP91C829
2
1
0
SCAN
ADS
0
0
0
Scan mode
AD
specification
conversion
0: Conversion
start
channel
0: Don't care
fixed mode
1: Start
1: Conversion
conversion
channel
Always "0"
scan mode
when read.
2006-03-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp91c829

Table of Contents