Expand description
RTC control register
Structs
Enums
Add 1 hour (summer time change) When this bit is set outside initialization mode, 1 hour is added to the calendar time. This bit is always read as 0.
Alarm A enable
Alarm A interrupt enable
Alarm B enable
Alarm B interrupt enable
Backup This bit can be written by the user to memorize whether the daylight saving time change has been performed or not.
Bypass the shadow registers Note: If the frequency of the APB clock is less than seven times the frequency of RTCCLK, BYPSHAD must be set to 1.
Calibration output enable This bit enables the RTC_CALIB output
Calibration output selection When COE=1, this bit selects which signal is output on RTC_CALIB. These frequencies are valid for RTCCLK at 32.768 kHz and prescalers at their default values (PREDIV_A=127 and PREDIV_S=255). Refer to Section24.3.15: Calibration clock output
Hour format
timestamp on internal event enable
Output selection These bits are used to select the flag to be routed to RTC_ALARM output
Output polarity This bit is used to configure the polarity of RTC_ALARM output
RTC_REFIN reference clock detection enable (50 or 60Hz) Note: PREDIV_S must be 0x00FF.
Subtract 1 hour (winter time change) When this bit is set outside initialization mode, 1 hour is subtracted to the calendar time if the current hour is not 0. This bit is always read as 0. Setting this bit has no effect when current hour is 0.
Time-stamp event active edge TSE must be reset when TSEDGE is changed to avoid unwanted TSF setting.
timestamp enable
Time-stamp interrupt enable
Wakeup clock selection
Wakeup timer enable
Wakeup timer interrupt enable
Type Definitions
Field
ADD1H writer - Add 1 hour (summer time change) When this bit is set outside initialization mode, 1 hour is added to the calendar time. This bit is always read as 0.Field
ALRAE reader - Alarm A enableField
ALRAE writer - Alarm A enableField
ALRAIE reader - Alarm A interrupt enableField
ALRAIE writer - Alarm A interrupt enableField
ALRBE reader - Alarm B enableField
ALRBE writer - Alarm B enableField
ALRBIE reader - Alarm B interrupt enableField
ALRBIE writer - Alarm B interrupt enableField
BKP reader - Backup This bit can be written by the user to memorize whether the daylight saving time change has been performed or not.Field
BKP writer - Backup This bit can be written by the user to memorize whether the daylight saving time change has been performed or not.Field
BYPSHAD reader - Bypass the shadow registers Note: If the frequency of the APB clock is less than seven times the frequency of RTCCLK, BYPSHAD must be set to 1.Field
BYPSHAD writer - Bypass the shadow registers Note: If the frequency of the APB clock is less than seven times the frequency of RTCCLK, BYPSHAD must be set to 1.Field
COE reader - Calibration output enable This bit enables the RTC_CALIB outputField
COE writer - Calibration output enable This bit enables the RTC_CALIB outputField
COSEL reader - Calibration output selection When COE=1, this bit selects which signal is output on RTC_CALIB. These frequencies are valid for RTCCLK at 32.768 kHz and prescalers at their default values (PREDIV_A=127 and PREDIV_S=255). Refer to Section24.3.15: Calibration clock outputField
COSEL writer - Calibration output selection When COE=1, this bit selects which signal is output on RTC_CALIB. These frequencies are valid for RTCCLK at 32.768 kHz and prescalers at their default values (PREDIV_A=127 and PREDIV_S=255). Refer to Section24.3.15: Calibration clock outputField
FMT reader - Hour formatField
FMT writer - Hour formatField
ITSE reader - timestamp on internal event enableField
ITSE writer - timestamp on internal event enableField
OSEL reader - Output selection These bits are used to select the flag to be routed to RTC_ALARM outputField
OSEL writer - Output selection These bits are used to select the flag to be routed to RTC_ALARM outputField
POL reader - Output polarity This bit is used to configure the polarity of RTC_ALARM outputField
POL writer - Output polarity This bit is used to configure the polarity of RTC_ALARM outputField
REFCKON reader - RTC_REFIN reference clock detection enable (50 or 60Hz) Note: PREDIV_S must be 0x00FF.Field
REFCKON writer - RTC_REFIN reference clock detection enable (50 or 60Hz) Note: PREDIV_S must be 0x00FF.Field
SUB1H writer - Subtract 1 hour (winter time change) When this bit is set outside initialization mode, 1 hour is subtracted to the calendar time if the current hour is not 0. This bit is always read as 0. Setting this bit has no effect when current hour is 0.Field
TSEDGE reader - Time-stamp event active edge TSE must be reset when TSEDGE is changed to avoid unwanted TSF setting.Field
TSEDGE writer - Time-stamp event active edge TSE must be reset when TSEDGE is changed to avoid unwanted TSF setting.Field
TSE reader - timestamp enableField
TSE writer - timestamp enableField
TSIE reader - Time-stamp interrupt enableField
TSIE writer - Time-stamp interrupt enableField
WUCKSEL reader - Wakeup clock selectionField
WUCKSEL writer - Wakeup clock selectionField
WUTE reader - Wakeup timer enableField
WUTE writer - Wakeup timer enableField
WUTIE reader - Wakeup timer interrupt enableField
WUTIE writer - Wakeup timer interrupt enable