Cypress CY14B104K, CY14B104M manual 0x7FFF9 0x3FFF9 Time Keeping Seconds, For the register is

Page 11

 

 

 

 

 

PRELIMINARY

CY14B104K, CY14B104M

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.

 

 

 

 

 

 

 

 

 

 

Document #: 001-07103 Rev. *K

Page 11 of 31

[+] Feedback

Image 11
Contents Cypress Semiconductor Corporation 198 Champion Court FeaturesFunctional Description Pinouts AutoStore Operation Device OperationSram Read Sram WriteSoftware Store Hardware Recall Power UpHardware Store HSB Operation Software RecallStore Mode SelectionA15 A06 Mode Power Preventing AutoStoreReal Time Clock Operation Data ProtectionNoise Considerations Calibrating the Clock AlarmWatchdog Timer Flags Register Power MonitorInterrupt Register InterruptsAF Alarm Flag WDF Watchdog Timer FlagPF Power Fail Flag PFE Power Fail EnableWDF Oscf OscenWDS For the register is 0x7FFF9 0x3FFF9 Time Keeping SecondsWrite only. Reading it always returns a 0x7FFF5 0x3FFF5 Alarm DayTime-base WatchdogDocument # 001-07103 Rev. *K 0x7FFF2 0x3FFF2 Alarm SecondsCenturies 0x7FFF0 0x3FFF0 Flags This condition and write 0 to clear this flagOperating Range DC Electrical CharacteristicsRange Ambient Temperature Maximum RatingsAC Test Conditions Data Retention and EnduranceCapacitance Thermal ResistanceRTC Capacitor Pin Voltage TOCS RTC Oscillator Time to Start RTC Backup CurrentHot Temperature 85 oC RTC Battery Pin VoltageSram Write Cycle AC Switching CharacteristicsSwitching Waveforms Parameters Sram Read CycleData Input Input Data Valid Data Output High Impedance Output Data ValidStandby Active Address ValidAddress Address Valid Data Input Data OutputInput Data Valid High Impedance Not applicable for RTC register writesParameters Description 20 ns 25 ns 45 ns Unit Min Max AutoStore/Power Up RecallSoftware Controlled Store and Recall Cycle Hardware Store Pulse Width To Output Active Time when write latch not setHardware Store Cycle Description 20 ns 25 ns 45 ns Unit MinTruth Table For Sram Operations For x8 ConfigurationFor x16 Configuration Inputs and Outputs Mode PowerNvsram Part Numbering Nomenclature CY14 B 104 K ZS P 20 X C TZS Tsop Ordering Information Pin Tsop II Package Diagrams51-85160 UHA Document HistoryTUP PCIGVCH/PYRS 6 Updated Starting and stopping the oscillator description Added 20 ns access speed in FeaturesFootnote 1 and 8 referenced for Mode selection Table 6 updated Data protection descriptionUSB Sales, Solutions, and Legal InformationWorldwide Sales and Design Support Products PSoC Solutions