Cypress CY14B256K manual Register Map Detail Time Keeping Years 0x7FFF 10s Years

Page 12

 

 

 

 

 

 

 

 

 

 

 

 

CY14B256K

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 4. Register Map Detail

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Time Keeping - Years

 

 

 

 

 

 

 

D7

 

D6

 

D5

D4

D3

D2

 

D1

 

D0

 

0x7FFF

 

 

 

 

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.

 

 

 

 

Time Keeping - Months

 

 

 

 

 

 

D7

D6

D5

D4

D3

D2

 

D1

 

D0

0x7FFE

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.

 

 

 

 

 

Time Keeping - Date

 

 

 

 

 

 

D7

D6

D5

D4

D3

D2

 

D1

 

D0

0x7FFD

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.

 

 

 

 

 

 

 

 

 

 

 

Time Keeping - Day

 

 

 

 

 

 

D7

D6

D5

D4

D3

D2

 

D1

 

D0

0x7FFC

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.

 

 

 

 

 

 

 

 

 

 

 

 

 

Time Keeping - Hours

 

 

 

 

 

 

D7

D6

D5

D4

D3

D2

 

D1

 

D0

0x7FFB

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.

 

 

 

 

Time Keeping - Minutes

 

 

 

 

 

 

D7

D6

D5

D4

D3

D2

 

D1

 

D0

0x7FFA

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.

 

 

 

 

Time Keeping - Seconds

 

 

 

 

 

 

D7

D6

D5

D4

D3

D2

 

D1

 

D0

0x7FF9

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.

 

Document Number: 001-06431 Rev. *H

Page 12 of 28

[+] Feedback

Image 12
Contents Features Logic Block DiagramFunctional Description Cypress Semiconductor Corporation 198 Champion CourtPin Configurations Pin DefinitionsDevice Operation AutoStore OperationHardware Store HSB Operation Hardware Recall Power Up Software StoreSoftware Recall Data ProtectionLow Average Active Power Best Practices Current versus Cycle TimeMode Selection A13-A0 Power Real Time Clock Operation Alarm Watchdog TimerCalibrating the Clock Power Monitor InterruptsInterrupt Register Flags RegisterInterrupt Block Diagram RTC Register Map5 BCD Format Data Function/Range WDF OscfRegister Map Detail Time Keeping Years 0x7FFF 10s Years Time Keeping Months 0x7FFE 10s MonthDate Time Keeping Hours 0x7FFB Time Keeping Minutes 0x7FFAAlarm Day 0x7FF5 Register Map Detail Calibration/Control 0X7FF80x7FF7 Interrupt Status/Control 0x7FF6Register Map Detail Alarm Hours 0x7FF4 10s Alarm Hours To ignore the hours value Alarm Minutes 0x7FF3Alarm Seconds 0x7FF2 When the Flags register is read or on power-upDC Electrical Characteristics Maximum RatingsOperating Range RangeData Retention and Endurance CapacitanceThermal Resistance AC Test ConditionsAC Switching Characteristics Parameter Sram Read CycleParameter Cypress Alt Description 25 ns 35 ns 45 ns Min Max Unit Sram Write CycleAutoStore or Power Up Recall Parameter Description CY14B256K Unit Min MaxSoftware Controlled STORE/RECALL Cycles 20 Parameter Alt Description 25 ns 35 ns 45 ns Unit Min MaxSoft Sequence Commands Hardware Store CycleRTC Characteristics Inputs and Outputs Mode PowerTruth Table For Sram Operations Part Numbering Nomenclature CY 14 B 256 K SP 25 X C T Ordering Information Package Diagrams Pin Shrunk Small Outline PackageDocument History Orig. of Change Submission Description of Change DateUpdated Features section Updated Reading the clock, Backup Power, StoppingStarting the Oscillator and Alarm descriptions under RTC Added default values to RTC Register Map tableSales, Solutions, and Legal Information Worldwide Sales and Design Support Products PSoC SolutionsUSB