This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <libmaple/pwr.h> | |
#include <libmaple/scb.h> | |
#include <RTClock.h> | |
// Define the Base address of the RTC registers (battery backed up CMOS Ram), so we can use them for config of touch screen or whatever. | |
// See http://stm32duino.com/viewtopic.php?f=15&t=132&hilit=rtc&start=40 for a more details about the RTC NVRam | |
// 10x 16 bit registers are available on the STM32F103CXXX more on the higher density device. | |
#define BKP_REG_BASE ((uint32_t *)(0x40006C00 + 0x04)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <libmaple/pwr.h> | |
#include <libmaple/scb.h> | |
#include <RTClock.h> | |
// Define the Base address of the RTC registers (battery backed up CMOS Ram), so we can use them for config of touch screen or whatever. | |
// See http://stm32duino.com/viewtopic.php?f=15&t=132&hilit=rtc&start=40 for a more details about the RTC NVRam | |
// 10x 16 bit registers are available on the STM32F103CXXX more on the higher density device. | |
#define BKP_REG_BASE ((uint32_t *)(0x40006C00 + 0x04)) |