beautypg.com

Rtc register map[5, 6 – Cypress CY14B256K User Manual

Page 11

background image

CY14B256K

Document Number: 001-06431 Rev. *H

Page 11 of 28

Table 3. RTC Register Map

[5, 6]

Register

BCD Format Data

[5]

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

0

10s Seconds

Seconds

Seconds: 00–59

0x7FF8

OSCEN

(0)

0

Cal Sign

(0)

Calibration (00000)

Calibration Values

[7]

0x7FF7

WDS (0)

WDW (0)

WDT (000000)

Watchdog

[7]

0x7FF6

WIE (0)

AIE (0)

PFE (0)

0

H/L (1)

P/L (0)

0

0

Interrupts

[7]

0x7FF5

M (1)

0

10s Alarm Date

Alarm Day

Alarm, Day of Month: 01–31

0x7FF4

M (1)

0

10s Alarm Hours

Alarm Hours

Alarm, Hours: 00–23

0x7FF3

M (1)

10 Alarm Minutes

Alarm Minutes

Alarm, Minutes: 00–59

0x7FF2

M (1)

10 Alarm Seconds

Alarm, Seconds

Alarm, Seconds: 00–59

0x7FF1

10s Centuries

Centuries

Centuries: 00–99

0x7FF0

WDF

AF

PF

OSCF

0

CAL (0)

W (0)

R (0)

Flags

[7]

Note

5. ( ) designates values shipped from the factory.
6. The unused bits of RTC registers are reserved for future use and should be set to ‘0’.
7. Is a binary value, not a BCD value.

[+] Feedback