BKP_Private_Defines
[BKP]

Defines

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

Define Documentation

#define BKP_OFFSET   (BKP_BASE - PERIPH_BASE)

Definition at line 47 of file stm32f10x_bkp.c.

#define CR_OFFSET   (BKP_OFFSET + 0x30)

Definition at line 52 of file stm32f10x_bkp.c.

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

Definition at line 54 of file stm32f10x_bkp.c.

Referenced by BKP_TamperPinLevelConfig().

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

Definition at line 58 of file stm32f10x_bkp.c.

Referenced by BKP_TamperPinCmd().

#define CSR_OFFSET   (BKP_OFFSET + 0x34)

Definition at line 63 of file stm32f10x_bkp.c.

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

Definition at line 73 of file stm32f10x_bkp.c.

Referenced by BKP_GetFlagStatus().

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

Definition at line 69 of file stm32f10x_bkp.c.

Referenced by BKP_GetITStatus().

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

Definition at line 65 of file stm32f10x_bkp.c.

Referenced by BKP_ITConfig().

#define RTCCR_CAL_MASK   ((uint16_t)0xFF80)

Definition at line 78 of file stm32f10x_bkp.c.

Referenced by BKP_SetRTCCalibrationValue().

#define RTCCR_MASK   ((uint16_t)0xFC7F)

Definition at line 79 of file stm32f10x_bkp.c.

Referenced by BKP_RTCOutputConfig().

#define TEF_BitNumber   0x08

Definition at line 72 of file stm32f10x_bkp.c.

#define TIF_BitNumber   0x09

Definition at line 68 of file stm32f10x_bkp.c.

#define TPAL_BitNumber   0x01

Definition at line 53 of file stm32f10x_bkp.c.

#define TPE_BitNumber   0x00

Definition at line 57 of file stm32f10x_bkp.c.

#define TPIE_BitNumber   0x02

Definition at line 64 of file stm32f10x_bkp.c.

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32