TMP91xy40FG Toshiba, TMP91xy40FG Datasheet - Page 165

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
3.13.3.2 Alarm Generator
(How to use the alarm generator)
(Alarm pattern setting table)
(Programming example)
of 4096 Hz modulated from the low-frequency clock (32.768 kHz). These waveforms
are output on the
connecting an external speaker, the alarm output function can easily be implemented.
The free-running counter in the alarm generator can be used to generate five types of
interrupts (1 Hz, 2Hz, 64 Hz, 512 Hz, 8192 Hz) at fixed intervals.
The alarm generator can generate eight patterns of alarm waveforms at a frequency
output on the
free-running counter. Next the alarm pattern must then be set on the 8-bit
register of ALM. If it is inverted output-data, set MELALMC<ALMINV> as invert.
Finally set the MELALMC<FC1:0> to 11 to start the free-running counter.
output waveforms are shown below.
First, set the MELALMC<MELALM> bit to 0 so that alarm waveforms can be
To stop the alarm output, write 00H to the ALM register.
Alarm pattern setting values, a programming example and alarm pattern
Generating the AL2 pattern (31.25 ms/8 times/1 s) alarm
ALM Register
Value
Other
00H
01H
02H
04H
08H
10H
20H
40H
80H
LD
LD
LD
(MELALMC), C0H
(MELALMC), 80H
(ALM), 02H
MLDALM
MLDALM
Alarm Waveform
91CW40-163
pin, and set the MELALMC<FC1:0> field to 10 to clear the
AL1 pattern
AL2 pattern
AL3 pattern
AL4 pattern
AL5 pattern
AL6 pattern
AL7 pattern
AL8 pattern
(Don’t use)
Undefined
Fixed to 0
pin and can also be inverted by register programming. By
; Set AL2 pattern
; Free-running counter start
; Select output alarm waveform
; Free-running counter clear
TMP91CW40
2008-09-19

Related parts for TMP91xy40FG