48 #define BKP_OFFSET (BKP_BASE - PERIPH_BASE)
53 #define CR_OFFSET (BKP_OFFSET + 0x30)
54 #define TPAL_BitNumber 0x01
55 #define CR_TPAL_BB (PERIPH_BB_BASE + (CR_OFFSET * 32) + (TPAL_BitNumber * 4))
58 #define TPE_BitNumber 0x00
59 #define CR_TPE_BB (PERIPH_BB_BASE + (CR_OFFSET * 32) + (TPE_BitNumber * 4))
64 #define CSR_OFFSET (BKP_OFFSET + 0x34)
65 #define TPIE_BitNumber 0x02
66 #define CSR_TPIE_BB (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TPIE_BitNumber * 4))
69 #define TIF_BitNumber 0x09
70 #define CSR_TIF_BB (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TIF_BitNumber * 4))
73 #define TEF_BitNumber 0x08
74 #define CSR_TEF_BB (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TEF_BitNumber * 4))
79 #define RTCCR_CAL_MASK ((uint16_t)0xFF80)
80 #define RTCCR_MASK ((uint16_t)0xFC7F)
190 tmpreg |= BKP_RTCOutputSource;
210 tmpreg |= CalibrationValue;
224 __IO uint32_t tmp = 0;
232 *(
__IO uint32_t *) tmp = Data;
243 __IO uint32_t tmp = 0;
251 return (*(
__IO uint16_t *) tmp);