24 #define BKP_SOFTRESET (0x50F7B007) 33 #define LED0_GPIO GPIOB 34 #define LED0_PIN Pin_3 // PB3 (LED) 35 #define LED1_GPIO GPIOB 36 #define LED1_PIN Pin_4 // PB4 (LED) 37 #define INV_PIN Pin_2 // PB2 (BOOT1) abused as inverter select GPIO 38 #define INV_GPIO GPIOB 41 #define LED0_TOGGLE digitalToggle(LED0_GPIO, LED0_PIN); 42 #define LED0_OFF digitalHi(LED0_GPIO, LED0_PIN); 43 #define LED0_ON digitalLo(LED0_GPIO, LED0_PIN); 51 #define LED1_TOGGLE digitalToggle(LED1_GPIO, LED1_PIN); 52 #define LED1_OFF digitalHi(LED1_GPIO, LED1_PIN); 53 #define LED1_ON digitalLo(LED1_GPIO, LED1_PIN); 61 #define INV_OFF digitalLo(INV_GPIO, INV_PIN); 62 #define INV_ON digitalHi(INV_GPIO, INV_PIN); 70 void delay(uint32_t ms);
uint32_t rccReadBkpDr(void)
void delayMicroseconds(uint32_t us)
void rccWriteBkpDr(uint32_t value)
void systemReset(bool toBootloader)