Cypress STK17TA8 manual 0x1FFF2 Alarm Seconds, 0x1FFF1 Real Time Clock Centuries 10s Centuries

Page 20

 

 

 

 

 

 

 

 

 

 

 

 

STK17TA8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Register Map Detail (continued)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFF2

 

 

 

 

 

 

Alarm – Seconds

 

 

 

 

 

 

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.

MMatch. Setting this bit to 0 causes the seconds’ value to be used in the alarm match. Setting this bit to 1 causes the match circuit to ignore the seconds value.

0x1FFF1

 

 

Real Time Clock – Centuries

 

 

 

D7

D6

D5

D4

D3

D2

D1

D0

 

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.

0x1FFF0

 

 

 

 

Flags

 

 

 

 

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 only if the oscillator is enabled and not running in the first 5ms 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.

 

 

 

 

 

 

 

 

CAL

Calibration Mode. When set to 1, a 512Hz 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.

 

 

 

 

WWrite Enable. Setting the W bit to 1 freezes updates of the RTC registers and enables writes 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 timekeeping counters if the time has been changed (a new base time is loaded). This bit defaults to 0 on power up.

RRead Time. Set R to 1 to captures the current time in holding registers so that clock updates are not seen during the reading process. Set R to 0 to enable the holding register to resume clock updates. This bit defaults to 0 on power up.

Document #: 001-52039 Rev. **

Page 20 of 23

[+] Feedback

Image 20
Contents Features Logic Block DiagramDescription Cypress Semiconductor Corporation 198 Champion CourtPinouts Pin DescriptionsDC Electrical Characteristics RF SSOP-48 Package Thermal CharacteristicsSymbol Parameter Commercial Industrial Units Min Absolute Maximum RatingsSymbol Parameter Commercial Industrial Units Min Max Symbol Parameter Max Units ConditionsAC Test Conditions CapacitanceRTC DC Characteristics Symbols Parameter STK17TA8-25 STK17TA8-45 Units Alt Min Max Sram Read Cycles #1 and #2Sram Write Cycles #1 and #2 Units Standard Alternate Min Max AutoStore/Power Up RecallSymbols Parameter Software-Controlled STORE/RECALL Cycle Soft Sequence Commands Hardware Store to Sram DisabledHardware Store Cycle Hardware Store Pulse WidthMode Selection A16-A0 Mode PowerHardware Recall POWER-UP NvSRAM OperationHardware Store HSB Operation AutoStore OperationLow Average Active Power Software RecallData Protection Noise ConsiderationsRTC Operations Watchdog Timer AlarmPower Monitor Calibrating The ClockInterrupt Register InterruptsFlags Register RTC Register Register BCD Format Data Function / RangeRegister Map Detail 0x1FFF5 Alarm Day 0x1FFF4 Alarm Hours0x1FFF7 0x1FFF6 Interrupt0x1FFF2 Alarm Seconds 0x1FFF1 Real Time Clock Centuries 10s Centuries0x1FFF0 Flags WDF Oscf CALOrdering Information Ordering CodesPackage Diagrams 51-85061 *C Document # 001-52039 RevDocument History Sales, Solutions, and Legal InformationWorldwide Sales and Design Support Products PSoC Solutions