uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
BKP_Private_Defines

Macros

#define BKP_OFFSET   (BKP_BASE - PERIPH_BASE)
 
#define CR_OFFSET   (BKP_OFFSET + 0x30)
 
#define TPAL_BitNumber   0x01
 
#define CR_TPAL_BB   (PERIPH_BB_BASE + (CR_OFFSET * 32) + (TPAL_BitNumber * 4))
 
#define TPE_BitNumber   0x00
 
#define CR_TPE_BB   (PERIPH_BB_BASE + (CR_OFFSET * 32) + (TPE_BitNumber * 4))
 
#define CSR_OFFSET   (BKP_OFFSET + 0x34)
 
#define TPIE_BitNumber   0x02
 
#define CSR_TPIE_BB   (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TPIE_BitNumber * 4))
 
#define TIF_BitNumber   0x09
 
#define CSR_TIF_BB   (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TIF_BitNumber * 4))
 
#define TEF_BitNumber   0x08
 
#define CSR_TEF_BB   (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TEF_BitNumber * 4))
 
#define RTCCR_CAL_MASK   ((uint16_t)0xFF80)
 
#define RTCCR_MASK   ((uint16_t)0xFC7F)
 

Detailed Description

Macro Definition Documentation

#define BKP_OFFSET   (BKP_BASE - PERIPH_BASE)

Definition at line 48 of file stm32f10x_bkp.c.

#define CR_OFFSET   (BKP_OFFSET + 0x30)

Definition at line 53 of file stm32f10x_bkp.c.

#define CR_TPAL_BB   (PERIPH_BB_BASE + (CR_OFFSET * 32) + (TPAL_BitNumber * 4))

Definition at line 55 of file stm32f10x_bkp.c.

#define CR_TPE_BB   (PERIPH_BB_BASE + (CR_OFFSET * 32) + (TPE_BitNumber * 4))

Definition at line 59 of file stm32f10x_bkp.c.

#define CSR_OFFSET   (BKP_OFFSET + 0x34)

Definition at line 64 of file stm32f10x_bkp.c.

#define CSR_TEF_BB   (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TEF_BitNumber * 4))

Definition at line 74 of file stm32f10x_bkp.c.

#define CSR_TIF_BB   (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TIF_BitNumber * 4))

Definition at line 70 of file stm32f10x_bkp.c.

#define CSR_TPIE_BB   (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TPIE_BitNumber * 4))

Definition at line 66 of file stm32f10x_bkp.c.

#define RTCCR_CAL_MASK   ((uint16_t)0xFF80)

Definition at line 79 of file stm32f10x_bkp.c.

#define RTCCR_MASK   ((uint16_t)0xFC7F)

Definition at line 80 of file stm32f10x_bkp.c.

#define TEF_BitNumber   0x08

Definition at line 73 of file stm32f10x_bkp.c.

#define TIF_BitNumber   0x09

Definition at line 69 of file stm32f10x_bkp.c.

#define TPAL_BitNumber   0x01

Definition at line 54 of file stm32f10x_bkp.c.

#define TPE_BitNumber   0x00

Definition at line 58 of file stm32f10x_bkp.c.

#define TPIE_BitNumber   0x02

Definition at line 65 of file stm32f10x_bkp.c.