libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.

Applies to RTC_ALRMAR and RTC_ALRMBR. More...

Collaboration diagram for RTC Alarm register values:

Macros

#define RTC_ALRMXR_MSK4   (1<<31)
 
#define RTC_ALRMXR_WDSEL   (1<<30)
 
#define RTC_ALRMXR_DT_SHIFT   (28)
 
#define RTC_ALRMXR_DT_MASK   (0x3)
 
#define RTC_ALRMXR_DU_SHIFT   (24)
 
#define RTC_ALRMXR_DU_MASK   (0xf)
 
#define RTC_ALRMXR_MSK3   (1<<23)
 
#define RTC_ALRMXR_PM   (1<<22)
 
#define RTC_ALRMXR_HT_SHIFT   (20)
 
#define RTC_ALRMXR_HT_MASK   (0x3)
 
#define RTC_ALRMXR_HU_SHIFT   (16)
 
#define RTC_ALRMXR_HU_MASK   (0xf)
 
#define RTC_ALRMXR_MSK2   (1<<15)
 
#define RTC_ALRMXR_MNT_SHIFT   (12)
 
#define RTC_ALRMXR_MNT_MASK   (0x7)
 
#define RTC_ALRMXR_MNU_SHIFT   (8)
 
#define RTC_ALRMXR_MNU_MASK   (0xf)
 
#define RTC_ALRMXR_MSK1   (1<<7)
 
#define RTC_ALRMXR_ST_SHIFT   (4)
 
#define RTC_ALRMXR_ST_MASK   (0x7)
 
#define RTC_ALRMXR_SU_SHIFT   (0)
 
#define RTC_ALRMXR_SU_MASK   (0xf)
 

Detailed Description

Applies to RTC_ALRMAR and RTC_ALRMBR.

Macro Definition Documentation

◆ RTC_ALRMXR_DT_MASK

#define RTC_ALRMXR_DT_MASK   (0x3)

Definition at line 311 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_DT_SHIFT

#define RTC_ALRMXR_DT_SHIFT   (28)

Definition at line 310 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_DU_MASK

#define RTC_ALRMXR_DU_MASK   (0xf)

Definition at line 313 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_DU_SHIFT

#define RTC_ALRMXR_DU_SHIFT   (24)

Definition at line 312 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_HT_MASK

#define RTC_ALRMXR_HT_MASK   (0x3)

Definition at line 317 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_HT_SHIFT

#define RTC_ALRMXR_HT_SHIFT   (20)

Definition at line 316 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_HU_MASK

#define RTC_ALRMXR_HU_MASK   (0xf)

Definition at line 319 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_HU_SHIFT

#define RTC_ALRMXR_HU_SHIFT   (16)

Definition at line 318 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_MNT_MASK

#define RTC_ALRMXR_MNT_MASK   (0x7)

Definition at line 322 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_MNT_SHIFT

#define RTC_ALRMXR_MNT_SHIFT   (12)

Definition at line 321 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_MNU_MASK

#define RTC_ALRMXR_MNU_MASK   (0xf)

Definition at line 324 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_MNU_SHIFT

#define RTC_ALRMXR_MNU_SHIFT   (8)

Definition at line 323 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_MSK1

#define RTC_ALRMXR_MSK1   (1<<7)

Definition at line 325 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_MSK2

#define RTC_ALRMXR_MSK2   (1<<15)

Definition at line 320 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_MSK3

#define RTC_ALRMXR_MSK3   (1<<23)

Definition at line 314 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_MSK4

#define RTC_ALRMXR_MSK4   (1<<31)

Definition at line 308 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_PM

#define RTC_ALRMXR_PM   (1<<22)

Definition at line 315 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_ST_MASK

#define RTC_ALRMXR_ST_MASK   (0x7)

Definition at line 327 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_ST_SHIFT

#define RTC_ALRMXR_ST_SHIFT   (4)

Definition at line 326 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_SU_MASK

#define RTC_ALRMXR_SU_MASK   (0xf)

Definition at line 329 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_SU_SHIFT

#define RTC_ALRMXR_SU_SHIFT   (0)

Definition at line 328 of file rtc_common_l1f024.h.

◆ RTC_ALRMXR_WDSEL

#define RTC_ALRMXR_WDSEL   (1<<30)

Definition at line 309 of file rtc_common_l1f024.h.