\n

RTC

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x400 byte (0x0)
mem_usage : registers
protection :

Registers

TIME

DIV

ALR0

WPROT

SS

SECSH

TSTIME

TSDATE

TSSS

CAL

DATE

TAMPCFG

ALR0SS

CTL

INITSTAT


TIME

time of calendar
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TIME TIME read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SECU SECT MNU MNT HRU HRT PM

SECU : Second units in BCD format
bits : 0 - 3 (4 bit)
access : read-write

SECT : Second tens in BCD format
bits : 4 - 6 (3 bit)
access : read-write

MNU : Minute units in BCD format
bits : 8 - 11 (4 bit)
access : read-write

MNT : Minute tens in BCD format
bits : 12 - 14 (3 bit)
access : read-write

HRU : Hour units in BCD format
bits : 16 - 19 (4 bit)
access : read-write

HRT : Hour tens in BCD format
bits : 20 - 21 (2 bit)
access : read-write

PM : AM/PM notation or 24-hour format
bits : 22 - 22 (1 bit)
access : read-write


DIV

prescale factor
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DIV DIV read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DIVSYNC DIVASYNC

DIVSYNC : synchronous division factor
bits : 0 - 14 (15 bit)
access : read-write

DIVASYNC : asynchronous division factor
bits : 16 - 22 (7 bit)
access : read-write


ALR0

alarm 0 register
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ALR0 ALR0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SECU SECT SMSK MNU MNT MMSK HRU HRT PM HMSK DATEU DATET WDSEL DMSK

SECU : Second units in BCD format.
bits : 0 - 3 (4 bit)
access : read-write

SECT : Second tens in BCD format.
bits : 4 - 6 (3 bit)
access : read-write

SMSK : Alarm 0 seconds mask
bits : 7 - 7 (1 bit)
access : read-write

MNU : Minute units in BCD format.
bits : 8 - 11 (4 bit)
access : read-write

MNT : Minute tens in BCD format.
bits : 12 - 14 (3 bit)
access : read-write

MMSK : Alarm 0 minutes mask
bits : 15 - 15 (1 bit)
access : read-write

HRU : Hour units in BCD format.
bits : 16 - 19 (4 bit)
access : read-write

HRT : Hour tens in BCD format.
bits : 20 - 21 (2 bit)
access : read-write

PM : AM/PM notation
bits : 22 - 22 (1 bit)
access : read-write

HMSK : Alarm 0 hours mask
bits : 23 - 23 (1 bit)
access : read-write

DATEU : Date units or day in BCD format.
bits : 24 - 27 (4 bit)
access : read-write

DATET : Date tens in BCD format.
bits : 28 - 29 (2 bit)
access : read-write

WDSEL : Week day selection
bits : 30 - 30 (1 bit)
access : read-write

DMSK : Alarm 0 date mask
bits : 31 - 31 (1 bit)
access : read-write


WPROT

Write protection key
address_offset : 0x24 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0

WPROT WPROT write-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 WPROTKEY

WPROTKEY : Write protection key
bits : 0 - 7 (8 bit)
access : write-only


SS

Sub second of calendar
address_offset : 0x28 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

SS SS read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SS

SS : Sub second value
bits : 0 - 15 (16 bit)
access : read-only


SECSH

second shift
address_offset : 0x2C Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0

SECSH SECSH write-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SUBSS ADD1S

SUBSS : Subtract a fraction of a second
bits : 0 - 14 (15 bit)
access : write-only

ADD1S : Add one second
bits : 31 - 31 (1 bit)
access : write-only


TSTIME

time of timestamp
address_offset : 0x30 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

TSTIME TSTIME read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SECU SECT MNU MNT HRU HRT PM

SECU : Second units in BCD format
bits : 0 - 3 (4 bit)
access : read-only

SECT : Second tens in BCD format
bits : 4 - 6 (3 bit)
access : read-only

MNU : Minute units in BCD format.
bits : 8 - 11 (4 bit)
access : read-only

