TMP91xy40FG Toshiba, TMP91xy40FG Datasheet - Page 190

no-image

TMP91xy40FG

Manufacturer Part Number
TMP91xy40FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP91xy40FG

Package
LQFP100
Rom Types(m=mask,p=otp, F=flash,e=eeprom)
M/F
Rom Combinations
128
Ram Combinations
4
Architecture
16-bit CISC
Usb/spi Channels
-
Uart/sio Channels
4
I2c/sio Bus Channels
-
(s)dram Controller
-
Adc 10-bit Channel
4
Da Converter
-
Timer 8-bit Channel
4
Timer 16-bit Channel
3
Pwm 8-bit Channels
-
Pwm 16-bit Channels
-
Cs/wait Controller
-
Dual Clock
Y
Number Of I/o Ports
61
Power Supply Voltage(v)
2.2 to 3.6
Programming examples:
a.
b.
Converting the analog input voltage on the AN3 pin to a digital value and storing the
converted value in a memory location (1800H) using the AD interrupt (INTAD) service
routine
Converting the analog input voltages on the AN0 to AN2 pins sequentially in channel
scan continuous conversion mode
X: Don’t care, −: No change
Settings in the main routine
INTE0AD
ADMOD1
ADMOD0
INTE0AD
ADMOD1
ADMOD0
Interrupt routine processing example
WA
WA
(1800H)
← X 0 0 0 − − − −
← 1 1 X X 0 0 1 0
← X X 0 0 0 1 1 1
← X 1 0 0 − − − −
← 1 1 X X 0 0 1 1
← X X 0 0 0 0 0 1
← ADREG37
> > 6
← WA
7 6 5 4 3 2 1 0
91CW40-188
Disable INTAD.
Select AN0 to AN2 as the analog input channels.
Start conversion in channel scan continuous conversion mode.
Enable INTAD and set its priority level to 4.
Select AN3 as the analog input channel.
Start conversion in fixed-channel single conversion mode.
Load the conversion result into 16-bit general-purpose register
Shift the contents of WA 6 bits to the right, padding 0s to the
vacated high-order bits.
Store the contents of WA at address 1800H.
WA from ADREG37L and ADREG37H.
TMP91CW40
2008-09-19

Related parts for TMP91xy40FG