libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Defined Constants and Types for the Watchdog module More...
Defined Constants and Types for the Watchdog module
LGPL License Terms libopencm3 License
Definition at line 30 of file wdog_common.h.
#define WDOG_CMD_CLEAR (1 << 0) |
Definition at line 72 of file wdog_common.h.
Definition at line 29 of file wdog_common.h.
#define WDOG_CTRL_CLKSEL | ( | v | ) | (((v) << WDOG_CTRL_CLKSEL_SHIFT) & WDOG_CTRL_CLKSEL_MASK) |
Definition at line 36 of file wdog_common.h.
#define WDOG_CTRL_CLKSEL_LFRCO 1 |
Definition at line 39 of file wdog_common.h.
#define WDOG_CTRL_CLKSEL_LFXO 2 |
Definition at line 40 of file wdog_common.h.
#define WDOG_CTRL_CLKSEL_MASK (0x3 << WDOG_CTRL_CLKSEL_SHIFT) |
Definition at line 35 of file wdog_common.h.
#define WDOG_CTRL_CLKSEL_SHIFT (12) |
Definition at line 34 of file wdog_common.h.
#define WDOG_CTRL_CLKSEL_ULFRCO 0 |
Definition at line 38 of file wdog_common.h.
#define WDOG_CTRL_DEBUGRUN (1 << 1) |
Definition at line 68 of file wdog_common.h.
#define WDOG_CTRL_EM2RUN (1 << 2) |
Definition at line 67 of file wdog_common.h.
#define WDOG_CTRL_EM3RUN (1 << 3) |
Definition at line 66 of file wdog_common.h.
#define WDOG_CTRL_EM4BLOCK (1 << 5) |
Definition at line 64 of file wdog_common.h.
#define WDOG_CTRL_EN (1 << 0) |
Definition at line 69 of file wdog_common.h.
#define WDOG_CTRL_LOCK (1 << 4) |
Definition at line 65 of file wdog_common.h.
#define WDOG_CTRL_PERSEL | ( | v | ) | (((v) << WDOG_CTRL_PERSEL_SHIFT) & WDOG_CTRL_PERSEL_MASK) |
Definition at line 44 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_128KCYCLES 14 |
Definition at line 60 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_129CYCLES 4 |
Definition at line 50 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_16KCYCLES 11 |
Definition at line 57 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_17CYCLES 1 |
Definition at line 47 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_1KCYCLES 7 |
Definition at line 53 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_256KCYCLES 15 |
Definition at line 61 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_257CYCLES 5 |
Definition at line 51 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_2KCYCLES 8 |
Definition at line 54 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_32KCYCLES 12 |
Definition at line 58 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_33CYCLES 2 |
Definition at line 48 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_4KCYCLES 9 |
Definition at line 55 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_513CYCLES 6 |
Definition at line 52 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_64KCYCLES 13 |
Definition at line 59 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_65CYCLES 3 |
Definition at line 49 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_8KCYCLES 10 |
Definition at line 56 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_9CYCLES 0 |
Definition at line 46 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_MASK (0xF << WDOG_CTRL_PERSEL_SHIFT) |
Definition at line 43 of file wdog_common.h.
#define WDOG_CTRL_PERSEL_SHIFT (8) |
Definition at line 42 of file wdog_common.h.
#define WDOG_CTRL_SWOSCBLOCK (1 << 6) |
Definition at line 63 of file wdog_common.h.
Definition at line 31 of file wdog_common.h.
#define WDOG_SYNCBUSY_CMD (1 << 1) |
Definition at line 75 of file wdog_common.h.
#define WDOG_SYNCBUSY_CTRL (1 << 0) |
Definition at line 76 of file wdog_common.h.