tmp19a43fzxbg TOSHIBA Semiconductor CORPORATION, tmp19a43fzxbg Datasheet - Page 349

no-image

tmp19a43fzxbg

Manufacturer Part Number
tmp19a43fzxbg
Description
32bit Tx System Risc
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
RTCREG
(0xFFFF_F0A4) Read/Write
Example 1: Clearing the accumulator
Example 2: Setting up a timer for real-time clock interrupt
Initial settings
INTRTC interrupt
Note 1: X = Don't care
Note 2: To disable interrupts, set IMCEHL before setting IMCGB3.
timer for real-time clock interrupts which have been generated. If, for example, an interrupt generation
cycle of 0.5 second is selected, this register can hold a cumulative count for up to 127.5 seconds.
clock. The accumulator must be read in SLOW mode.
generation of an INTRTC interrupt. To clear the accumulator, execute two clear accumulator instructions
in SLOW mode.
SYSCR1
SYSCR1
RTCCR
RTCCR
IMCGB3
IMCEHL
EICRCG
INTCLR
RTCCR
EICRCG
INTCLR
Processing
End of interrupt
Bit symbol
After Reset
Function
The timer for real-time clock has an accumulator which, when set, holds a cumulative count of the
Each time an INTRTC interrupt is generated, the accumulator is incremented after one cycle of the fs
An instruction for clearing the accumulator is not accepted within one fs clock cycle after the
fs Clock
INTRTC Interrupt
Accumulated
Counter Value
Figure 3.18.3 Accumulator of Timer for Real-Time Clock
RUI7
7
0
7 6 5 4 3 2 1 0
x x 1 ⎯ ⎯ x ⎯ ⎯
x x 0 ⎯ ⎯ x ⎯ ⎯
7 6 5 4 3 2 1 0
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
7 6 5 4 3 2 1 0
0 0 0 0 0 1 1 1
0 0 1 1 1 0 1 0
0 x x x 0 ⎯ ⎯ 1
0 x x x 0 ⎯ ⎯ 1
RUI6
6
0
TMP1942CY/CZ-348
Accumulator
RUI5
5
0
n
Set interrupt level.
Clear interrupt request for CG block.
Clear interrupt request for INTC block.
Start timer counting.
Clear interrupt request for CG block.
Clear interrupt request for INTC block.
Select SLOW mode.
Clear accumulator twice.
Restore NORMAL mode.
Accumulate count value
RUI4
Instruction for clearing
accumulated counter
value not accepted
4
0
R
RUI3
3
0
TMP1942CY/CZ
RUI2
2
0
n+1
RUI1
1
0
RUI0
0
0

Related parts for tmp19a43fzxbg