SW00ENB-ZCC Toshiba, SW00ENB-ZCC Datasheet - Page 285

no-image

SW00ENB-ZCC

Manufacturer Part Number
SW00ENB-ZCC
Description
MCU, MPU & DSP Development Tools CASEWORKS
Manufacturer
Toshiba
Datasheet

Specifications of SW00ENB-ZCC

Tool Type
Development Software Support
Core Architecture
870
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
17. Real-Time Clock (RTC)
17.1 Implemention
RTCCR
(0xFFFF_F0A0)
(32.768 kHz)
periodic interrupt at a programmed interval: 0.0625 seconds, 0.125 seconds, 0.25 seconds or 0.50 seconds.
The IMCGB3 register located within the CG must be programmed to use the INTRTC interrupt.
The TMP1940CYAF contains a real-time clock (RTC). Clocked by a 32.768-kHz clock, the RTC provides a
The RTC can continue operating in any standby modes in which the low-speed oscillator is active.
The RTC interrupt (INTRTC) can be used as a wake-up signal to exit a standby mode (except STOP mode).
fs
shown below.
Figure 17.1 shows a block diagram of the RTC.
The RTC Control Register (RTCCR) provides control over the RTC. The organization of the RTCCR is
Name
Read/Write
Reset Value
Function
RTCCR.RTCRUN
RTCCR.RTCSEL
Must be
written as
0.
R/W
Figure 17.2 RTC Control Register (RTCCR)
7
0
Run/Clear
Figure 17.1 RTC Block Diagram
6
TMP1940CYAF-243
14-Stage Binary Counter
5
2
11
Selector
4
2
12
2
Accumu-
lator clear
0: Clear
1: Don’t
13
RTCRCLR RTCSEL1 RTCSEL0
RTCREG
care
R/W
2
14
3
0
Accumulator
Interrupt interval (fs
RTCREG
00: 2
01: 2
10: 2
11: 2
00
01
10
11
TMP1940CYAF
8-Bit
2
0
14
13
12
11
/fs
/fs
/fs
/fs
0.50 seconds
0.25 seconds
0.125 seconds
0.0625 seconds
R/W
1
0
Interrupt Request
32.768 kHz)
(INTRTC)
0: Stop and
1: Begin
RTCRUN
clear the
counter.
counting.
R/W
0
0

Related parts for SW00ENB-ZCC