MNT : Minute tens in BCD format.
bits : 12 - 14 (3 bit)
access : read-only

HRU : Hour units in BCD format.
bits : 16 - 19 (4 bit)
access : read-only

HRT : Hour tens in BCD format.
bits : 20 - 21 (2 bit)
access : read-only

PM : AM/PM notation
bits : 22 - 22 (1 bit)
access : read-only


TSDATE

date of timestamp
address_offset : 0x34 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

TSDATE TSDATE read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DAYU DAYT MTHU MTHT WD

DAYU : Day units in BCD format
bits : 0 - 3 (4 bit)
access : read-only

DAYT : Day tens in BCD format
bits : 4 - 5 (2 bit)
access : read-only

MTHU : Month units in BCD format
bits : 8 - 11 (4 bit)
access : read-only

MTHT : Month tens in BCD format
bits : 12 - 12 (1 bit)
access : read-only

WD : Week day
bits : 13 - 15 (3 bit)
access : read-only


TSSS

Sub second of timestamp
address_offset : 0x38 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

TSSS TSSS read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SS

SS : Sub second value when timestamp occur
bits : 0 - 15 (16 bit)
access : read-only


CAL

calibration register
address_offset : 0x3C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CAL CAL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RED WIN16 WIN8 INC

RED : Calibration reduce
bits : 0 - 8 (9 bit)
access : read-write

WIN16 : Use a 16-second calibration cycle period
bits : 13 - 13 (1 bit)
access : read-write

WIN8 : Use an 8-second calibration cycle period
bits : 14 - 14 (1 bit)
access : read-write

INC : Increase frequency of RTC by 488.5 ppm
bits : 15 - 15 (1 bit)
access : read-write


DATE

date of calendar
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DATE DATE read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DAYU DAYT MTHU MTHT WD YRU YRT

DAYU : Date units in BCD format
bits : 0 - 3 (4 bit)
access : read-write

DAYT : Date tens in BCD format
bits : 4 - 5 (2 bit)
access : read-write

MTHU : Month units in BCD format
bits : 8 - 11 (4 bit)
access : read-write

MTHT : Month tens in BCD format
bits : 12 - 12 (1 bit)
access : read-write

WD : Week day
bits : 13 - 15 (3 bit)
access : read-write

YRU : Year units in BCD format
bits : 16 - 19 (4 bit)
access : read-write

YRT : Year tens in BCD format
bits : 20 - 23 (4 bit)
access : read-write


TAMPCFG

tamper and other configuration
address_offset : 0x40 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TAMPCFG TAMPCFG read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 EN0 TRIG0 INTEN EN1 TRIG1 TS FREQ FLT PRCH PUDIS PC13VAL PC13MOD PC14VAL PC14MOD PC15VAL PC15MOD

EN0 : RTC_TAMP0 input detection enable
bits : 0 - 0 (1 bit)
access : read-write

TRIG0 : Active level for RTC_TAMP0 input
bits : 1 - 1 (1 bit)
access : read-write

INTEN : Tamper interrupt enable
bits : 2 - 2 (1 bit)
access : read-write

EN1 : RTC_TAMP1 input detection enable
bits : 3 - 3 (1 bit)
access : read-write

TRIG1 : Active level for RTC_TAMP1 input
bits : 4 - 4 (1 bit)
access : read-write

TS : Activate timestamp on tamper detection event
bits : 7 - 7 (1 bit)
access : read-write

FREQ : Tamper sampling frequency
bits : 8 - 10 (3 bit)
access : read-write

FLT : RTC_TAMPx filter count
bits : 11 - 12 (2 bit)
access : read-write

PRCH : RTC_TAMPx precharge duration
bits : 13 - 14 (2 bit)
access : read-write

PUDIS : RTC_TAMPx pull-up disable
bits : 15 - 15 (1 bit)
access : read-write

PC13VAL : RTC_ALARM output type/PC13 value
bits : 18 - 18 (1 bit)
access : read-write

