Maxim-Integrated /max32670 /RTC /CTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 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 (dis)EN 0 (dis)TOD_ALARM_IE 0 (dis)SSEC_ALARM_IE 0 (idle)BUSY 0 (busy)RDY 0 (dis)RDY_IE 0 (inactive)TOD_ALARM 0 (inactive)SSEC_ALARM 0 (inactive)SQW_EN 0 (freq1Hz)SQW_SEL 0 (RD_EN)RD_EN 0 (inactive)WR_EN

TOD_ALARM=inactive, WR_EN=inactive, RDY_IE=dis, SQW_SEL=freq1Hz, SQW_EN=inactive, RDY=busy, BUSY=idle, TOD_ALARM_IE=dis, SSEC_ALARM=inactive, SSEC_ALARM_IE=dis, EN=dis

Description

RTC Control Register.

Fields

EN

Real Time Clock Enable. This bit enables the Real Time Clock. This bit can only be written when WE=1 and BUSY =0. Change to this bit is effective only after BUSY is cleared from 1 to 0.

0 (dis): Disable.

1 (en): Enable.

TOD_ALARM_IE

Alarm Time-of-Day Interrupt Enable. Change to this bit is effective only after BUSY is cleared from 1 to 0.

0 (dis): Disable.

1 (en): Enable.

SSEC_ALARM_IE

Alarm Sub-second Interrupt Enable. Change to this bit is effective only after BUSY is cleared from 1 to 0.

0 (dis): Disable.

1 (en): Enable.

BUSY

RTC Busy. This bit is set to 1 by hardware when changes to RTC registers required a synchronized version of the register to be in place. This bit is automatically cleared by hardware.

0 (idle): Idle.

1 (busy): Busy.

RDY

RTC Ready. This bit is set to 1 by hardware when the RTC count registers update. It can be cleared to 0 by software at any time. It will also be cleared to 0 by hardware just prior to an update of the RTC count register.

0 (busy): Register has not updated.

1 (ready): Ready.

RDY_IE

RTC Ready Interrupt Enable.

0 (dis): Disable.

1 (en): Enable.

TOD_ALARM

Time-of-Day Alarm Interrupt Flag. This alarm is qualified as wake-up source to the processor.

0 (inactive): Not active

1 (Pending): Active

SSEC_ALARM

Sub-second Alarm Interrupt Flag. This alarm is qualified as wake-up source to the processor.

0 (inactive): Not active

1 (Pending): Active

SQW_EN

Square Wave Output Enable.

0 (inactive): Not active

1 (Pending): Active

SQW_SEL

Frequency Output Selection. When SQE=1, these bits specify the output frequency on the SQW pin.

0 (freq1Hz): 1 Hz (Compensated).

1 (freq512Hz): 512 Hz (Compensated).

2 (freq4KHz): 4 KHz.

3 (clkDiv8): RTC Input Clock / 8.

RD_EN

Asynchronous Counter Read Enable.

WR_EN

Write Enable. This register bit serves as a protection mechanism against unintentional writes to critical RTC bits.

0 (inactive): Not active

1 (Pending): Active

Links

()