Week Counter; Calendar Counter; Table 17 Week Register; Table 18 Day, Month Register - Epson RX4111CE Applications Manual

Real time clock module
Hide thumbs Also See for RX4111CE:
Table of Contents

Advertisement

14.1.2. Week Counter

The day (of the week) is indicated by 7 bits, bit 0 to bit 6.
The day data values are counted as: Day 01hDay 02hDay 04hDay 08hDay 10hDay 20hDay 40h
Day 01hDay 02h, etc.
It is incremented when carry is generated from the HOUR register. This register does not generate carry to a higher register.
Since this register is not connected with the YEAR, MONTH and DAY registers, it needs to be set again with the matching day of
the week if any of the YEAR, MONTH or DAY registers have been changed.
When not use Week data, It is not necessary for Week register to be initialized.
Do not set 1 to more than one day at the same time.

Table 17 Week Register

Day
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Do not set 1 to more than one day at the same time.

14.1.3. Calendar Counter

1) [DAY],[MONTH]resister
The DAY register is a variable (between 28-base and 31-base) BCD counter that is influenced by the month and the leap
year. The MONTH register is 12-base BCD counter. when carry is generated from a lower register.

Table 18 DAY, MONTH Register

Days
Normal year
Leap year
2) [YEAR]register
This register is a BCD counter for years 00 to 99.
The leap year is automatically determined and influences the DAY register.
This RTC processes following years as leap years: 00,04,08,12, 96.
User software correction is needed in the years 2100, 2200, 2300 as they are common years.
Definition of leap years
Leap year: year divisible by 4, year divisible by 400
Ex. 2000, 2004, 2008, 2012, 2096, 2400, 2800,
Common year: year indivisible by 4, year divisible by 100
Ex. 2001, 2002, 2003, 2005, 2099, 2100, 2200, 2300, 2500,,
RX4111CE
ETM62E-02
bit 7
bit 6
bit 5
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
Jan.
Feb.
Mar
28
31
31
29
Seiko Epson Corporation
bit 4
bit 3
bit 2
bit 1
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
0
0
Apr.
May
June
July
30
31
30
31
14. How to use
Data [h]
bit 0
0
1
01 h
1
0
02 h
0
0
04 h
0
0
08 h
0
0
10 h
0
0
20 h
0
0
40 h
Aug.
Sep.
Oct.
Nov.
31
30
31
30
Jump to
Dec.
31
Top
/
Bottom
26

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx4111ce aRx4111ce bX1b000431000115X1b000431000215

Table of Contents