17.3 Detailed Description Register
17.3.1 Register List
The registers and the addresses related to RTC are shown as below.
RTC has two functions, PAGE0 (clock) and PAGE1 (alarm), which share some parts of registers.
The PAGE can be selected by setting RTCPAGER<PAGE >.
Base Address = 0x4004_0100
Register name
Address(Base+)
Second column register (only PAGE0)
RTCSECR
0x0000
Minute column register
RTCMINR
0x0001
Hour column register
RTCHOURR
0x0002
-
(
N
ote 1)
-
0x0003
Day of the week column register
RTCDAYR
0x0004
Day column register
RTCDATER
0x0005
Month column register (PAGE0)
RTCMONTHR
0x0006
Selection register of 24-hour,12-hour (PAGE1)
Year column register (PAGE0)
RTCYEARR
0x0007
Leap year register (PAGE1)
PAGE register
RTCPAGER
0x0008
- (
N
ote 1)
-
0x0009
- (
N
ote 1)
-
0x000A
- (
N
ote 1)
-
0x000B
Reset register
RTCRESTR
0x000C
Reserved
-
0x000D
- (
N
ote 1)
-
0x000E
- (
N
ote 1)
-
0x000F
Note 1: "0" is read by reading the address. Writing is disregarded.
Note 2: Access to the "Reserved" areas is prohibited.
17.3.2 Control Register
Reset operation initializes the following registers.
・
RTCPAGER<PAGE>, <ADJUST>, <INTENA>
・
RTCRESTR<RSTALM>, <RSTTMR>, <DIS16HZ>, <DIS1HZ>, <DIS2HZ>, <DIS4HZ>,
<DIS8HZ>
Other clock-related registers are not initialized by reset operation.
Before using the RTC, set the time, month, day, day of the week, year and leap year in the relevant registers.
Caution is required in setting clock data, adjusting seconds or resetting the clock.
Refer to "17.4.3 Entering the Low Power Consumption Mode" for more information.
Note:
In this product, external oscillation connect pins (XT1/XT2) are dual-p
u
rpose ports with general-pur-
pose ports. If these pins are used as an external oscillation connect pin, refer to the setting proce-
dure in Chapter Clock/mode Control.
TMPM3V6/M3V4
17. Real Time Clock (RTC)
17.3 Detailed Description Register
Page 400
2019-02-06
Содержание TMPM3V4
Страница 1: ...32 Bit RISC Microcontroller TX03 Series TMPM3V6 M3V4 ...
Страница 2: ... 2019 Toshiba Electronic Devices Storage Corporation ...
Страница 7: ...Revision History Date Revision Comment 2019 02 06 1 First Release ...
Страница 8: ......
Страница 22: ...xiv ...
Страница 52: ...TMPM3V6 M3V4 3 Processor Core 3 6 Exclusive access Page 30 2019 02 06 ...
Страница 148: ...TMPM3V6 M3V4 7 Exceptions 7 6 Exception Interrupt Related Registers Page 126 2019 02 06 ...
Страница 178: ...TMPM3V6 M3V4 9 Input Output port 9 2 Block Diagrams of Ports Page 156 2019 02 06 ...
Страница 206: ...TMPM3V6 M3V4 10 16 bit Timer Event Counters TMRB 10 7 Applications using the Capture Function Page 184 2019 02 06 ...
Страница 232: ...TMPM3V6 M3V4 11 Universal Asynchronous Receiver Transmitter Circuit UART 11 4 Operation Description Page 210 2019 02 06 ...
Страница 354: ...TMPM3V6 M3V4 14 Synchronous Serial Port SSP 14 6 Frame Format Page 332 2019 02 06 ...
Страница 419: ...TMPM3V6 M3V4 Page 397 2019 02 06 ...
Страница 420: ...TMPM3V6 M3V4 16 Analog Digital Converter ADC 16 6 Timing chart of AD conversion Page 398 2019 02 06 ...
Страница 462: ...TMPM3V6 M3V4 21 Watchdog Timer WDT 21 5 Control register Page 440 2019 02 06 ...
Страница 510: ...TMPM3V6 M3V4 22 Flash Memory Operation 22 4 Programming in the User Boot Mode Page 488 2019 02 06 ...
Страница 538: ...TMPM3V6 M3V4 25 Electrical Characteristics 25 7 Recommended Oscillation Circuit Page 516 2019 02 06 ...
Страница 541: ...26 3 TMPM3V4FWUG TMPM3V4FSUG Type LQFP64 P 1010 0 50E LPHQVLRQV TMPM3V6 M3V4 Page 519 2019 02 06 ...
Страница 544: ......