Specifications
CY14B256K
Document Number: 001-06431 Rev. *G Page 10 of 24
Table 3. RTC Register Map
Register
BCD Format Data
Function/Range
D7 D6 D5 D4 D3 D2 D1 D0
0x7FFF 10s Years Years Years: 00–99
0x7FFE 0 0 0 10s
Months
Months Months: 01–12
0x7FFD 0 0 10s Day of Month Day Of Month Day of Month: 01–31
0x7FFC 0 0 0 0 0 Day of week Day of week: 01–07
0x7FFB 0 0 10s Hours Hours Hours: 00–23
0x7FFA 0 10s Minutes Minutes Minutes: 00–59
0x7FF9 10s Seconds Seconds Seconds: 00–59
0x7FF8 OSCEN
0 Cal Sign Calibration Calibration Values
[4]
0x7FF7 WDS WDW WDT Watchdog
[4]
0x7FF6 WIE AIE PFE 0 H/L P/L 0 0 Interrupts
[4]
0x7FF5 M 0 10s Alarm Date Alarm Day Alarm, Day of Month: 01–31
0x7FF4 M
0 10s Alarm Hours Alarm Hours Alarm, Hours: 00–23
0x7FF3 M
10 Alarm Minutes Alarm Minutes Alarm, Minutes: 00–59
0x7FF2 M
10 Alarm Minutes Alarm, Seconds Alarm, Seconds: 00–59
0x7FF1 10s Centuries Centuries Centuries: 00–99
0x7FF0 WDF AF PF OSCF 0 CAL W R Flags
[4]
Table 4. Register Map Detail
0x7FFF
Time Keeping - Years
D7 D6 D5 D4 D3 D2 D1 D0
10s Years Years
Contains the lower two BCD digits of the year. Lower nibble contains the value for years; upper nibble contains the
value for 10s of years. Each nibble operates from 0 to 9. The range for the register is 0–99.
0x7FFE
Time Keeping - Months
D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 10s Month Months
Contains the BCD digits of the month. Lower nibble contains the lower digit and operates from 0 to 9; upper nibble
(one bit) contains the upper digit and operates from 0 to 1. The range for the register is 1–12.
0x7FFD
Time Keeping - Date
D7 D6 D5 D4 D3 D2 D1 D0
0 0 10s Day of Month Day of Month
Contains the BCD digits for the date of the month. Lower nibble contains the lower digit and operates from 0 to 9;
upper nibble contains the upper digit and operates from 0 to 3. The range for the register is 1–31. Leap years are
automatically adjusted for.
0x7FFC
Time Keeping - Day
D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 0 0 Day of Week
Lower nibble contains a value that correlates to day of the week. Day of the week is a ring counter that counts from
1 to 7 then returns to 1. The user must assign meaning to the day value, as the day is not integrated with the date.
Note
4. Is a binary value, not a BCD value.
[+] Feedback