TMP91xy40FG Toshiba, TMP91xy40FG Datasheet - Page 159

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.12.6
Note: This set up time is unnecessary when you use only internal interruption.
following three signals from
outputs a 1-shot pulse when the falling edge is detected. RTC is not initialized by RESET.
Therefore, when the clock or alarm function is used, clear interrupt request flag in INTC
(interrupt controller).
Explanation of the interrupt signal and alarm signal
(1) When the alarm register and the clock correspond, output “0”.
(2) 1Hz Output clock.
(3) 16Hz Output clock.
(1) When the alarm register and the clock correspond, output “0”
The alarm function used by setting the PAGE1 register and outputting either of the
PAGE1 alarm register output “0” to
settings become Don’t care. In this case, the alarm always corresponds with value of
the clock, and if PAGER<ENAALM> is “1”, INTRTC interrupt request is generated.
the relevant PAGE1 register.
PAGER<INTENA><ENAALM> is “1”. However, contents which have not been set up
(don't care state) are always considered to correspond.
Don’t care state. In this case, the alarm must be initialized and alarm register reset.
noon (PM12:00) every day.
one clock at 32 kHz (about 30us) for the time register setting to become valid. In the
above example, it is necessary to set 31us of set up time between setting the time
register and enabling the alarm register.
When PAGER<ENAALM>= “1”, and the value of PAGE0 clock corresponds with
The methods for using the alarm are as follows:
Initialization of alarm is done by writing in “1” to RESTR<RSTALM>. All alarm
Setting alarm min., alarm hour, alarm date and alarm day is done by writing data to
When all setting contents correspond, RTC generates an INTRTC interrupt, if
Contents which have already been set up, cannot be returned independently to the
The following is an example program for outputting an alarm from
When the CPU is operating at high frequency oscillation, it may take a maximum of
( LD
LD
LD
LD
LD
LD
LD
LD
(PAGER), 09H
(RESTR), D0H
(DAYR), 01H
(DATAR),01H
(HOURR), 12H
(MINR), 00H
(PAGER), 0CH
(PAGER), 8CH
ALARM
91CW40-157
;
;
;
;
;
;
;
;
pin by writing “1” to PAGER<PAGE>. INTRTC
ALARM
Alarm initialize
W0
1 day
Setting 12 o’clock
Setting 00 min
Set up time 31 μs (Note)
Alarm enable
Interrupt enable )
Alarm disable, setting PAGE1
pin and generate INTRTC.
ALARM
TMP91CW40
2008-09-19
-pin at

Related parts for TMP91xy40FG