PC13MOD : PC13 mode
bits : 19 - 19 (1 bit)
access : read-write

PC14VAL : PC14 value
bits : 20 - 20 (1 bit)
access : read-write

PC14MOD : PC14 mode
bits : 21 - 21 (1 bit)
access : read-write

PC15VAL : PC15 value
bits : 22 - 22 (1 bit)
access : read-write

PC15MOD : PC15 mode
bits : 23 - 23 (1 bit)
access : read-write


ALR0SS

Alarm 0 subsecond
address_offset : 0x44 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ALR0SS ALR0SS read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SS SSMSK

SS : Alarm 0 Sub seconds value
bits : 0 - 14 (15 bit)
access : read-write

SSMSK : Mask the most-significant bits starting at this bit
bits : 24 - 27 (4 bit)
access : read-write


CTL

control register
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CTL CTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TSEDGE REFEN BYP HRFMT ALR0EN TSEN ALR0INTEN TSINTEN ADD1H SUB1H DSBKP CALSEL OPOL OSEL CALOEN

TSEDGE : Time-stamp event active edge
bits : 3 - 3 (1 bit)
access : read-write

REFEN : RTC_REFEN reference clock detection enable (50 or 60 Hz)
bits : 4 - 4 (1 bit)
access : read-write

BYP : Bypass the shadow registers
bits : 5 - 5 (1 bit)
access : read-write

HRFMT : Hour format
bits : 6 - 6 (1 bit)
access : read-write

ALR0EN : Alarm 0 enable
bits : 8 - 8 (1 bit)
access : read-write

TSEN : timestamp enable
bits : 11 - 11 (1 bit)
access : read-write

ALR0INTEN : Alarm 0 interrupt enable
bits : 12 - 12 (1 bit)
access : read-write

TSINTEN : Time-stamp interrupt enable
bits : 15 - 15 (1 bit)
access : read-write

ADD1H : Add 1 hour (summer time change)
bits : 16 - 16 (1 bit)
access : write-only

SUB1H : Subtract 1 hour (winter time change)
bits : 17 - 17 (1 bit)
access : write-only

DSBKP : daylight saving Backup
bits : 18 - 18 (1 bit)
access : read-write

CALSEL : Calibration output selection
bits : 19 - 19 (1 bit)
access : read-write

OPOL : Output polarity
bits : 20 - 20 (1 bit)
access : read-write

OSEL : Output selection
bits : 21 - 22 (2 bit)
access : read-write

CALOEN : Calibration output enable
bits : 23 - 23 (1 bit)
access : read-write


INITSTAT

initialization and status
address_offset : 0xC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

INITSTAT INITSTAT read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ALR0WF SECSHPF INITSTAT SYNCF INITF INIT ALR0F TSF TSOVF TAMP0F TAMP1F CALPF

ALR0WF : Alarm 0 write flag
bits : 0 - 0 (1 bit)
access : read-only

SECSHPF : second Shift operation pending
bits : 3 - 3 (1 bit)
access : read-only

INITSTAT : Initialization status flag
bits : 4 - 4 (1 bit)
access : read-only

SYNCF : shadow Registers synchronization flag
bits : 5 - 5 (1 bit)
access : read-write

INITF : Initialization flag
bits : 6 - 6 (1 bit)
access : read-only

INIT : Initialization mode
bits : 7 - 7 (1 bit)
access : read-write

ALR0F : Alarm 0 flag
bits : 8 - 8 (1 bit)
access : read-write

TSF : Time-stamp flag
bits : 11 - 11 (1 bit)
access : read-write

TSOVF : Time-stamp overflow flag
bits : 12 - 12 (1 bit)
access : read-write

TAMP0F : RTC_TAMP0 detection flag
bits : 13 - 13 (1 bit)
access : read-write

TAMP1F : RTC_TAMP1 detection flag
bits : 14 - 14 (1 bit)
access : read-write

CALPF : calibration pending Flag
bits : 16 - 16 (1 bit)
access : read-only



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.