libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Defined Constants and Types for the Low Energy Timer More...
Defined Constants and Types for the Low Energy Timer
LGPL License Terms libopencm3 License
#define LETIMER0 LETIMER0_BASE |
Definition at line 150 of file letimer_common.h.
#define LETIMER0_CMD LETIMER_CMD(LETIMER0) |
Definition at line 152 of file letimer_common.h.
#define LETIMER0_CNT LETIMER_CNT(LETIMER0) |
Definition at line 154 of file letimer_common.h.
#define LETIMER0_COMP0 LETIMER_COMP0(LETIMER0) |
Definition at line 155 of file letimer_common.h.
#define LETIMER0_COMP1 LETIMER_COMP1(LETIMER0) |
Definition at line 156 of file letimer_common.h.
#define LETIMER0_CTRL LETIMER_CTRL(LETIMER0) |
Definition at line 151 of file letimer_common.h.
#define LETIMER0_FREEZE LETIMER_FREEZE(LETIMER0) |
Definition at line 163 of file letimer_common.h.
#define LETIMER0_IEN LETIMER_IEN(LETIMER0) |
Definition at line 162 of file letimer_common.h.
#define LETIMER0_IF LETIMER_IF(LETIMER0) |
Definition at line 159 of file letimer_common.h.
#define LETIMER0_IFC LETIMER_IFC(LETIMER0) |
Definition at line 161 of file letimer_common.h.
#define LETIMER0_IFS LETIMER_IFS(LETIMER0) |
Definition at line 160 of file letimer_common.h.
#define LETIMER0_REP0 LETIMER_REP0(LETIMER0) |
Definition at line 157 of file letimer_common.h.
#define LETIMER0_REP1 LETIMER_REP1(LETIMER0) |
Definition at line 158 of file letimer_common.h.
#define LETIMER0_ROUTE LETIMER_ROUTE(LETIMER0) |
Definition at line 165 of file letimer_common.h.
#define LETIMER0_STATUS LETIMER_STATUS(LETIMER0) |
Definition at line 153 of file letimer_common.h.
#define LETIMER0_SYNCBUSY LETIMER_SYNCBUSY(LETIMER0) |
Definition at line 164 of file letimer_common.h.
#define LETIMER_CMD | ( | base | ) | ((base) + 0x004) |
Definition at line 30 of file letimer_common.h.
#define LETIMER_CMD_CLEAR (1 << 2) |
Definition at line 85 of file letimer_common.h.
#define LETIMER_CMD_CTO0 (1 << 3) |
Definition at line 84 of file letimer_common.h.
#define LETIMER_CMD_CTO1 (1 << 4) |
Definition at line 83 of file letimer_common.h.
#define LETIMER_CMD_START (1 << 0) |
Definition at line 87 of file letimer_common.h.
#define LETIMER_CMD_STOP (1 << 1) |
Definition at line 86 of file letimer_common.h.
#define LETIMER_CNT | ( | base | ) | ((base) + 0x00C) |
Definition at line 32 of file letimer_common.h.
#define LETIMER_COMP0 | ( | base | ) | ((base) + 0x010) |
Definition at line 33 of file letimer_common.h.
#define LETIMER_COMP1 | ( | base | ) | ((base) + 0x014) |
Definition at line 34 of file letimer_common.h.
#define LETIMER_CTRL | ( | base | ) | ((base) + 0x000) |
Definition at line 29 of file letimer_common.h.
#define LETIMER_CTRL_BUFTOP (1 << 8) |
Definition at line 50 of file letimer_common.h.
#define LETIMER_CTRL_COMP0TOP (1 << 9) |
Definition at line 49 of file letimer_common.h.
#define LETIMER_CTRL_DEBUG (1 << 12) |
Definition at line 46 of file letimer_common.h.
#define LETIMER_CTRL_OPOL0 (1 << 6) |
Definition at line 52 of file letimer_common.h.
#define LETIMER_CTRL_OPOL1 (1 << 7) |
Definition at line 51 of file letimer_common.h.
#define LETIMER_CTRL_REPMODE | ( | v | ) | (((v) << LETIMER_CTRL_REPMODE_SHIFT) & LETIMER_CTRL_REPMODE_MASK) |
Definition at line 74 of file letimer_common.h.
#define LETIMER_CTRL_REPMODE_BUFFERED 2 |
Definition at line 78 of file letimer_common.h.
#define LETIMER_CTRL_REPMODE_DOUBLE 3 |
Definition at line 79 of file letimer_common.h.
#define LETIMER_CTRL_REPMODE_FREE 0 |
Definition at line 76 of file letimer_common.h.
#define LETIMER_CTRL_REPMODE_MASK (0x3 << LETIMER_CTRL_REPMODE_SHIFT) |
Definition at line 73 of file letimer_common.h.
#define LETIMER_CTRL_REPMODE_ONE_SHOT LETIMER_CTRL_REPMODE_ONESHOT |
Definition at line 80 of file letimer_common.h.
#define LETIMER_CTRL_REPMODE_ONESHOT 1 |
Definition at line 77 of file letimer_common.h.
#define LETIMER_CTRL_REPMODE_SHIFT (2) |
Definition at line 72 of file letimer_common.h.
#define LETIMER_CTRL_RTCC0TEN (1 << 10) |
Definition at line 48 of file letimer_common.h.
#define LETIMER_CTRL_RTCC1TEN (1 << 11) |
Definition at line 47 of file letimer_common.h.
#define LETIMER_CTRL_UFOA0 | ( | v | ) | (((v) << LETIMER_CTRL_UFOA0_SHIFT) & LETIMER_CTRL_UFOA0_MASK) |
Definition at line 65 of file letimer_common.h.
#define LETIMER_CTRL_UFOA0_MASK (0x3 << LETIMER_CTRL_UFOA0_SHIFT) |
Definition at line 64 of file letimer_common.h.
#define LETIMER_CTRL_UFOA0_NONE 0 |
Definition at line 67 of file letimer_common.h.
#define LETIMER_CTRL_UFOA0_PULSE 2 |
Definition at line 69 of file letimer_common.h.
#define LETIMER_CTRL_UFOA0_PWM 3 |
Definition at line 70 of file letimer_common.h.
#define LETIMER_CTRL_UFOA0_SHIFT (2) |
Definition at line 63 of file letimer_common.h.
#define LETIMER_CTRL_UFOA0_TOGGLE 1 |
Definition at line 68 of file letimer_common.h.
#define LETIMER_CTRL_UFOA1 | ( | v | ) | (((v) << LETIMER_CTRL_UFOA1_SHIFT) & LETIMER_CTRL_UFOA1_MASK) |
Definition at line 56 of file letimer_common.h.
#define LETIMER_CTRL_UFOA1_MASK (0x3 << LETIMER_CTRL_UFOA1_SHIFT) |
Definition at line 55 of file letimer_common.h.
#define LETIMER_CTRL_UFOA1_NONE 0 |
Definition at line 58 of file letimer_common.h.
#define LETIMER_CTRL_UFOA1_PULSE 2 |
Definition at line 60 of file letimer_common.h.
#define LETIMER_CTRL_UFOA1_PWM 3 |
Definition at line 61 of file letimer_common.h.
#define LETIMER_CTRL_UFOA1_SHIFT (4) |
Definition at line 54 of file letimer_common.h.
#define LETIMER_CTRL_UFOA1_TOGGLE 1 |
Definition at line 59 of file letimer_common.h.
#define LETIMER_FREEZE | ( | base | ) | ((base) + 0x030) |
Definition at line 41 of file letimer_common.h.
#define LETIMER_FREEZE_REGFREEZE (1 << 0) |
Definition at line 121 of file letimer_common.h.
#define LETIMER_IEN | ( | base | ) | ((base) + 0x02C) |
Definition at line 40 of file letimer_common.h.
#define LETIMER_IF | ( | base | ) | ((base) + 0x020) |
Definition at line 37 of file letimer_common.h.
#define LETIMER_IF_COMP0 (1 << 0) |
Definition at line 97 of file letimer_common.h.
#define LETIMER_IF_COMP1 (1 << 1) |
Definition at line 96 of file letimer_common.h.
#define LETIMER_IF_REP0 (1 << 3) |
Definition at line 94 of file letimer_common.h.
#define LETIMER_IF_REP1 (1 << 4) |
Definition at line 93 of file letimer_common.h.
#define LETIMER_IF_UF (1 << 2) |
Definition at line 95 of file letimer_common.h.
#define LETIMER_IFC | ( | base | ) | ((base) + 0x028) |
Definition at line 39 of file letimer_common.h.
#define LETIMER_IFC_COMP0 (1 << 0) |
Definition at line 111 of file letimer_common.h.
#define LETIMER_IFC_COMP1 (1 << 1) |
Definition at line 110 of file letimer_common.h.
#define LETIMER_IFC_REP0 (1 << 3) |
Definition at line 108 of file letimer_common.h.
#define LETIMER_IFC_REP1 (1 << 4) |
Definition at line 107 of file letimer_common.h.
#define LETIMER_IFC_UF (1 << 2) |
Definition at line 109 of file letimer_common.h.
#define LETIMER_IFE_COMP0 (1 << 0) |
Definition at line 118 of file letimer_common.h.
#define LETIMER_IFE_COMP1 (1 << 1) |
Definition at line 117 of file letimer_common.h.
#define LETIMER_IFE_REP0 (1 << 3) |
Definition at line 115 of file letimer_common.h.
#define LETIMER_IFE_REP1 (1 << 4) |
Definition at line 114 of file letimer_common.h.
#define LETIMER_IFE_UF (1 << 2) |
Definition at line 116 of file letimer_common.h.
#define LETIMER_IFS | ( | base | ) | ((base) + 0x024) |
Definition at line 38 of file letimer_common.h.
#define LETIMER_IFS_COMP0 (1 << 0) |
Definition at line 104 of file letimer_common.h.
#define LETIMER_IFS_COMP1 (1 << 1) |
Definition at line 103 of file letimer_common.h.
#define LETIMER_IFS_REP0 (1 << 3) |
Definition at line 101 of file letimer_common.h.
#define LETIMER_IFS_REP1 (1 << 4) |
Definition at line 100 of file letimer_common.h.
#define LETIMER_IFS_UF (1 << 2) |
Definition at line 102 of file letimer_common.h.
#define LETIMER_REP0 | ( | base | ) | ((base) + 0x018) |
Definition at line 35 of file letimer_common.h.
#define LETIMER_REP1 | ( | base | ) | ((base) + 0x01C) |
Definition at line 36 of file letimer_common.h.
#define LETIMER_ROUTE | ( | base | ) | ((base) + 0x040) |
Definition at line 43 of file letimer_common.h.
#define LETIMER_ROUTE_LOCATION | ( | v | ) | (((v) << LETIMER_ROUTE_LOCATION_SHIFT) & LETIMER_ROUTE_LOCATION_MASK) |
Definition at line 134 of file letimer_common.h.
#define LETIMER_ROUTE_LOCATION_LOC0 0 |
Definition at line 137 of file letimer_common.h.
#define LETIMER_ROUTE_LOCATION_LOC1 1 |
Definition at line 138 of file letimer_common.h.
#define LETIMER_ROUTE_LOCATION_LOC2 2 |
Definition at line 139 of file letimer_common.h.
#define LETIMER_ROUTE_LOCATION_LOC3 3 |
Definition at line 140 of file letimer_common.h.
#define LETIMER_ROUTE_LOCATION_LOC4 4 |
Definition at line 141 of file letimer_common.h.
#define LETIMER_ROUTE_LOCATION_LOC5 5 |
Definition at line 142 of file letimer_common.h.
#define LETIMER_ROUTE_LOCATION_LOC6 6 |
Definition at line 143 of file letimer_common.h.
#define LETIMER_ROUTE_LOCATION_LOC7 7 |
Definition at line 144 of file letimer_common.h.
#define LETIMER_ROUTE_LOCATION_LOCx | ( | x | ) | LETIMER_ROUTE_LOCATION(x) |
Definition at line 136 of file letimer_common.h.
#define LETIMER_ROUTE_LOCATION_MASK (0x7 << LETIMER_ROUTE_LOCATION_SHIFT) |
Definition at line 133 of file letimer_common.h.
#define LETIMER_ROUTE_LOCATION_SHIFT (8) |
Definition at line 132 of file letimer_common.h.
#define LETIMER_ROUTE_OUT0PEN (1 << 0) |
Definition at line 147 of file letimer_common.h.
#define LETIMER_ROUTE_OUT1PEN (1 << 1) |
Definition at line 146 of file letimer_common.h.
#define LETIMER_STATUS | ( | base | ) | ((base) + 0x008) |
Definition at line 31 of file letimer_common.h.
#define LETIMER_STATUS_RUNNING (1 << 0) |
Definition at line 90 of file letimer_common.h.
#define LETIMER_SYNCBUSY | ( | base | ) | ((base) + 0x034) |
Definition at line 42 of file letimer_common.h.
#define LETIMER_SYNCBUSY_CMD (1 << 1) |
Definition at line 128 of file letimer_common.h.
#define LETIMER_SYNCBUSY_COMP0 (1 << 2) |
Definition at line 127 of file letimer_common.h.
#define LETIMER_SYNCBUSY_COMP1 (1 << 3) |
Definition at line 126 of file letimer_common.h.
#define LETIMER_SYNCBUSY_CTRL (1 << 0) |
Definition at line 129 of file letimer_common.h.
#define LETIMER_SYNCBUSY_REP0 (1 << 4) |
Definition at line 125 of file letimer_common.h.
#define LETIMER_SYNCBUSY_REP1 (1 << 5) |
Definition at line 124 of file letimer_common.h.