TMP93xy20FG Toshiba, TMP93xy20FG Datasheet - Page 121

no-image

TMP93xy20FG

Manufacturer Part Number
TMP93xy20FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP93xy20FG

Package
LQFP144
Rom Types(m=mask,p=otp, F=flash,e=eeprom)
M/P
Rom Combinations
64
Ram Combinations
2
Architecture
16-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
4
Pwm 8-bit Channels
-
Pwm 16-bit Channels
-
Cs/wait Controller
-
Dual Clock
Y
Number Of I/o Ports
88
Power Supply Voltage(v)
4.5 to 5.5
TRUN
INTET54
T4FFCR
T4MOD
TREG5
TRUN
TRUN
P4CR
INTET54
T4FFCR
T4MOD
TREG5
TRUN
a.
b.
16-bit interval timer mode
the interrupt INTTR5.
16-bit event counter mode
event counter by selecting the external clock (TI4 pin input) as the input clock.
The counter counts at the rising edge of the TI4 pin input. To read the value of the
counter, first perform “software capture” once and read the captured value.
be selected.
Generating interrupts at fixed intervals:
In this example, the interval time is set in the timer register TREG5 to generate
← − X − 0 − − − −
← 1 1 0 0 1 0 0 0
← X X 0 0 0 0 1 1
← 0 0 1 0 0 1 *
← *
← 1 X − 1 − − − −
In 16-bit timer mode as described in (a.) above, the timer can be used as an
The TI4 pin can also be used as P40 or KEY0. However these functions can not
Starting timer 4 sets always event counting operation.
← − X − 0 − − − −
← − − − − − − − 0
← 1 1 0 0 1 0 0 0
← X X 0 0 0 0 1 1
← 0 0 1 0 0 1 0 0
← *
← 1 X − 1 − − − −
X: Don’t care, −: No change
X: Don’t care, −: No change
When using this set up as an event counter, set the prescaler in RUN mode.
(TRUN<PRRUN> = 1)
7 6 5 4 3 2 1 0
*
7 6 5 4 3 2 1 0
*
*
*
*
*
*
*
*
*
(** = 01, 10, 11)
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
93CS20-119
*
*
*
*
*
Stop timer 4.
Enable INTTR5 and set interrupt level 4. Disable INTTR4.
Disable trigger.
Select internal clock for input and disable the capture
function.
Set the interval time (16 bits).
Start timer 4.
Stop timer 4.
Set P40 to input mode.
Enable INTTR5 and sets interrupt level 4, while disables
INTTR4.
Disable trigger.
Select TI4 as the input clock.
Set the number of counts (16 bits).
Start timer 4.
TMP93CS20
2004-02-10

Related parts for TMP93xy20FG