TMP92xy22FG Toshiba, TMP92xy22FG Datasheet - Page 212

no-image

TMP92xy22FG

Manufacturer Part Number
TMP92xy22FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP92xy22FG

Package
LQFP100
Rom Types(m=mask,p=otp, F=flash,e=eeprom)
Romless
Rom Combinations
Romless
Ram Combinations
32
Architecture
32-bit CISC
Usb/spi Channels
-
Uart/sio Channels
2
I2c/sio Bus Channels
1
(s)dram Controller
-
Adc 10-bit Channel
8
Da Converter
-
Timer 8-bit Channel
4
Timer 16-bit Channel
2
Pwm 8-bit Channels
-
Pwm 16-bit Channels
-
Cs/wait Controller
4
Dual Clock
-
Number Of I/o Ports
50
Power Supply Voltage(v)
3.0 to 3.6
Example:
1.
2.
Convert the analog input voltage on the AN3 pin and write the result, to memory
address 0800H using the AD interrupt (INTAD) processing routine.
Converts repeatedly the analog input voltages on the three pins AN0, AN1, and
AN2, using channel scan repeat conversion mode.
INTE0AD ← X 0 0 0 − − − −
ADMOD1 ← 1 1 0 0 0 0 1 0
ADMOD0 ← X X 0 0 0 1 1 1
X : Don’t care, − : No change
Setting of main routine
INTE0AD ← X 1 0 0 − − − −
ADMOD1 ← 1 1 0 0 0 0 1 1
ADMOD0 ← X X 0 0 0 0 0 1
Interrupt routine processing example
WA
WA
(0800H)
← ADREG3
> > 6
← WA
7 6 5 4 3 2 1 0
92CM22-210
Disable INTAD.
Set pins AN0 to AN2 to be the analog input channels.
Start conversion in channel scan repeat conversion
mode.
Enable INTAD and set it to interrupt level 4.
Set pin AN3 to the analog input channel.
Start conversion in channel fixed single conversion
mode.
Read value of ADREG3L, ADREG3H to general
purpose register WA (16 bits).
Shift contents read into WA six times to right and zero-fill
upper bits.
Write contents of WA to memory address 0800H.
TMP92CM22
2007-02-16

Related parts for TMP92xy22FG