libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
RCC_BDCR - Backup domain control register
Collaboration diagram for RCC_BDCR - Backup domain control register:

Macros

#define RCC_BDCR_LSCOSEL   (1 << 25)
 
#define RCC_BDCR_LSCOEN   (1 << 24)
 
#define RCC_BDCR_BDRST   (1 << 16)
 
#define RCC_BDCR_RTCEN   (1 << 15)
 
#define RCC_BDCR_RTCSEL_NONE   0
 
#define RCC_BDCR_RTCSEL_LSE   1
 
#define RCC_BDCR_RTCSEL_LSI   2
 
#define RCC_BDCR_RTCSEL_HSEDIV32   3
 
#define RCC_BDCR_RTCSEL_SHIFT   8
 
#define RCC_BDCR_RTCSEL_MASK   0x3
 
#define RCC_BDCR_LSECSSD   (1 << 6)
 
#define RCC_BDCR_LSECSSON   (1 << 5)
 
#define RCC_BDCR_LSEDRV_LOW   0
 
#define RCC_BDCR_LSEDRV_MEDLOW   1
 
#define RCC_BDCR_LSEDRV_MEDHIGH   2
 
#define RCC_BDCR_LSEDRV_HIGH   3
 
#define RCC_BDCR_LSEDRV_SHIFT   3
 
#define RCC_BDCR_LSEDRV_MASK   0x3
 
#define RCC_BDCR_LSEBYP   (1 << 2)
 
#define RCC_BDCR_LSERDY   (1 << 1)
 
#define RCC_BDCR_LSEON   (1 << 0)
 

Detailed Description

Macro Definition Documentation

◆ RCC_BDCR_BDRST

#define RCC_BDCR_BDRST   (1 << 16)

Definition at line 663 of file g4/rcc.h.

◆ RCC_BDCR_LSCOEN

#define RCC_BDCR_LSCOEN   (1 << 24)

Definition at line 662 of file g4/rcc.h.

◆ RCC_BDCR_LSCOSEL

#define RCC_BDCR_LSCOSEL   (1 << 25)

Definition at line 661 of file g4/rcc.h.

◆ RCC_BDCR_LSEBYP

#define RCC_BDCR_LSEBYP   (1 << 2)

Definition at line 683 of file g4/rcc.h.

◆ RCC_BDCR_LSECSSD

#define RCC_BDCR_LSECSSD   (1 << 6)

Definition at line 673 of file g4/rcc.h.

◆ RCC_BDCR_LSECSSON

#define RCC_BDCR_LSECSSON   (1 << 5)

Definition at line 674 of file g4/rcc.h.

◆ RCC_BDCR_LSEDRV_HIGH

#define RCC_BDCR_LSEDRV_HIGH   3

Definition at line 679 of file g4/rcc.h.

◆ RCC_BDCR_LSEDRV_LOW

#define RCC_BDCR_LSEDRV_LOW   0

Definition at line 676 of file g4/rcc.h.

◆ RCC_BDCR_LSEDRV_MASK

#define RCC_BDCR_LSEDRV_MASK   0x3

Definition at line 681 of file g4/rcc.h.

◆ RCC_BDCR_LSEDRV_MEDHIGH

#define RCC_BDCR_LSEDRV_MEDHIGH   2

Definition at line 678 of file g4/rcc.h.

◆ RCC_BDCR_LSEDRV_MEDLOW

#define RCC_BDCR_LSEDRV_MEDLOW   1

Definition at line 677 of file g4/rcc.h.

◆ RCC_BDCR_LSEDRV_SHIFT

#define RCC_BDCR_LSEDRV_SHIFT   3

Definition at line 680 of file g4/rcc.h.

◆ RCC_BDCR_LSEON

#define RCC_BDCR_LSEON   (1 << 0)

Definition at line 685 of file g4/rcc.h.

◆ RCC_BDCR_LSERDY

#define RCC_BDCR_LSERDY   (1 << 1)

Definition at line 684 of file g4/rcc.h.

◆ RCC_BDCR_RTCEN

#define RCC_BDCR_RTCEN   (1 << 15)

Definition at line 664 of file g4/rcc.h.

◆ RCC_BDCR_RTCSEL_HSEDIV32

#define RCC_BDCR_RTCSEL_HSEDIV32   3

Definition at line 669 of file g4/rcc.h.

◆ RCC_BDCR_RTCSEL_LSE

#define RCC_BDCR_RTCSEL_LSE   1

Definition at line 667 of file g4/rcc.h.

◆ RCC_BDCR_RTCSEL_LSI

#define RCC_BDCR_RTCSEL_LSI   2

Definition at line 668 of file g4/rcc.h.

◆ RCC_BDCR_RTCSEL_MASK

#define RCC_BDCR_RTCSEL_MASK   0x3

Definition at line 671 of file g4/rcc.h.

◆ RCC_BDCR_RTCSEL_NONE

#define RCC_BDCR_RTCSEL_NONE   0

Definition at line 666 of file g4/rcc.h.

◆ RCC_BDCR_RTCSEL_SHIFT

#define RCC_BDCR_RTCSEL_SHIFT   8

Definition at line 670 of file g4/rcc.h.