TMP92xy22FG Toshiba, TMP92xy22FG Datasheet - Page 135

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
3.8.4
Operation in Each Mode
(1) 16-bit interval timer mode
(2) 16-bit event counter mode
TB0RUN
INTETB0
TB0FFCR
TB0MOD
TB0RG1
TB0RUN
X : Don’t care, − : No change
TB1RUN
PDCR
PDFC
INTETB1
TB1FFCR
TB1MOD
TB1RG1
TB1RUN
Note: When used as an event counter, set the prescaler to “RUN” (TB1RUN<TB1PRUN> = “1”).
X: Don’t care, −: No change
timer register TB0RG1H/L to generate the interrupt INTTB01.
by selecting the external clock (TB1IN0 pin input) as the input clock.
capture and reading capture value enable reading count value.
Generating interrupts at fixed intervals in this example, the interval time is set the
In 16-bit timer mode as described in above, the timer can be used as an event counter
Up counter counting up by rising edge of TB1IN0 pin input. And execution software
← 0 0 X X − 0 X 0
← X 1 0 0 X 0 0 0
← 1 1 0 0 0 0 1 1
← * * * * * * * *
← 0 0 X X − 1 X 1
← 0 0 X X − 0 X 0
← X X X X − − − 0
← X X X X − − − 1
← X 1 0 0 X 0 0 0
← 1 1 0 0 0 0 1 1
← 0 0 1 0 0 1 0 0
← 0 0 X X − 1 X 1
← 0 0 1 0 0 1 * *
← * * * * * * * *
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
* * * * * * * *
* * * * * * * *
(** = 01, 10, 11)
92CM22-133
Stop TMRB0.
Enable INTTB01 and set interrupt level 4. Disable
INTTB00.
Disable the trigger.
Set the interval time.
(16 bits)
Start TMRB0.
Set input clock to prescaler clock, and set capture function
to disable.
Stop TMRB1.
Set PD0 to TB1IN0 input mode.
Set INTTB11 to enable (Interrupt level4).
Set INTTB00 to disable.
Set trigger to disable.
Set input clock to TB1IN0 pin input.
(16 bits)
Start TMRB1.
Set number of count.
TMP92CM22
2007-02-16

Related parts for TMP92xy22FG