42 #if defined(STM32F4XX) || defined(STM32F30X)
43 #define MAGIC_REG_1 RTC_BKP_DR1
44 #define MAGIC_REG_2 RTC_BKP_DR2
45 #define IAP_BOOTCOUNT RTC_BKP_DR3
47 #define MAGIC_REG_1 BKP_DR1
48 #define MAGIC_REG_2 BKP_DR2
49 #define IAP_BOOTCOUNT BKP_DR3
uint32_t PIOS_IAP_CheckRequest(void)
Determines if an In-Application-Programming request has been made.
uint16_t PIOS_IAP_ReadBootCount(void)
void PIOS_IAP_Init(void)
PIOS_IAP_Init - performs required initializations for iap module.
void PIOS_IAP_SetRequest3(void)
void PIOS_IAP_ClearRequest(void)
uint32_t PIOS_Boot_CheckRequest(void)
Determines if a boot request has been made.
void PIOS_IAP_WriteBootCount(uint16_t)
void PIOS_IAP_SetRequest2(void)
void PIOS_IAP_SetRequest1(void)
Sets the 1st word of the request sequence.