Go to the source code of this file.
Macros | |
#define | BKP_SOFTRESET (0x50F7B007) |
#define | INV_GPIO GPIOB |
#define | INV_OFF digitalLo(INV_GPIO, INV_PIN); |
#define | INV_ON digitalHi(INV_GPIO, INV_PIN); |
#define | INV_PIN Pin_2 |
#define | INVERTER |
#define | LED0 |
#define | LED0_GPIO GPIOB |
#define | LED0_OFF digitalHi(LED0_GPIO, LED0_PIN); |
#define | LED0_ON digitalLo(LED0_GPIO, LED0_PIN); |
#define | LED0_PIN Pin_3 |
#define | LED0_TOGGLE digitalToggle(LED0_GPIO, LED0_PIN); |
#define | LED1 |
#define | LED1_GPIO GPIOB |
#define | LED1_OFF digitalHi(LED1_GPIO, LED1_PIN); |
#define | LED1_ON digitalLo(LED1_GPIO, LED1_PIN); |
#define | LED1_PIN Pin_4 |
#define | LED1_TOGGLE digitalToggle(LED1_GPIO, LED1_PIN); |
Functions | |
void | delay (uint32_t ms) |
void | delayMicroseconds (uint32_t us) |
void | failureMode () |
uint64_t | micros (void) |
uint32_t | millis (void) |
uint32_t | rccReadBkpDr (void) |
void | rccWriteBkpDr (uint32_t value) |
void | systemInit (void) |
void | systemReset (bool toBootloader) |
#define BKP_SOFTRESET (0x50F7B007) |
Definition at line 24 of file drv_system.h.
#define INV_GPIO GPIOB |
Definition at line 38 of file drv_system.h.
Definition at line 61 of file drv_system.h.
Definition at line 62 of file drv_system.h.
#define INV_PIN Pin_2 |
Definition at line 37 of file drv_system.h.
#define INVERTER |
Definition at line 31 of file drv_system.h.
#define LED0 |
Definition at line 29 of file drv_system.h.
#define LED0_GPIO GPIOB |
Definition at line 33 of file drv_system.h.
Definition at line 42 of file drv_system.h.
Definition at line 43 of file drv_system.h.
#define LED0_PIN Pin_3 |
Definition at line 34 of file drv_system.h.
#define LED0_TOGGLE digitalToggle(LED0_GPIO, LED0_PIN); |
Definition at line 41 of file drv_system.h.
#define LED1 |
Definition at line 30 of file drv_system.h.
#define LED1_GPIO GPIOB |
Definition at line 35 of file drv_system.h.
Definition at line 52 of file drv_system.h.
Definition at line 53 of file drv_system.h.
#define LED1_PIN Pin_4 |
Definition at line 36 of file drv_system.h.
#define LED1_TOGGLE digitalToggle(LED1_GPIO, LED1_PIN); |
Definition at line 51 of file drv_system.h.
void failureMode | ( | ) |
Definition at line 132 of file drv_system.c.
uint32_t rccReadBkpDr | ( | void | ) |
Definition at line 139 of file drv_system.c.
void rccWriteBkpDr | ( | uint32_t | value | ) |
Definition at line 144 of file drv_system.c.
void systemReset | ( | bool | toBootloader | ) |
Definition at line 155 of file drv_system.c.