35#ifndef _UTILS_BLINKER_H_
36#define _UTILS_BLINKER_H_
45#define BLINK_DIE_UNEXPIRQ 0x800002CA
47#define BLINK_DIE_HARDFAULT 0x80000ACA
49#define BLINK_DIE_NMI 0x8002A0CA
51#define BLINK_DIE_SVC 0x800AA0CA
53#define BLINK_DIE_PENDSV 0x802AA0CA
55#define BLINK_DIE_TICK 0x80AAA0CA
58#define BLINK_DIE_OUTOFMEM 0x80008CCA
60#define BLINK_DIE_ASSERT 0x80028CCA
62#define BLINK_DIE_STACKOVERFLOW 0x800A8CCA
65#define BLINK_DIE_OUTOFMEMSTACK 0x802A8CCA
67#define BLINK_DIE_STACKCOLLIDE 0x80AA8CCA
71#define BLINK_DIE_ABORT 0x8000CCCA
73#define BLINK_DIE_WATCHDOG 0x8002CCCA
75#define BLINK_DIE_STARTUP 0x800ACCCA
80extern void setblink(uint32_t pattern);
uint32_t blinker_pattern
The currently active blinking pattern.
void resetblink(uint32_t pattern)
Changes the blinking pattern.
void diewith(uint32_t)
Sets a blinking pattern and never returns.
void setblink(uint32_t pattern)
Initializes the blinker routine with a specific blinking pattern.
unsigned parseblink(uint32_t pattern)
Turns a blinker pattern into an error code in BCD.