STK17TA8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RTC Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Register

 

 

 

 

 

 

BCD Format Data

 

 

 

 

Function / Range

 

D7

 

 

D6

 

D5

 

D4

D3

 

D2

 

D1

 

D0

 

 

 

 

 

 

 

 

 

 

 

0x1FFFF

 

 

 

10s Years

 

 

 

 

Years

 

Years: 00-99

 

0x1FFFE

0

0

 

0

 

10s

 

 

Months

 

Months: 01-12

 

 

 

 

 

 

 

 

 

Months

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFFD

0

0

 

10s

Day of

 

 

Day of Month

 

Day of Month: 01-31

 

 

 

 

 

 

 

 

Month

 

 

 

 

 

 

 

 

 

0x1FFFC

0

0

 

0

 

0

0

 

Day of Week

 

Day of week: 01-07

 

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFFB

0

0

 

10s

Hours

 

 

Hours

 

Hours: 00-23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFFA

0

 

 

 

10s Minutes

 

 

Minutes

 

Minutes: 00-59

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFF9

0

 

 

10s Seconds

 

 

Seconds

 

Seconds: 00-59

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFF8

OSCEN

0

 

Cal

 

 

Calibration[00000]

 

Calibration values*

 

 

[0]

 

 

 

 

Sign

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFF7

WDS

WDW

 

 

 

 

 

WDT

 

 

 

 

Watchdog*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFF6

WIE [0]

AIE [0]

 

PFE

 

0

H/L

 

P/L [0]

 

0

 

0

Interrupts*

 

 

 

 

 

 

 

[0]

 

 

[1]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFF5

M

0

 

10s Alarm Date

 

 

Alarm Day

 

Alarm, Day of Month: 01-31

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFF4

M

0

 

10s Alarm Hours

 

 

Alarm Hours

 

Alarm, hours: 00-23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFF3

M

 

 

10

Alarm Minutes

 

 

Alarm Minutes

 

Alarm, minutes: 00-59

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFF2

M

 

 

10 Alarm Seconds

 

 

Alarm Seconds

 

Alarm, seconds: 00-59

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFF1

 

10s Centuries

 

 

 

 

Centuries

 

Centuries: 00-99

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x1FFF0

WDF

 

 

AF

 

PF

 

OSCF

0

 

CAL[0]

 

W[0]

 

R[0]

Flags*

*A binary value, not a BCD value.

0 - Not implemented, reserved for future use.

Default Settings of nonvolatile Calibration and Interrupt registers from factory Calibration Register=00h

Interrupt Register=00h

The User should configure to desired value at startup or during operation and the value is then retained during a power failure. [ ] designates values shipped from the factory. See “Stopping And Starting The RTC Oscillator” on page 14 .

Document #: 001-52039 Rev. **

Page 17 of 23

[+] Feedback

Page 17
Image 17
Cypress STK17TA8 manual RTC Register, Register BCD Format Data Function / Range