beautypg.com

Table 5 – Cypress CY14B104M User Manual

Page 11

background image

PRELIMINARY

CY14B104K, CY14B104M

Document #: 001-07103 Rev. *K

Page 11 of 31

Table 5. Register Map Detail

Register

Description

CY14B104K

CY14B104M

0x7FFFF

0x3FFFF

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 (four bits) contains the value for years;

upper nibble (four bits) contains the value for 10s of years. Each nibble operates from 0 to 9. The

range for the register is 0–99.

0x7FFFE

0x3FFFE

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 (four bits) 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.

0x7FFFD

0x3FFFD

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 (four bits) contains the lower digit

and operates from 0 to 9; upper nibble (two bits) contains the 10s digit and operates from 0 to 3.

The range for the register is 1–31. Leap years are automatically adjusted for.

0x7FFFC

0x3FFFC

Time Keeping - Day

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

Day of Week

Lower nibble (three bits) 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, because the day is not integrated with the date.

0x7FFFB

0x3FFFB

Time Keeping - Hours

D7

D6

D5

D4

D3

D2

D1

D0

0

0

10s Hours

Hours

Contains the BCD value of hours in 24 hour format. Lower nibble (four bits) contains the lower

digit and operates from 0 to 9; upper nibble (two bits) contains the upper digit and operates from

0 to 2. The range for the register is 0–23.

0x7FFFA

0x3FFFA

Time Keeping - Minutes

D7

D6

D5

D4

D3

D2

D1

D0

0

10s Minutes

Minutes

Contains the BCD value of minutes. Lower nibble (four bits) contains the lower digit and operates

from 0 to 9; upper nibble (three bits) contains the upper minutes digit and operates from 0 to 5.

The range for the register is 0–59.

0x7FFF9

0x3FFF9

Time Keeping - Seconds

D7

D6

D5

D4

D3

D2

D1

D0

0

10s Seconds

Seconds

Contains the BCD value of seconds. Lower nibble (four bits) contains the lower digit and operates

from 0 to 9; upper nibble (three bits) contains the upper digit and operates from 0 to 5. The range

for the register is 0–59.

[+] Feedback

This manual is related to the following products: