Cypress CY14B256K Register Map Detail Alarm Hours 0x7FF4 10s Alarm Hours, Alarm Seconds 0x7FF2

Page 14

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CY14B256K

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 4. Register Map Detail (continued)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Alarm - Hours

 

 

 

 

 

0x7FF4

 

D7

 

D6

 

D5

 

D4

 

D3

 

D2

 

D1

D0

 

 

M

 

 

 

10s Alarm Hours

 

 

 

 

Alarm Hours

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Contains the alarm value for the hours and the mask bit to select or deselect the hours value.

 

 

 

 

 

 

M

Match. When this bit is set to 0, the hours value is used in the alarm match. Setting this bit to 1 causes the match circuit

 

 

 

to ignore the hours value.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Alarm - Minutes

 

 

 

 

 

0x7FF3

 

D7

 

D6

 

D5

 

D4

 

D3

 

D2

 

D1

D0

 

 

M

 

 

10s Alarm Minutes

 

 

 

 

Alarm Minutes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Contains the alarm value for the minutes and the mask bit to select or deselect the minutes value.

 

 

 

 

 

M

Match. When this bit is set to 0, the minutes value is used in the alarm match. Setting this bit to 1 causes the match

 

 

 

circuit to ignore the minutes value.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Alarm - Seconds

 

 

 

 

 

0x7FF2

 

D7

 

D6

 

D5

 

D4

 

D3

 

D2

 

D1

D0

 

 

M

 

 

10s Alarm Seconds

 

 

 

 

Alarm Seconds

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Contains the alarm value for the seconds and the mask bit to select or deselect the seconds’ value.

 

 

 

 

 

M

Match. When this bit is set to 0, the seconds value is used in the alarm match. Setting this bit to 1 causes the match

 

 

 

circuit to ignore the seconds value.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Time Keeping - Centuries

 

 

 

 

 

 

 

D7

 

D6

 

D5

 

D4

 

D3

 

D2

 

D1

D0

 

0x7FF1

 

 

 

 

10s Centuries

 

 

 

 

Centuries

 

 

 

 

 

 

 

 

 

 

 

 

 

Contains the BCD value of centuries. Lower nibble contains the lower digit and operates from 0 to 9; upper nibble contains

 

 

 

the upper digit and operates from 0 to 9. The range for the register is 0-99 centuries.

 

 

 

 

 

 

 

 

 

 

 

 

Flags

 

 

 

 

 

 

 

0x7FF0

 

D7

 

D6

 

D5

 

D4

 

D3

 

D2

 

D1

D0

 

 

 

WDF

 

AF

 

PF

 

OSCF

 

0

 

CAL

 

W

R

 

 

 

 

 

 

 

 

 

 

 

 

WDF

Watchdog Timer Flag. This read only bit is set to 1 when the watchdog timer is allowed to reach 0 without being reset

 

 

 

by the user. It is cleared to 0 when the Flags register is read or on power-up.

 

 

 

 

 

AF

Alarm Flag. This read only bit is set to 1 when the time and date match the values stored in the alarm registers with the

 

 

 

match bits = 0. It is cleared when the Flags register is read or on power-up.

 

 

 

 

 

PF

Power Fail Flag. This read only bit is set to 1 when power falls below the power fail threshold VSWITCH. It is cleared to

 

 

 

0 when the Flags register is read or on power-up.

 

 

 

 

 

 

 

OSCF

Oscillator Fail Flag. Set to 1 on power up if the oscillator is enabled and not running in the first 5 ms of operation. This

 

 

 

indicates that RTC backup power failed and clock value is no longer valid. The user must reset this bit to 0 to clear this

 

 

 

condition (Flag). The chip does not clear this flag. This bit survives power cycles.

 

 

 

CAL

Calibration Mode. When set to 1, a 512 Hz square wave is output on the INT pin. When set to 0, the INT pin resumes

 

 

 

normal operation. This bit defaults to 0 (disabled) on power up.

 

 

 

 

 

 

 

W

Write Enable: Setting the W bit to 1 freezes updatesof the RTC registers. The user can then write to RTC registers, Alarm

 

 

 

registers, Calibration register, Interrupt register and Flags register. Setting the W bit to 0 causes the contents of the RTC

 

 

 

registers to be transferred to the time keeping counters if the time has been changed (a new base time is loaded). This

 

 

 

bit defaults to 0 on power up.

 

 

 

 

 

 

 

 

 

 

 

RRead Enable: Setting R bit to 1, stops clock updates to user RTC registers so that clock updates are not seen during the reading process. Set R bit to 0 to resume clock updates to the holding register. Setting this bit does not require W bit to be set to 1. This bit defaults to 0 on power up.

Document Number: 001-06431 Rev. *H

Page 14 of 28

[+] Feedback

Image 14
Contents Functional Description FeaturesLogic Block Diagram Cypress Semiconductor Corporation 198 Champion CourtPin Configurations Pin DefinitionsHardware Store HSB Operation Device OperationAutoStore Operation Software Recall Hardware Recall Power UpSoftware Store Data ProtectionLow Average Active Power Best Practices Current versus Cycle TimeMode Selection A13-A0 Power Real Time Clock Operation Calibrating the Clock AlarmWatchdog Timer Interrupt Register Power MonitorInterrupts Flags RegisterInterrupt Block Diagram RTC Register Map5 BCD Format Data Function/Range WDF OscfDate Time Keeping Hours 0x7FFB Register Map Detail Time Keeping Years 0x7FFF 10s YearsTime Keeping Months 0x7FFE 10s Month Time Keeping Minutes 0x7FFA0x7FF7 Alarm Day 0x7FF5Register Map Detail Calibration/Control 0X7FF8 Interrupt Status/Control 0x7FF6Alarm Seconds 0x7FF2 Register Map Detail Alarm Hours 0x7FF4 10s Alarm HoursTo ignore the hours value Alarm Minutes 0x7FF3 When the Flags register is read or on power-upOperating Range DC Electrical CharacteristicsMaximum Ratings RangeThermal Resistance Data Retention and EnduranceCapacitance 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 CycleTruth Table For Sram Operations RTC CharacteristicsInputs and Outputs Mode Power 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 DateStarting the Oscillator and Alarm descriptions under RTC Updated Features sectionUpdated Reading the clock, Backup Power, Stopping Added default values to RTC Register Map tableUSB Sales, Solutions, and Legal InformationWorldwide Sales and Design Support Products PSoC Solutions