tmp1941af TOSHIBA Semiconductor CORPORATION, tmp1941af Datasheet - Page 278

no-image

tmp1941af

Manufacturer Part Number
tmp1941af
Description
32-bit Tx System Risc
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP1941AF
Manufacturer:
TOSHIBA
Quantity:
48
Part Number:
TMP1941AF
Quantity:
4
Part Number:
tmp1941af(Z)
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
RTCREG
(0xFFFF_F0A4)
interrupts that have occurred. The accumulator allows the user to keep track of time up to 127.5 seconds if
the interrupt interval is programmed to 0.5 seconds.
of the RTCREG must be performed in SLOW mode. The resetting of the RTCREG is inhibited for one fs
clock cycle after the INTRTC interrupt is generated. The RTCREG can be reset to zero by executing the
accumulator-clear command twice in SLOW mode.
The RTC provides an 8-bit read-only accumulator (RTCREG) that counts the number of INTRTC
The RTCREG is incremented with a delay of one fs clock after the INTRTC interrupt is generated. Reads
Example 1: Clearing the accumulator
Example 2: Programming the RTC interrupt interval
Name
Read/Write
Reset Value
Function
INTRTC interrupt
X = Don't care
SYSCR1
RTCCR
RTCCR
SYSCR1
Initialization
IMCGB3
IMCEHL
EICRCG
INTCLR
RTCCR
EICRCG
INTCLR
Interrupt processing
End of interrupt
fs Clock
INTRTC Interrupt
Accumulate
Count Value
Note: To disable interrupts, program the IMCEHL and then the IMCGB3 in this order.
Figure 17.3 RTC Accumulator Register (RTCREG)
← X X 1 − − X − −
← 0 X X X 0 − − 1
← 0 X X X 0 − − 1
← X X 0 − − X − −
← 0 0 1 1 0 0 0 1
← 0 0 0 1 0 X X X
← 0 0 0 0 0 1 1 1
← 0 0 1 1 1 0 1 0
← 0 0 0 0 1 X X 1
← 0 0 0 0 0 1 1 1
← 0 0 1 1 1 0 1 0
RUI7
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
7
0
RUI6
6
0
n
TMP1941AF-238
Accumulator
RUI5
5
0
Don’t execute an instruction
Puts the TMP1941AF in SLOW mode.
Executes accumulator-clear command twice.
Puts the TMP1941AF back in NORMAL Mode.
Sets the interrupt level.
Clears the interrupt request via the CG block.
Clears the interrupt request via the INTC block.
Starts counting.
Clears the interrupt request via the CG block.
Clears interrupt request via the INTC block.
to reset the accumulator
Accumulate count value
during this period.
RUI4
4
0
R
RUI3
3
0
RUI2
2
0
TMP1941AF
n+1
RUI1
1
0
2003-03-27
RUI0
0
0

Related parts for tmp1941af