Toshiba TLCS-900/H1 Series Data Book page 286

32bit micro controller
Hide thumbs Also See for TLCS-900/H1 Series:
Table of Contents

Advertisement

3.11.1 Analog/Digital converter registers
The AD converter is controlled by the three AD Mode Control Registers: ADMOD0, ADMOD1
and ADMOD2. The five AD Conversion Data Result Registers (ADREG0H/L to ADREG3H/L)
store the results of AD conversion.
Figure 3.11.2 shows the registers related to the AD converter.
Bit symbol
EOCF
ADMOD0
(12B8H)
Read/Write
After Reset
AD
Conversion
End flag
0: conversion
Function
in progress
1: conversion
complete
AD Mode Control Register 0
7
6
5
ADBF
R
0
0
0
A D
Note:
Conversion
Always
Busy flag
fixed to 0
0: conversion
stopped
1: Conversion
in progress
Figure 3.11.2 AD Converter Related Register
92CH21 - 282
4
3
ITM0
REPEAT
0
0
Note:
Interrupt
Repeat mode
Always
specification
specification
fixed to 0
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
TMP92CH21
2
1
0
SCAN
ADS
R/W
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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp92ch21fg

Table of Contents