mbed library sources
Fork of mbed-src by
targets/hal/TARGET_Atmel/TARGET_SAM21/drivers/system/clock/clock_samd21_r21/clock_config_check.h@592:a274ee790e56, 2015-07-17 (annotated)
- Committer:
- mbed_official
- Date:
- Fri Jul 17 09:15:10 2015 +0100
- Revision:
- 592:a274ee790e56
- Parent:
- 579:53297373a894
Synchronized with git revision e7144f83a8d75df80c4877936b6ffe552b0be9e6
Full URL: https://github.com/mbedmicro/mbed/commit/e7144f83a8d75df80c4877936b6ffe552b0be9e6/
More API implementation for SAMR21
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 579:53297373a894 | 1 | #ifndef CLOCK_CONFIG_CHECK_H |
mbed_official | 579:53297373a894 | 2 | # define CLOCK_CONFIG_CHECK_H |
mbed_official | 579:53297373a894 | 3 | |
mbed_official | 579:53297373a894 | 4 | #if !defined(CONF_CLOCK_FLASH_WAIT_STATES) |
mbed_official | 579:53297373a894 | 5 | # error CONF_CLOCK_FLASH_WAIT_STATES not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 6 | #endif |
mbed_official | 579:53297373a894 | 7 | |
mbed_official | 579:53297373a894 | 8 | #if !defined(CONF_CLOCK_CPU_DIVIDER) |
mbed_official | 579:53297373a894 | 9 | # error CONF_CLOCK_CPU_DIVIDER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 10 | #endif |
mbed_official | 579:53297373a894 | 11 | |
mbed_official | 579:53297373a894 | 12 | #if !defined(CONF_CLOCK_APBA_DIVIDER) |
mbed_official | 579:53297373a894 | 13 | # error CONF_CLOCK_APBA_DIVIDER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 14 | #endif |
mbed_official | 579:53297373a894 | 15 | |
mbed_official | 579:53297373a894 | 16 | #if !defined(CONF_CLOCK_APBB_DIVIDER) |
mbed_official | 579:53297373a894 | 17 | # error CONF_CLOCK_APBB_DIVIDER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 18 | #endif |
mbed_official | 579:53297373a894 | 19 | |
mbed_official | 579:53297373a894 | 20 | #if !defined(CONF_CLOCK_OSC8M_PRESCALER) |
mbed_official | 579:53297373a894 | 21 | # error CONF_CLOCK_OSC8M_PRESCALER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 22 | #endif |
mbed_official | 579:53297373a894 | 23 | |
mbed_official | 579:53297373a894 | 24 | #if !defined(CONF_CLOCK_OSC8M_ON_DEMAND) |
mbed_official | 579:53297373a894 | 25 | # error CONF_CLOCK_OSC8M_ON_DEMAND not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 26 | #endif |
mbed_official | 579:53297373a894 | 27 | |
mbed_official | 579:53297373a894 | 28 | #if !defined(CONF_CLOCK_OSC8M_RUN_IN_STANDBY) |
mbed_official | 579:53297373a894 | 29 | # error CONF_CLOCK_OSC8M_RUN_IN_STANDBY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 30 | #endif |
mbed_official | 579:53297373a894 | 31 | |
mbed_official | 579:53297373a894 | 32 | #if !defined(CONF_CLOCK_XOSC_ENABLE) |
mbed_official | 579:53297373a894 | 33 | # error CONF_CLOCK_XOSC_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 34 | #endif |
mbed_official | 579:53297373a894 | 35 | |
mbed_official | 579:53297373a894 | 36 | #if !defined(CONF_CLOCK_XOSC_EXTERNAL_CRYSTAL) |
mbed_official | 579:53297373a894 | 37 | # error CONF_CLOCK_XOSC_EXTERNAL_CRYSTAL not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 38 | #endif |
mbed_official | 579:53297373a894 | 39 | |
mbed_official | 579:53297373a894 | 40 | #if !defined(CONF_CLOCK_XOSC_EXTERNAL_FREQUENCY) |
mbed_official | 579:53297373a894 | 41 | # error CONF_CLOCK_XOSC_EXTERNAL_FREQUENCY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 42 | #endif |
mbed_official | 579:53297373a894 | 43 | |
mbed_official | 579:53297373a894 | 44 | #if !defined(CONF_CLOCK_XOSC_STARTUP_TIME) |
mbed_official | 579:53297373a894 | 45 | # error CONF_CLOCK_XOSC_STARTUP_TIME not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 46 | #endif |
mbed_official | 579:53297373a894 | 47 | |
mbed_official | 579:53297373a894 | 48 | #if !defined(CONF_CLOCK_XOSC_AUTO_GAIN_CONTROL) |
mbed_official | 579:53297373a894 | 49 | # error CONF_CLOCK_XOSC_AUTO_GAIN_CONTROL not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 50 | #endif |
mbed_official | 579:53297373a894 | 51 | |
mbed_official | 579:53297373a894 | 52 | #if !defined(CONF_CLOCK_XOSC_ON_DEMAND) |
mbed_official | 579:53297373a894 | 53 | # error CONF_CLOCK_XOSC_ON_DEMAND not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 54 | #endif |
mbed_official | 579:53297373a894 | 55 | |
mbed_official | 579:53297373a894 | 56 | #if !defined(CONF_CLOCK_XOSC_RUN_IN_STANDBY) |
mbed_official | 579:53297373a894 | 57 | # error CONF_CLOCK_XOSC_RUN_IN_STANDBY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 58 | #endif |
mbed_official | 579:53297373a894 | 59 | |
mbed_official | 579:53297373a894 | 60 | #if !defined(CONF_CLOCK_XOSC32K_ENABLE) |
mbed_official | 579:53297373a894 | 61 | # error CONF_CLOCK_XOSC32K_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 62 | #endif |
mbed_official | 579:53297373a894 | 63 | |
mbed_official | 579:53297373a894 | 64 | #if !defined(CONF_CLOCK_XOSC32K_EXTERNAL_CRYSTAL) |
mbed_official | 579:53297373a894 | 65 | # error CONF_CLOCK_XOSC32K_EXTERNAL_CRYSTAL not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 66 | #endif |
mbed_official | 579:53297373a894 | 67 | |
mbed_official | 579:53297373a894 | 68 | #if !defined(CONF_CLOCK_XOSC32K_STARTUP_TIME) |
mbed_official | 579:53297373a894 | 69 | # error CONF_CLOCK_XOSC32K_STARTUP_TIME not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 70 | #endif |
mbed_official | 579:53297373a894 | 71 | |
mbed_official | 579:53297373a894 | 72 | #if !defined(CONF_CLOCK_XOSC32K_AUTO_AMPLITUDE_CONTROL) |
mbed_official | 579:53297373a894 | 73 | # error CONF_CLOCK_XOSC32K_AUTO_AMPLITUDE_CONTROL not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 74 | #endif |
mbed_official | 579:53297373a894 | 75 | |
mbed_official | 579:53297373a894 | 76 | #if !defined(CONF_CLOCK_XOSC32K_ENABLE_1KHZ_OUPUT) |
mbed_official | 579:53297373a894 | 77 | # error CONF_CLOCK_XOSC32K_ENABLE_1KHZ_OUPUT not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 78 | #endif |
mbed_official | 579:53297373a894 | 79 | |
mbed_official | 579:53297373a894 | 80 | #if !defined(CONF_CLOCK_XOSC32K_ENABLE_32KHZ_OUTPUT) |
mbed_official | 579:53297373a894 | 81 | # error CONF_CLOCK_XOSC32K_ENABLE_32KHZ_OUTPUT not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 82 | #endif |
mbed_official | 579:53297373a894 | 83 | |
mbed_official | 579:53297373a894 | 84 | #if !defined(CONF_CLOCK_XOSC32K_ON_DEMAND) |
mbed_official | 579:53297373a894 | 85 | # error CONF_CLOCK_XOSC32K_ON_DEMAND not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 86 | #endif |
mbed_official | 579:53297373a894 | 87 | |
mbed_official | 579:53297373a894 | 88 | #if !defined(CONF_CLOCK_XOSC32K_RUN_IN_STANDBY) |
mbed_official | 579:53297373a894 | 89 | # error CONF_CLOCK_XOSC32K_RUN_IN_STANDBY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 90 | #endif |
mbed_official | 579:53297373a894 | 91 | |
mbed_official | 579:53297373a894 | 92 | #if !defined(CONF_CLOCK_OSC32K_ENABLE) |
mbed_official | 579:53297373a894 | 93 | # error CONF_CLOCK_OSC32K_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 94 | #endif |
mbed_official | 579:53297373a894 | 95 | |
mbed_official | 579:53297373a894 | 96 | #if !defined(CONF_CLOCK_OSC32K_STARTUP_TIME) |
mbed_official | 579:53297373a894 | 97 | # error CONF_CLOCK_OSC32K_STARTUP_TIME not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 98 | #endif |
mbed_official | 579:53297373a894 | 99 | |
mbed_official | 579:53297373a894 | 100 | #if !defined(CONF_CLOCK_OSC32K_ENABLE_1KHZ_OUTPUT) |
mbed_official | 579:53297373a894 | 101 | # error CONF_CLOCK_OSC32K_ENABLE_1KHZ_OUTPUT not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 102 | #endif |
mbed_official | 579:53297373a894 | 103 | |
mbed_official | 579:53297373a894 | 104 | #if !defined(CONF_CLOCK_OSC32K_ENABLE_32KHZ_OUTPUT) |
mbed_official | 579:53297373a894 | 105 | # error CONF_CLOCK_OSC32K_ENABLE_32KHZ_OUTPUT not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 106 | #endif |
mbed_official | 579:53297373a894 | 107 | |
mbed_official | 579:53297373a894 | 108 | #if !defined(CONF_CLOCK_OSC32K_ON_DEMAND) |
mbed_official | 579:53297373a894 | 109 | # error CONF_CLOCK_OSC32K_ON_DEMAND not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 110 | #endif |
mbed_official | 579:53297373a894 | 111 | |
mbed_official | 579:53297373a894 | 112 | #if !defined(CONF_CLOCK_OSC32K_RUN_IN_STANDBY) |
mbed_official | 579:53297373a894 | 113 | # error CONF_CLOCK_OSC32K_RUN_IN_STANDBY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 114 | #endif |
mbed_official | 579:53297373a894 | 115 | |
mbed_official | 579:53297373a894 | 116 | #if !defined(CONF_CLOCK_DFLL_ENABLE) |
mbed_official | 579:53297373a894 | 117 | # error CONF_CLOCK_DFLL_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 118 | #endif |
mbed_official | 579:53297373a894 | 119 | |
mbed_official | 579:53297373a894 | 120 | #if !defined(CONF_CLOCK_DFLL_LOOP_MODE) |
mbed_official | 579:53297373a894 | 121 | # error CONF_CLOCK_DFLL_LOOP_MODE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 122 | #endif |
mbed_official | 579:53297373a894 | 123 | |
mbed_official | 579:53297373a894 | 124 | #if !defined(CONF_CLOCK_DFLL_ON_DEMAND) |
mbed_official | 579:53297373a894 | 125 | # error CONF_CLOCK_DFLL_ON_DEMAND not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 126 | #endif |
mbed_official | 579:53297373a894 | 127 | |
mbed_official | 579:53297373a894 | 128 | #if !defined(CONF_CLOCK_DFLL_COARSE_VALUE) |
mbed_official | 579:53297373a894 | 129 | # error CONF_CLOCK_DFLL_COARSE_VALUE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 130 | #endif |
mbed_official | 579:53297373a894 | 131 | |
mbed_official | 579:53297373a894 | 132 | #if !defined(CONF_CLOCK_DFLL_FINE_VALUE) |
mbed_official | 579:53297373a894 | 133 | # error CONF_CLOCK_DFLL_FINE_VALUE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 134 | #endif |
mbed_official | 579:53297373a894 | 135 | |
mbed_official | 579:53297373a894 | 136 | #if !defined(CONF_CLOCK_DFLL_SOURCE_GCLK_GENERATOR) |
mbed_official | 579:53297373a894 | 137 | # error CONF_CLOCK_DFLL_SOURCE_GCLK_GENERATOR not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 138 | #endif |
mbed_official | 579:53297373a894 | 139 | |
mbed_official | 579:53297373a894 | 140 | #if !defined(CONF_CLOCK_DFLL_MULTIPLY_FACTOR) |
mbed_official | 579:53297373a894 | 141 | # error CONF_CLOCK_DFLL_MULTIPLY_FACTOR not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 142 | #endif |
mbed_official | 579:53297373a894 | 143 | |
mbed_official | 579:53297373a894 | 144 | #if !defined(CONF_CLOCK_DFLL_QUICK_LOCK) |
mbed_official | 579:53297373a894 | 145 | # error CONF_CLOCK_DFLL_QUICK_LOCK not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 146 | #endif |
mbed_official | 579:53297373a894 | 147 | |
mbed_official | 579:53297373a894 | 148 | #if !defined(CONF_CLOCK_DFLL_TRACK_AFTER_FINE_LOCK) |
mbed_official | 579:53297373a894 | 149 | # error CONF_CLOCK_DFLL_TRACK_AFTER_FINE_LOCK not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 150 | #endif |
mbed_official | 579:53297373a894 | 151 | |
mbed_official | 579:53297373a894 | 152 | #if !defined(CONF_CLOCK_DFLL_KEEP_LOCK_ON_WAKEUP) |
mbed_official | 579:53297373a894 | 153 | # error CONF_CLOCK_DFLL_KEEP_LOCK_ON_WAKEUP not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 154 | #endif |
mbed_official | 579:53297373a894 | 155 | |
mbed_official | 579:53297373a894 | 156 | #if !defined(CONF_CLOCK_DFLL_ENABLE_CHILL_CYCLE) |
mbed_official | 579:53297373a894 | 157 | # error CONF_CLOCK_DFLL_ENABLE_CHILL_CYCLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 158 | #endif |
mbed_official | 579:53297373a894 | 159 | |
mbed_official | 579:53297373a894 | 160 | #if !defined(CONF_CLOCK_DFLL_MAX_COARSE_STEP_SIZE) |
mbed_official | 579:53297373a894 | 161 | # error CONF_CLOCK_DFLL_MAX_COARSE_STEP_SIZE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 162 | #endif |
mbed_official | 579:53297373a894 | 163 | |
mbed_official | 579:53297373a894 | 164 | #if !defined(CONF_CLOCK_DFLL_MAX_FINE_STEP_SIZE) |
mbed_official | 579:53297373a894 | 165 | # error CONF_CLOCK_DFLL_MAX_FINE_STEP_SIZE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 166 | #endif |
mbed_official | 579:53297373a894 | 167 | |
mbed_official | 579:53297373a894 | 168 | #if !defined(CONF_CLOCK_DPLL_ENABLE) |
mbed_official | 579:53297373a894 | 169 | # error CONF_CLOCK_DPLL_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 170 | #endif |
mbed_official | 579:53297373a894 | 171 | |
mbed_official | 579:53297373a894 | 172 | #if !defined(CONF_CLOCK_DPLL_ON_DEMAND) |
mbed_official | 579:53297373a894 | 173 | # error CONF_CLOCK_DPLL_ON_DEMAND not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 174 | #endif |
mbed_official | 579:53297373a894 | 175 | |
mbed_official | 579:53297373a894 | 176 | #if !defined(CONF_CLOCK_DPLL_RUN_IN_STANDBY) |
mbed_official | 579:53297373a894 | 177 | # error CONF_CLOCK_DPLL_RUN_IN_STANDBY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 178 | #endif |
mbed_official | 579:53297373a894 | 179 | |
mbed_official | 579:53297373a894 | 180 | #if !defined(CONF_CLOCK_DPLL_LOCK_BYPASS) |
mbed_official | 579:53297373a894 | 181 | # error CONF_CLOCK_DPLL_LOCK_BYPASS not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 182 | #endif |
mbed_official | 579:53297373a894 | 183 | |
mbed_official | 579:53297373a894 | 184 | #if !defined(CONF_CLOCK_DPLL_WAKE_UP_FAST) |
mbed_official | 579:53297373a894 | 185 | # error CONF_CLOCK_DPLL_WAKE_UP_FAST not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 186 | #endif |
mbed_official | 579:53297373a894 | 187 | |
mbed_official | 579:53297373a894 | 188 | #if !defined(CONF_CLOCK_DPLL_LOW_POWER_ENABLE) |
mbed_official | 579:53297373a894 | 189 | # error CONF_CLOCK_DPLL_LOW_POWER_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 190 | #endif |
mbed_official | 579:53297373a894 | 191 | |
mbed_official | 579:53297373a894 | 192 | #if !defined(CONF_CLOCK_DPLL_LOCK_TIME) |
mbed_official | 579:53297373a894 | 193 | # error CONF_CLOCK_DPLL_LOCK_TIME not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 194 | #endif |
mbed_official | 579:53297373a894 | 195 | |
mbed_official | 579:53297373a894 | 196 | #if !defined(CONF_CLOCK_DPLL_REFERENCE_CLOCK) |
mbed_official | 579:53297373a894 | 197 | # error CONF_CLOCK_DPLL_REFERENCE_CLOCK not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 198 | #endif |
mbed_official | 579:53297373a894 | 199 | |
mbed_official | 579:53297373a894 | 200 | #if !defined(CONF_CLOCK_DPLL_FILTER) |
mbed_official | 579:53297373a894 | 201 | # error CONF_CLOCK_DPLL_FILTER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 202 | #endif |
mbed_official | 579:53297373a894 | 203 | |
mbed_official | 579:53297373a894 | 204 | #if !defined(CONF_CLOCK_DPLL_REFERENCE_FREQUENCY) |
mbed_official | 579:53297373a894 | 205 | # error CONF_CLOCK_DPLL_REFERENCE_FREQUENCY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 206 | #endif |
mbed_official | 579:53297373a894 | 207 | |
mbed_official | 579:53297373a894 | 208 | #if !defined(CONF_CLOCK_DPLL_REFEREMCE_DIVIDER) |
mbed_official | 579:53297373a894 | 209 | # error CONF_CLOCK_DPLL_REFEREMCE_DIVIDER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 210 | #endif |
mbed_official | 579:53297373a894 | 211 | |
mbed_official | 579:53297373a894 | 212 | #if !defined(CONF_CLOCK_DPLL_OUTPUT_FREQUENCY) |
mbed_official | 579:53297373a894 | 213 | # error CONF_CLOCK_DPLL_OUTPUT_FREQUENCY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 214 | #endif |
mbed_official | 579:53297373a894 | 215 | |
mbed_official | 579:53297373a894 | 216 | #if !defined(CONF_CLOCK_CONFIGURE_GCLK) |
mbed_official | 579:53297373a894 | 217 | # error CONF_CLOCK_CONFIGURE_GCLK not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 218 | #endif |
mbed_official | 579:53297373a894 | 219 | |
mbed_official | 579:53297373a894 | 220 | #if !defined(CONF_CLOCK_GCLK_0_ENABLE) |
mbed_official | 579:53297373a894 | 221 | # error CONF_CLOCK_GCLK_0_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 222 | #endif |
mbed_official | 579:53297373a894 | 223 | |
mbed_official | 579:53297373a894 | 224 | #if !defined(CONF_CLOCK_GCLK_0_RUN_IN_STANDBY) |
mbed_official | 579:53297373a894 | 225 | # error CONF_CLOCK_GCLK_0_RUN_IN_STANDBY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 226 | #endif |
mbed_official | 579:53297373a894 | 227 | |
mbed_official | 579:53297373a894 | 228 | #if !defined(CONF_CLOCK_GCLK_0_CLOCK_SOURCE) |
mbed_official | 579:53297373a894 | 229 | # error CONF_CLOCK_GCLK_0_CLOCK_SOURCE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 230 | #endif |
mbed_official | 579:53297373a894 | 231 | |
mbed_official | 579:53297373a894 | 232 | #if !defined(CONF_CLOCK_GCLK_0_PRESCALER) |
mbed_official | 579:53297373a894 | 233 | # error CONF_CLOCK_GCLK_0_PRESCALER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 234 | #endif |
mbed_official | 579:53297373a894 | 235 | |
mbed_official | 579:53297373a894 | 236 | #if !defined(CONF_CLOCK_GCLK_0_OUTPUT_ENABLE) |
mbed_official | 579:53297373a894 | 237 | # error CONF_CLOCK_GCLK_0_OUTPUT_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 238 | #endif |
mbed_official | 579:53297373a894 | 239 | |
mbed_official | 579:53297373a894 | 240 | #if !defined(CONF_CLOCK_GCLK_1_ENABLE) |
mbed_official | 579:53297373a894 | 241 | # error CONF_CLOCK_GCLK_1_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 242 | #endif |
mbed_official | 579:53297373a894 | 243 | |
mbed_official | 579:53297373a894 | 244 | #if !defined(CONF_CLOCK_GCLK_1_RUN_IN_STANDBY) |
mbed_official | 579:53297373a894 | 245 | # error CONF_CLOCK_GCLK_1_RUN_IN_STANDBY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 246 | #endif |
mbed_official | 579:53297373a894 | 247 | |
mbed_official | 579:53297373a894 | 248 | #if !defined(CONF_CLOCK_GCLK_1_CLOCK_SOURCE) |
mbed_official | 579:53297373a894 | 249 | # error CONF_CLOCK_GCLK_1_CLOCK_SOURCE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 250 | #endif |
mbed_official | 579:53297373a894 | 251 | |
mbed_official | 579:53297373a894 | 252 | #if !defined(CONF_CLOCK_GCLK_1_PRESCALER) |
mbed_official | 579:53297373a894 | 253 | # error CONF_CLOCK_GCLK_1_PRESCALER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 254 | #endif |
mbed_official | 579:53297373a894 | 255 | |
mbed_official | 579:53297373a894 | 256 | #if !defined(CONF_CLOCK_GCLK_1_OUTPUT_ENABLE) |
mbed_official | 579:53297373a894 | 257 | # error CONF_CLOCK_GCLK_1_OUTPUT_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 258 | #endif |
mbed_official | 579:53297373a894 | 259 | |
mbed_official | 579:53297373a894 | 260 | #if !defined(CONF_CLOCK_GCLK_2_ENABLE) |
mbed_official | 579:53297373a894 | 261 | # error CONF_CLOCK_GCLK_2_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 262 | #endif |
mbed_official | 579:53297373a894 | 263 | |
mbed_official | 579:53297373a894 | 264 | #if !defined(CONF_CLOCK_GCLK_2_RUN_IN_STANDBY) |
mbed_official | 579:53297373a894 | 265 | # error CONF_CLOCK_GCLK_2_RUN_IN_STANDBY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 266 | #endif |
mbed_official | 579:53297373a894 | 267 | |
mbed_official | 579:53297373a894 | 268 | #if !defined(CONF_CLOCK_GCLK_2_CLOCK_SOURCE) |
mbed_official | 579:53297373a894 | 269 | # error CONF_CLOCK_GCLK_2_CLOCK_SOURCE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 270 | #endif |
mbed_official | 579:53297373a894 | 271 | |
mbed_official | 579:53297373a894 | 272 | #if !defined(CONF_CLOCK_GCLK_2_PRESCALER) |
mbed_official | 579:53297373a894 | 273 | # error CONF_CLOCK_GCLK_2_PRESCALER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 274 | #endif |
mbed_official | 579:53297373a894 | 275 | |
mbed_official | 579:53297373a894 | 276 | #if !defined(CONF_CLOCK_GCLK_2_OUTPUT_ENABLE) |
mbed_official | 579:53297373a894 | 277 | # error CONF_CLOCK_GCLK_2_OUTPUT_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 278 | #endif |
mbed_official | 579:53297373a894 | 279 | |
mbed_official | 579:53297373a894 | 280 | #if !defined(CONF_CLOCK_GCLK_3_ENABLE) |
mbed_official | 579:53297373a894 | 281 | # error CONF_CLOCK_GCLK_3_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 282 | #endif |
mbed_official | 579:53297373a894 | 283 | |
mbed_official | 579:53297373a894 | 284 | #if !defined(CONF_CLOCK_GCLK_3_RUN_IN_STANDBY) |
mbed_official | 579:53297373a894 | 285 | # error CONF_CLOCK_GCLK_3_RUN_IN_STANDBY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 286 | #endif |
mbed_official | 579:53297373a894 | 287 | |
mbed_official | 579:53297373a894 | 288 | #if !defined(CONF_CLOCK_GCLK_3_CLOCK_SOURCE) |
mbed_official | 579:53297373a894 | 289 | # error CONF_CLOCK_GCLK_3_CLOCK_SOURCE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 290 | #endif |
mbed_official | 579:53297373a894 | 291 | |
mbed_official | 579:53297373a894 | 292 | #if !defined(CONF_CLOCK_GCLK_3_PRESCALER) |
mbed_official | 579:53297373a894 | 293 | # error CONF_CLOCK_GCLK_3_PRESCALER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 294 | #endif |
mbed_official | 579:53297373a894 | 295 | |
mbed_official | 579:53297373a894 | 296 | #if !defined(CONF_CLOCK_GCLK_3_OUTPUT_ENABLE) |
mbed_official | 579:53297373a894 | 297 | # error CONF_CLOCK_GCLK_3_OUTPUT_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 298 | #endif |
mbed_official | 579:53297373a894 | 299 | |
mbed_official | 579:53297373a894 | 300 | #if !defined(CONF_CLOCK_GCLK_4_ENABLE) |
mbed_official | 579:53297373a894 | 301 | # error CONF_CLOCK_GCLK_4_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 302 | #endif |
mbed_official | 579:53297373a894 | 303 | |
mbed_official | 579:53297373a894 | 304 | #if !defined(CONF_CLOCK_GCLK_4_RUN_IN_STANDBY) |
mbed_official | 579:53297373a894 | 305 | # error CONF_CLOCK_GCLK_4_RUN_IN_STANDBY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 306 | #endif |
mbed_official | 579:53297373a894 | 307 | |
mbed_official | 579:53297373a894 | 308 | #if !defined(CONF_CLOCK_GCLK_4_CLOCK_SOURCE) |
mbed_official | 579:53297373a894 | 309 | # error CONF_CLOCK_GCLK_4_CLOCK_SOURCE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 310 | #endif |
mbed_official | 579:53297373a894 | 311 | |
mbed_official | 579:53297373a894 | 312 | #if !defined(CONF_CLOCK_GCLK_4_PRESCALER) |
mbed_official | 579:53297373a894 | 313 | # error CONF_CLOCK_GCLK_4_PRESCALER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 314 | #endif |
mbed_official | 579:53297373a894 | 315 | |
mbed_official | 579:53297373a894 | 316 | #if !defined(CONF_CLOCK_GCLK_4_OUTPUT_ENABLE) |
mbed_official | 579:53297373a894 | 317 | # error CONF_CLOCK_GCLK_4_OUTPUT_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 318 | #endif |
mbed_official | 579:53297373a894 | 319 | |
mbed_official | 579:53297373a894 | 320 | #if !defined(CONF_CLOCK_GCLK_5_ENABLE) |
mbed_official | 579:53297373a894 | 321 | # error CONF_CLOCK_GCLK_5_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 322 | #endif |
mbed_official | 579:53297373a894 | 323 | |
mbed_official | 579:53297373a894 | 324 | #if !defined(CONF_CLOCK_GCLK_5_RUN_IN_STANDBY) |
mbed_official | 579:53297373a894 | 325 | # error CONF_CLOCK_GCLK_5_RUN_IN_STANDBY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 326 | #endif |
mbed_official | 579:53297373a894 | 327 | |
mbed_official | 579:53297373a894 | 328 | #if !defined(CONF_CLOCK_GCLK_5_CLOCK_SOURCE) |
mbed_official | 579:53297373a894 | 329 | # error CONF_CLOCK_GCLK_5_CLOCK_SOURCE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 330 | #endif |
mbed_official | 579:53297373a894 | 331 | |
mbed_official | 579:53297373a894 | 332 | #if !defined(CONF_CLOCK_GCLK_5_PRESCALER) |
mbed_official | 579:53297373a894 | 333 | # error CONF_CLOCK_GCLK_5_PRESCALER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 334 | #endif |
mbed_official | 579:53297373a894 | 335 | |
mbed_official | 579:53297373a894 | 336 | #if !defined(CONF_CLOCK_GCLK_5_OUTPUT_ENABLE) |
mbed_official | 579:53297373a894 | 337 | # error CONF_CLOCK_GCLK_5_OUTPUT_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 338 | #endif |
mbed_official | 579:53297373a894 | 339 | |
mbed_official | 579:53297373a894 | 340 | #if !defined(CONF_CLOCK_GCLK_6_ENABLE) |
mbed_official | 579:53297373a894 | 341 | # error CONF_CLOCK_GCLK_6_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 342 | #endif |
mbed_official | 579:53297373a894 | 343 | |
mbed_official | 579:53297373a894 | 344 | #if !defined(CONF_CLOCK_GCLK_6_RUN_IN_STANDBY) |
mbed_official | 579:53297373a894 | 345 | # error CONF_CLOCK_GCLK_6_RUN_IN_STANDBY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 346 | #endif |
mbed_official | 579:53297373a894 | 347 | |
mbed_official | 579:53297373a894 | 348 | #if !defined(CONF_CLOCK_GCLK_6_CLOCK_SOURCE) |
mbed_official | 579:53297373a894 | 349 | # error CONF_CLOCK_GCLK_6_CLOCK_SOURCE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 350 | #endif |
mbed_official | 579:53297373a894 | 351 | |
mbed_official | 579:53297373a894 | 352 | #if !defined(CONF_CLOCK_GCLK_6_PRESCALER) |
mbed_official | 579:53297373a894 | 353 | # error CONF_CLOCK_GCLK_6_PRESCALER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 354 | #endif |
mbed_official | 579:53297373a894 | 355 | |
mbed_official | 579:53297373a894 | 356 | #if !defined(CONF_CLOCK_GCLK_6_OUTPUT_ENABLE) |
mbed_official | 579:53297373a894 | 357 | # error CONF_CLOCK_GCLK_6_OUTPUT_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 358 | #endif |
mbed_official | 579:53297373a894 | 359 | |
mbed_official | 579:53297373a894 | 360 | #if !defined(CONF_CLOCK_GCLK_7_ENABLE) |
mbed_official | 579:53297373a894 | 361 | # error CONF_CLOCK_GCLK_7_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 362 | #endif |
mbed_official | 579:53297373a894 | 363 | |
mbed_official | 579:53297373a894 | 364 | #if !defined(CONF_CLOCK_GCLK_7_RUN_IN_STANDBY) |
mbed_official | 579:53297373a894 | 365 | # error CONF_CLOCK_GCLK_7_RUN_IN_STANDBY not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 366 | #endif |
mbed_official | 579:53297373a894 | 367 | |
mbed_official | 579:53297373a894 | 368 | #if !defined(CONF_CLOCK_GCLK_7_CLOCK_SOURCE) |
mbed_official | 579:53297373a894 | 369 | # error CONF_CLOCK_GCLK_7_CLOCK_SOURCE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 370 | #endif |
mbed_official | 579:53297373a894 | 371 | |
mbed_official | 579:53297373a894 | 372 | #if !defined(CONF_CLOCK_GCLK_7_PRESCALER) |
mbed_official | 579:53297373a894 | 373 | # error CONF_CLOCK_GCLK_7_PRESCALER not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 374 | #endif |
mbed_official | 579:53297373a894 | 375 | |
mbed_official | 579:53297373a894 | 376 | #if !defined(CONF_CLOCK_GCLK_7_OUTPUT_ENABLE) |
mbed_official | 579:53297373a894 | 377 | # error CONF_CLOCK_GCLK_7_OUTPUT_ENABLE not defined in conf_clock.h |
mbed_official | 579:53297373a894 | 378 | #endif |
mbed_official | 579:53297373a894 | 379 | |
mbed_official | 579:53297373a894 | 380 | #endif /* CLOCK_CONFIG_CHECK_H */ |