mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Wed Jul 01 09:45:11 2015 +0100
Revision:
579:53297373a894
Child:
592:a274ee790e56
Synchronized with git revision d5b4d2ab9c47edb4dc5776e7177b0c2263459081

Full URL: https://github.com/mbedmicro/mbed/commit/d5b4d2ab9c47edb4dc5776e7177b0c2263459081/

Initial version of drivers for SAMR21

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 579:53297373a894 1 /**
mbed_official 579:53297373a894 2 * \file
mbed_official 579:53297373a894 3 *
mbed_official 579:53297373a894 4 * \brief SAM D21/R21 Clock Driver
mbed_official 579:53297373a894 5 *
mbed_official 579:53297373a894 6 * Copyright (C) 2012-2014 Atmel Corporation. All rights reserved.
mbed_official 579:53297373a894 7 *
mbed_official 579:53297373a894 8 * \asf_license_start
mbed_official 579:53297373a894 9 *
mbed_official 579:53297373a894 10 * \page License
mbed_official 579:53297373a894 11 *
mbed_official 579:53297373a894 12 * Redistribution and use in source and binary forms, with or without
mbed_official 579:53297373a894 13 * modification, are permitted provided that the following conditions are met:
mbed_official 579:53297373a894 14 *
mbed_official 579:53297373a894 15 * 1. Redistributions of source code must retain the above copyright notice,
mbed_official 579:53297373a894 16 * this list of conditions and the following disclaimer.
mbed_official 579:53297373a894 17 *
mbed_official 579:53297373a894 18 * 2. Redistributions in binary form must reproduce the above copyright notice,
mbed_official 579:53297373a894 19 * this list of conditions and the following disclaimer in the documentation
mbed_official 579:53297373a894 20 * and/or other materials provided with the distribution.
mbed_official 579:53297373a894 21 *
mbed_official 579:53297373a894 22 * 3. The name of Atmel may not be used to endorse or promote products derived
mbed_official 579:53297373a894 23 * from this software without specific prior written permission.
mbed_official 579:53297373a894 24 *
mbed_official 579:53297373a894 25 * 4. This software may only be redistributed and used in connection with an
mbed_official 579:53297373a894 26 * Atmel microcontroller product.
mbed_official 579:53297373a894 27 *
mbed_official 579:53297373a894 28 * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
mbed_official 579:53297373a894 29 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
mbed_official 579:53297373a894 30 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
mbed_official 579:53297373a894 31 * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
mbed_official 579:53297373a894 32 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mbed_official 579:53297373a894 33 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
mbed_official 579:53297373a894 34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
mbed_official 579:53297373a894 35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
mbed_official 579:53297373a894 36 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
mbed_official 579:53297373a894 37 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
mbed_official 579:53297373a894 38 * POSSIBILITY OF SUCH DAMAGE.
mbed_official 579:53297373a894 39 *
mbed_official 579:53297373a894 40 * \asf_license_stop
mbed_official 579:53297373a894 41 *
mbed_official 579:53297373a894 42 */
mbed_official 579:53297373a894 43 /**
mbed_official 579:53297373a894 44 * Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
mbed_official 579:53297373a894 45 */
mbed_official 579:53297373a894 46
mbed_official 579:53297373a894 47 #ifndef CLOCK_CONFIG_CHECK_H
mbed_official 579:53297373a894 48 # define CLOCK_CONFIG_CHECK_H
mbed_official 579:53297373a894 49
mbed_official 579:53297373a894 50 #if !defined(CONF_CLOCK_FLASH_WAIT_STATES)
mbed_official 579:53297373a894 51 # error CONF_CLOCK_FLASH_WAIT_STATES not defined in conf_clock.h
mbed_official 579:53297373a894 52 #endif
mbed_official 579:53297373a894 53
mbed_official 579:53297373a894 54 #if !defined(CONF_CLOCK_CPU_DIVIDER)
mbed_official 579:53297373a894 55 # error CONF_CLOCK_CPU_DIVIDER not defined in conf_clock.h
mbed_official 579:53297373a894 56 #endif
mbed_official 579:53297373a894 57
mbed_official 579:53297373a894 58 #if !defined(CONF_CLOCK_APBA_DIVIDER)
mbed_official 579:53297373a894 59 # error CONF_CLOCK_APBA_DIVIDER not defined in conf_clock.h
mbed_official 579:53297373a894 60 #endif
mbed_official 579:53297373a894 61
mbed_official 579:53297373a894 62 #if !defined(CONF_CLOCK_APBB_DIVIDER)
mbed_official 579:53297373a894 63 # error CONF_CLOCK_APBB_DIVIDER not defined in conf_clock.h
mbed_official 579:53297373a894 64 #endif
mbed_official 579:53297373a894 65
mbed_official 579:53297373a894 66 #if !defined(CONF_CLOCK_OSC8M_PRESCALER)
mbed_official 579:53297373a894 67 # error CONF_CLOCK_OSC8M_PRESCALER not defined in conf_clock.h
mbed_official 579:53297373a894 68 #endif
mbed_official 579:53297373a894 69
mbed_official 579:53297373a894 70 #if !defined(CONF_CLOCK_OSC8M_ON_DEMAND)
mbed_official 579:53297373a894 71 # error CONF_CLOCK_OSC8M_ON_DEMAND not defined in conf_clock.h
mbed_official 579:53297373a894 72 #endif
mbed_official 579:53297373a894 73
mbed_official 579:53297373a894 74 #if !defined(CONF_CLOCK_OSC8M_RUN_IN_STANDBY)
mbed_official 579:53297373a894 75 # error CONF_CLOCK_OSC8M_RUN_IN_STANDBY not defined in conf_clock.h
mbed_official 579:53297373a894 76 #endif
mbed_official 579:53297373a894 77
mbed_official 579:53297373a894 78 #if !defined(CONF_CLOCK_XOSC_ENABLE)
mbed_official 579:53297373a894 79 # error CONF_CLOCK_XOSC_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 80 #endif
mbed_official 579:53297373a894 81
mbed_official 579:53297373a894 82 #if !defined(CONF_CLOCK_XOSC_EXTERNAL_CRYSTAL)
mbed_official 579:53297373a894 83 # error CONF_CLOCK_XOSC_EXTERNAL_CRYSTAL not defined in conf_clock.h
mbed_official 579:53297373a894 84 #endif
mbed_official 579:53297373a894 85
mbed_official 579:53297373a894 86 #if !defined(CONF_CLOCK_XOSC_EXTERNAL_FREQUENCY)
mbed_official 579:53297373a894 87 # error CONF_CLOCK_XOSC_EXTERNAL_FREQUENCY not defined in conf_clock.h
mbed_official 579:53297373a894 88 #endif
mbed_official 579:53297373a894 89
mbed_official 579:53297373a894 90 #if !defined(CONF_CLOCK_XOSC_STARTUP_TIME)
mbed_official 579:53297373a894 91 # error CONF_CLOCK_XOSC_STARTUP_TIME not defined in conf_clock.h
mbed_official 579:53297373a894 92 #endif
mbed_official 579:53297373a894 93
mbed_official 579:53297373a894 94 #if !defined(CONF_CLOCK_XOSC_AUTO_GAIN_CONTROL)
mbed_official 579:53297373a894 95 # error CONF_CLOCK_XOSC_AUTO_GAIN_CONTROL not defined in conf_clock.h
mbed_official 579:53297373a894 96 #endif
mbed_official 579:53297373a894 97
mbed_official 579:53297373a894 98 #if !defined(CONF_CLOCK_XOSC_ON_DEMAND)
mbed_official 579:53297373a894 99 # error CONF_CLOCK_XOSC_ON_DEMAND not defined in conf_clock.h
mbed_official 579:53297373a894 100 #endif
mbed_official 579:53297373a894 101
mbed_official 579:53297373a894 102 #if !defined(CONF_CLOCK_XOSC_RUN_IN_STANDBY)
mbed_official 579:53297373a894 103 # error CONF_CLOCK_XOSC_RUN_IN_STANDBY not defined in conf_clock.h
mbed_official 579:53297373a894 104 #endif
mbed_official 579:53297373a894 105
mbed_official 579:53297373a894 106 #if !defined(CONF_CLOCK_XOSC32K_ENABLE)
mbed_official 579:53297373a894 107 # error CONF_CLOCK_XOSC32K_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 108 #endif
mbed_official 579:53297373a894 109
mbed_official 579:53297373a894 110 #if !defined(CONF_CLOCK_XOSC32K_EXTERNAL_CRYSTAL)
mbed_official 579:53297373a894 111 # error CONF_CLOCK_XOSC32K_EXTERNAL_CRYSTAL not defined in conf_clock.h
mbed_official 579:53297373a894 112 #endif
mbed_official 579:53297373a894 113
mbed_official 579:53297373a894 114 #if !defined(CONF_CLOCK_XOSC32K_STARTUP_TIME)
mbed_official 579:53297373a894 115 # error CONF_CLOCK_XOSC32K_STARTUP_TIME not defined in conf_clock.h
mbed_official 579:53297373a894 116 #endif
mbed_official 579:53297373a894 117
mbed_official 579:53297373a894 118 #if !defined(CONF_CLOCK_XOSC32K_AUTO_AMPLITUDE_CONTROL)
mbed_official 579:53297373a894 119 # error CONF_CLOCK_XOSC32K_AUTO_AMPLITUDE_CONTROL not defined in conf_clock.h
mbed_official 579:53297373a894 120 #endif
mbed_official 579:53297373a894 121
mbed_official 579:53297373a894 122 #if !defined(CONF_CLOCK_XOSC32K_ENABLE_1KHZ_OUPUT)
mbed_official 579:53297373a894 123 # error CONF_CLOCK_XOSC32K_ENABLE_1KHZ_OUPUT not defined in conf_clock.h
mbed_official 579:53297373a894 124 #endif
mbed_official 579:53297373a894 125
mbed_official 579:53297373a894 126 #if !defined(CONF_CLOCK_XOSC32K_ENABLE_32KHZ_OUTPUT)
mbed_official 579:53297373a894 127 # error CONF_CLOCK_XOSC32K_ENABLE_32KHZ_OUTPUT not defined in conf_clock.h
mbed_official 579:53297373a894 128 #endif
mbed_official 579:53297373a894 129
mbed_official 579:53297373a894 130 #if !defined(CONF_CLOCK_XOSC32K_ON_DEMAND)
mbed_official 579:53297373a894 131 # error CONF_CLOCK_XOSC32K_ON_DEMAND not defined in conf_clock.h
mbed_official 579:53297373a894 132 #endif
mbed_official 579:53297373a894 133
mbed_official 579:53297373a894 134 #if !defined(CONF_CLOCK_XOSC32K_RUN_IN_STANDBY)
mbed_official 579:53297373a894 135 # error CONF_CLOCK_XOSC32K_RUN_IN_STANDBY not defined in conf_clock.h
mbed_official 579:53297373a894 136 #endif
mbed_official 579:53297373a894 137
mbed_official 579:53297373a894 138 #if !defined(CONF_CLOCK_OSC32K_ENABLE)
mbed_official 579:53297373a894 139 # error CONF_CLOCK_OSC32K_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 140 #endif
mbed_official 579:53297373a894 141
mbed_official 579:53297373a894 142 #if !defined(CONF_CLOCK_OSC32K_STARTUP_TIME)
mbed_official 579:53297373a894 143 # error CONF_CLOCK_OSC32K_STARTUP_TIME not defined in conf_clock.h
mbed_official 579:53297373a894 144 #endif
mbed_official 579:53297373a894 145
mbed_official 579:53297373a894 146 #if !defined(CONF_CLOCK_OSC32K_ENABLE_1KHZ_OUTPUT)
mbed_official 579:53297373a894 147 # error CONF_CLOCK_OSC32K_ENABLE_1KHZ_OUTPUT not defined in conf_clock.h
mbed_official 579:53297373a894 148 #endif
mbed_official 579:53297373a894 149
mbed_official 579:53297373a894 150 #if !defined(CONF_CLOCK_OSC32K_ENABLE_32KHZ_OUTPUT)
mbed_official 579:53297373a894 151 # error CONF_CLOCK_OSC32K_ENABLE_32KHZ_OUTPUT not defined in conf_clock.h
mbed_official 579:53297373a894 152 #endif
mbed_official 579:53297373a894 153
mbed_official 579:53297373a894 154 #if !defined(CONF_CLOCK_OSC32K_ON_DEMAND)
mbed_official 579:53297373a894 155 # error CONF_CLOCK_OSC32K_ON_DEMAND not defined in conf_clock.h
mbed_official 579:53297373a894 156 #endif
mbed_official 579:53297373a894 157
mbed_official 579:53297373a894 158 #if !defined(CONF_CLOCK_OSC32K_RUN_IN_STANDBY)
mbed_official 579:53297373a894 159 # error CONF_CLOCK_OSC32K_RUN_IN_STANDBY not defined in conf_clock.h
mbed_official 579:53297373a894 160 #endif
mbed_official 579:53297373a894 161
mbed_official 579:53297373a894 162 #if !defined(CONF_CLOCK_DFLL_ENABLE)
mbed_official 579:53297373a894 163 # error CONF_CLOCK_DFLL_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 164 #endif
mbed_official 579:53297373a894 165
mbed_official 579:53297373a894 166 #if !defined(CONF_CLOCK_DFLL_LOOP_MODE)
mbed_official 579:53297373a894 167 # error CONF_CLOCK_DFLL_LOOP_MODE not defined in conf_clock.h
mbed_official 579:53297373a894 168 #endif
mbed_official 579:53297373a894 169
mbed_official 579:53297373a894 170 #if !defined(CONF_CLOCK_DFLL_ON_DEMAND)
mbed_official 579:53297373a894 171 # error CONF_CLOCK_DFLL_ON_DEMAND not defined in conf_clock.h
mbed_official 579:53297373a894 172 #endif
mbed_official 579:53297373a894 173
mbed_official 579:53297373a894 174 #if !defined(CONF_CLOCK_DFLL_COARSE_VALUE)
mbed_official 579:53297373a894 175 # error CONF_CLOCK_DFLL_COARSE_VALUE not defined in conf_clock.h
mbed_official 579:53297373a894 176 #endif
mbed_official 579:53297373a894 177
mbed_official 579:53297373a894 178 #if !defined(CONF_CLOCK_DFLL_FINE_VALUE)
mbed_official 579:53297373a894 179 # error CONF_CLOCK_DFLL_FINE_VALUE not defined in conf_clock.h
mbed_official 579:53297373a894 180 #endif
mbed_official 579:53297373a894 181
mbed_official 579:53297373a894 182 #if !defined(CONF_CLOCK_DFLL_SOURCE_GCLK_GENERATOR)
mbed_official 579:53297373a894 183 # error CONF_CLOCK_DFLL_SOURCE_GCLK_GENERATOR not defined in conf_clock.h
mbed_official 579:53297373a894 184 #endif
mbed_official 579:53297373a894 185
mbed_official 579:53297373a894 186 #if !defined(CONF_CLOCK_DFLL_MULTIPLY_FACTOR)
mbed_official 579:53297373a894 187 # error CONF_CLOCK_DFLL_MULTIPLY_FACTOR not defined in conf_clock.h
mbed_official 579:53297373a894 188 #endif
mbed_official 579:53297373a894 189
mbed_official 579:53297373a894 190 #if !defined(CONF_CLOCK_DFLL_QUICK_LOCK)
mbed_official 579:53297373a894 191 # error CONF_CLOCK_DFLL_QUICK_LOCK not defined in conf_clock.h
mbed_official 579:53297373a894 192 #endif
mbed_official 579:53297373a894 193
mbed_official 579:53297373a894 194 #if !defined(CONF_CLOCK_DFLL_TRACK_AFTER_FINE_LOCK)
mbed_official 579:53297373a894 195 # error CONF_CLOCK_DFLL_TRACK_AFTER_FINE_LOCK not defined in conf_clock.h
mbed_official 579:53297373a894 196 #endif
mbed_official 579:53297373a894 197
mbed_official 579:53297373a894 198 #if !defined(CONF_CLOCK_DFLL_KEEP_LOCK_ON_WAKEUP)
mbed_official 579:53297373a894 199 # error CONF_CLOCK_DFLL_KEEP_LOCK_ON_WAKEUP not defined in conf_clock.h
mbed_official 579:53297373a894 200 #endif
mbed_official 579:53297373a894 201
mbed_official 579:53297373a894 202 #if !defined(CONF_CLOCK_DFLL_ENABLE_CHILL_CYCLE)
mbed_official 579:53297373a894 203 # error CONF_CLOCK_DFLL_ENABLE_CHILL_CYCLE not defined in conf_clock.h
mbed_official 579:53297373a894 204 #endif
mbed_official 579:53297373a894 205
mbed_official 579:53297373a894 206 #if !defined(CONF_CLOCK_DFLL_MAX_COARSE_STEP_SIZE)
mbed_official 579:53297373a894 207 # error CONF_CLOCK_DFLL_MAX_COARSE_STEP_SIZE not defined in conf_clock.h
mbed_official 579:53297373a894 208 #endif
mbed_official 579:53297373a894 209
mbed_official 579:53297373a894 210 #if !defined(CONF_CLOCK_DFLL_MAX_FINE_STEP_SIZE)
mbed_official 579:53297373a894 211 # error CONF_CLOCK_DFLL_MAX_FINE_STEP_SIZE not defined in conf_clock.h
mbed_official 579:53297373a894 212 #endif
mbed_official 579:53297373a894 213
mbed_official 579:53297373a894 214 #if !defined(CONF_CLOCK_DPLL_ENABLE)
mbed_official 579:53297373a894 215 # error CONF_CLOCK_DPLL_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 216 #endif
mbed_official 579:53297373a894 217
mbed_official 579:53297373a894 218 #if !defined(CONF_CLOCK_DPLL_ON_DEMAND)
mbed_official 579:53297373a894 219 # error CONF_CLOCK_DPLL_ON_DEMAND not defined in conf_clock.h
mbed_official 579:53297373a894 220 #endif
mbed_official 579:53297373a894 221
mbed_official 579:53297373a894 222 #if !defined(CONF_CLOCK_DPLL_RUN_IN_STANDBY)
mbed_official 579:53297373a894 223 # error CONF_CLOCK_DPLL_RUN_IN_STANDBY not defined in conf_clock.h
mbed_official 579:53297373a894 224 #endif
mbed_official 579:53297373a894 225
mbed_official 579:53297373a894 226 #if !defined(CONF_CLOCK_DPLL_LOCK_BYPASS)
mbed_official 579:53297373a894 227 # error CONF_CLOCK_DPLL_LOCK_BYPASS not defined in conf_clock.h
mbed_official 579:53297373a894 228 #endif
mbed_official 579:53297373a894 229
mbed_official 579:53297373a894 230 #if !defined(CONF_CLOCK_DPLL_WAKE_UP_FAST)
mbed_official 579:53297373a894 231 # error CONF_CLOCK_DPLL_WAKE_UP_FAST not defined in conf_clock.h
mbed_official 579:53297373a894 232 #endif
mbed_official 579:53297373a894 233
mbed_official 579:53297373a894 234 #if !defined(CONF_CLOCK_DPLL_LOW_POWER_ENABLE)
mbed_official 579:53297373a894 235 # error CONF_CLOCK_DPLL_LOW_POWER_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 236 #endif
mbed_official 579:53297373a894 237
mbed_official 579:53297373a894 238 #if !defined(CONF_CLOCK_DPLL_LOCK_TIME)
mbed_official 579:53297373a894 239 # error CONF_CLOCK_DPLL_LOCK_TIME not defined in conf_clock.h
mbed_official 579:53297373a894 240 #endif
mbed_official 579:53297373a894 241
mbed_official 579:53297373a894 242 #if !defined(CONF_CLOCK_DPLL_REFERENCE_CLOCK)
mbed_official 579:53297373a894 243 # error CONF_CLOCK_DPLL_REFERENCE_CLOCK not defined in conf_clock.h
mbed_official 579:53297373a894 244 #endif
mbed_official 579:53297373a894 245
mbed_official 579:53297373a894 246 #if !defined(CONF_CLOCK_DPLL_FILTER)
mbed_official 579:53297373a894 247 # error CONF_CLOCK_DPLL_FILTER not defined in conf_clock.h
mbed_official 579:53297373a894 248 #endif
mbed_official 579:53297373a894 249
mbed_official 579:53297373a894 250 #if !defined(CONF_CLOCK_DPLL_REFERENCE_FREQUENCY)
mbed_official 579:53297373a894 251 # error CONF_CLOCK_DPLL_REFERENCE_FREQUENCY not defined in conf_clock.h
mbed_official 579:53297373a894 252 #endif
mbed_official 579:53297373a894 253
mbed_official 579:53297373a894 254 #if !defined(CONF_CLOCK_DPLL_REFEREMCE_DIVIDER)
mbed_official 579:53297373a894 255 # error CONF_CLOCK_DPLL_REFEREMCE_DIVIDER not defined in conf_clock.h
mbed_official 579:53297373a894 256 #endif
mbed_official 579:53297373a894 257
mbed_official 579:53297373a894 258 #if !defined(CONF_CLOCK_DPLL_OUTPUT_FREQUENCY)
mbed_official 579:53297373a894 259 # error CONF_CLOCK_DPLL_OUTPUT_FREQUENCY not defined in conf_clock.h
mbed_official 579:53297373a894 260 #endif
mbed_official 579:53297373a894 261
mbed_official 579:53297373a894 262 #if !defined(CONF_CLOCK_CONFIGURE_GCLK)
mbed_official 579:53297373a894 263 # error CONF_CLOCK_CONFIGURE_GCLK not defined in conf_clock.h
mbed_official 579:53297373a894 264 #endif
mbed_official 579:53297373a894 265
mbed_official 579:53297373a894 266 #if !defined(CONF_CLOCK_GCLK_0_ENABLE)
mbed_official 579:53297373a894 267 # error CONF_CLOCK_GCLK_0_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 268 #endif
mbed_official 579:53297373a894 269
mbed_official 579:53297373a894 270 #if !defined(CONF_CLOCK_GCLK_0_RUN_IN_STANDBY)
mbed_official 579:53297373a894 271 # error CONF_CLOCK_GCLK_0_RUN_IN_STANDBY not defined in conf_clock.h
mbed_official 579:53297373a894 272 #endif
mbed_official 579:53297373a894 273
mbed_official 579:53297373a894 274 #if !defined(CONF_CLOCK_GCLK_0_CLOCK_SOURCE)
mbed_official 579:53297373a894 275 # error CONF_CLOCK_GCLK_0_CLOCK_SOURCE not defined in conf_clock.h
mbed_official 579:53297373a894 276 #endif
mbed_official 579:53297373a894 277
mbed_official 579:53297373a894 278 #if !defined(CONF_CLOCK_GCLK_0_PRESCALER)
mbed_official 579:53297373a894 279 # error CONF_CLOCK_GCLK_0_PRESCALER not defined in conf_clock.h
mbed_official 579:53297373a894 280 #endif
mbed_official 579:53297373a894 281
mbed_official 579:53297373a894 282 #if !defined(CONF_CLOCK_GCLK_0_OUTPUT_ENABLE)
mbed_official 579:53297373a894 283 # error CONF_CLOCK_GCLK_0_OUTPUT_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 284 #endif
mbed_official 579:53297373a894 285
mbed_official 579:53297373a894 286 #if !defined(CONF_CLOCK_GCLK_1_ENABLE)
mbed_official 579:53297373a894 287 # error CONF_CLOCK_GCLK_1_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 288 #endif
mbed_official 579:53297373a894 289
mbed_official 579:53297373a894 290 #if !defined(CONF_CLOCK_GCLK_1_RUN_IN_STANDBY)
mbed_official 579:53297373a894 291 # error CONF_CLOCK_GCLK_1_RUN_IN_STANDBY not defined in conf_clock.h
mbed_official 579:53297373a894 292 #endif
mbed_official 579:53297373a894 293
mbed_official 579:53297373a894 294 #if !defined(CONF_CLOCK_GCLK_1_CLOCK_SOURCE)
mbed_official 579:53297373a894 295 # error CONF_CLOCK_GCLK_1_CLOCK_SOURCE not defined in conf_clock.h
mbed_official 579:53297373a894 296 #endif
mbed_official 579:53297373a894 297
mbed_official 579:53297373a894 298 #if !defined(CONF_CLOCK_GCLK_1_PRESCALER)
mbed_official 579:53297373a894 299 # error CONF_CLOCK_GCLK_1_PRESCALER not defined in conf_clock.h
mbed_official 579:53297373a894 300 #endif
mbed_official 579:53297373a894 301
mbed_official 579:53297373a894 302 #if !defined(CONF_CLOCK_GCLK_1_OUTPUT_ENABLE)
mbed_official 579:53297373a894 303 # error CONF_CLOCK_GCLK_1_OUTPUT_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 304 #endif
mbed_official 579:53297373a894 305
mbed_official 579:53297373a894 306 #if !defined(CONF_CLOCK_GCLK_2_ENABLE)
mbed_official 579:53297373a894 307 # error CONF_CLOCK_GCLK_2_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 308 #endif
mbed_official 579:53297373a894 309
mbed_official 579:53297373a894 310 #if !defined(CONF_CLOCK_GCLK_2_RUN_IN_STANDBY)
mbed_official 579:53297373a894 311 # error CONF_CLOCK_GCLK_2_RUN_IN_STANDBY not defined in conf_clock.h
mbed_official 579:53297373a894 312 #endif
mbed_official 579:53297373a894 313
mbed_official 579:53297373a894 314 #if !defined(CONF_CLOCK_GCLK_2_CLOCK_SOURCE)
mbed_official 579:53297373a894 315 # error CONF_CLOCK_GCLK_2_CLOCK_SOURCE not defined in conf_clock.h
mbed_official 579:53297373a894 316 #endif
mbed_official 579:53297373a894 317
mbed_official 579:53297373a894 318 #if !defined(CONF_CLOCK_GCLK_2_PRESCALER)
mbed_official 579:53297373a894 319 # error CONF_CLOCK_GCLK_2_PRESCALER not defined in conf_clock.h
mbed_official 579:53297373a894 320 #endif
mbed_official 579:53297373a894 321
mbed_official 579:53297373a894 322 #if !defined(CONF_CLOCK_GCLK_2_OUTPUT_ENABLE)
mbed_official 579:53297373a894 323 # error CONF_CLOCK_GCLK_2_OUTPUT_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 324 #endif
mbed_official 579:53297373a894 325
mbed_official 579:53297373a894 326 #if !defined(CONF_CLOCK_GCLK_3_ENABLE)
mbed_official 579:53297373a894 327 # error CONF_CLOCK_GCLK_3_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 328 #endif
mbed_official 579:53297373a894 329
mbed_official 579:53297373a894 330 #if !defined(CONF_CLOCK_GCLK_3_RUN_IN_STANDBY)
mbed_official 579:53297373a894 331 # error CONF_CLOCK_GCLK_3_RUN_IN_STANDBY not defined in conf_clock.h
mbed_official 579:53297373a894 332 #endif
mbed_official 579:53297373a894 333
mbed_official 579:53297373a894 334 #if !defined(CONF_CLOCK_GCLK_3_CLOCK_SOURCE)
mbed_official 579:53297373a894 335 # error CONF_CLOCK_GCLK_3_CLOCK_SOURCE not defined in conf_clock.h
mbed_official 579:53297373a894 336 #endif
mbed_official 579:53297373a894 337
mbed_official 579:53297373a894 338 #if !defined(CONF_CLOCK_GCLK_3_PRESCALER)
mbed_official 579:53297373a894 339 # error CONF_CLOCK_GCLK_3_PRESCALER not defined in conf_clock.h
mbed_official 579:53297373a894 340 #endif
mbed_official 579:53297373a894 341
mbed_official 579:53297373a894 342 #if !defined(CONF_CLOCK_GCLK_3_OUTPUT_ENABLE)
mbed_official 579:53297373a894 343 # error CONF_CLOCK_GCLK_3_OUTPUT_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 344 #endif
mbed_official 579:53297373a894 345
mbed_official 579:53297373a894 346 #if !defined(CONF_CLOCK_GCLK_4_ENABLE)
mbed_official 579:53297373a894 347 # error CONF_CLOCK_GCLK_4_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 348 #endif
mbed_official 579:53297373a894 349
mbed_official 579:53297373a894 350 #if !defined(CONF_CLOCK_GCLK_4_RUN_IN_STANDBY)
mbed_official 579:53297373a894 351 # error CONF_CLOCK_GCLK_4_RUN_IN_STANDBY not defined in conf_clock.h
mbed_official 579:53297373a894 352 #endif
mbed_official 579:53297373a894 353
mbed_official 579:53297373a894 354 #if !defined(CONF_CLOCK_GCLK_4_CLOCK_SOURCE)
mbed_official 579:53297373a894 355 # error CONF_CLOCK_GCLK_4_CLOCK_SOURCE not defined in conf_clock.h
mbed_official 579:53297373a894 356 #endif
mbed_official 579:53297373a894 357
mbed_official 579:53297373a894 358 #if !defined(CONF_CLOCK_GCLK_4_PRESCALER)
mbed_official 579:53297373a894 359 # error CONF_CLOCK_GCLK_4_PRESCALER not defined in conf_clock.h
mbed_official 579:53297373a894 360 #endif
mbed_official 579:53297373a894 361
mbed_official 579:53297373a894 362 #if !defined(CONF_CLOCK_GCLK_4_OUTPUT_ENABLE)
mbed_official 579:53297373a894 363 # error CONF_CLOCK_GCLK_4_OUTPUT_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 364 #endif
mbed_official 579:53297373a894 365
mbed_official 579:53297373a894 366 #if !defined(CONF_CLOCK_GCLK_5_ENABLE)
mbed_official 579:53297373a894 367 # error CONF_CLOCK_GCLK_5_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 368 #endif
mbed_official 579:53297373a894 369
mbed_official 579:53297373a894 370 #if !defined(CONF_CLOCK_GCLK_5_RUN_IN_STANDBY)
mbed_official 579:53297373a894 371 # error CONF_CLOCK_GCLK_5_RUN_IN_STANDBY not defined in conf_clock.h
mbed_official 579:53297373a894 372 #endif
mbed_official 579:53297373a894 373
mbed_official 579:53297373a894 374 #if !defined(CONF_CLOCK_GCLK_5_CLOCK_SOURCE)
mbed_official 579:53297373a894 375 # error CONF_CLOCK_GCLK_5_CLOCK_SOURCE not defined in conf_clock.h
mbed_official 579:53297373a894 376 #endif
mbed_official 579:53297373a894 377
mbed_official 579:53297373a894 378 #if !defined(CONF_CLOCK_GCLK_5_PRESCALER)
mbed_official 579:53297373a894 379 # error CONF_CLOCK_GCLK_5_PRESCALER not defined in conf_clock.h
mbed_official 579:53297373a894 380 #endif
mbed_official 579:53297373a894 381
mbed_official 579:53297373a894 382 #if !defined(CONF_CLOCK_GCLK_5_OUTPUT_ENABLE)
mbed_official 579:53297373a894 383 # error CONF_CLOCK_GCLK_5_OUTPUT_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 384 #endif
mbed_official 579:53297373a894 385
mbed_official 579:53297373a894 386 #if !defined(CONF_CLOCK_GCLK_6_ENABLE)
mbed_official 579:53297373a894 387 # error CONF_CLOCK_GCLK_6_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 388 #endif
mbed_official 579:53297373a894 389
mbed_official 579:53297373a894 390 #if !defined(CONF_CLOCK_GCLK_6_RUN_IN_STANDBY)
mbed_official 579:53297373a894 391 # error CONF_CLOCK_GCLK_6_RUN_IN_STANDBY not defined in conf_clock.h
mbed_official 579:53297373a894 392 #endif
mbed_official 579:53297373a894 393
mbed_official 579:53297373a894 394 #if !defined(CONF_CLOCK_GCLK_6_CLOCK_SOURCE)
mbed_official 579:53297373a894 395 # error CONF_CLOCK_GCLK_6_CLOCK_SOURCE not defined in conf_clock.h
mbed_official 579:53297373a894 396 #endif
mbed_official 579:53297373a894 397
mbed_official 579:53297373a894 398 #if !defined(CONF_CLOCK_GCLK_6_PRESCALER)
mbed_official 579:53297373a894 399 # error CONF_CLOCK_GCLK_6_PRESCALER not defined in conf_clock.h
mbed_official 579:53297373a894 400 #endif
mbed_official 579:53297373a894 401
mbed_official 579:53297373a894 402 #if !defined(CONF_CLOCK_GCLK_6_OUTPUT_ENABLE)
mbed_official 579:53297373a894 403 # error CONF_CLOCK_GCLK_6_OUTPUT_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 404 #endif
mbed_official 579:53297373a894 405
mbed_official 579:53297373a894 406 #if !defined(CONF_CLOCK_GCLK_7_ENABLE)
mbed_official 579:53297373a894 407 # error CONF_CLOCK_GCLK_7_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 408 #endif
mbed_official 579:53297373a894 409
mbed_official 579:53297373a894 410 #if !defined(CONF_CLOCK_GCLK_7_RUN_IN_STANDBY)
mbed_official 579:53297373a894 411 # error CONF_CLOCK_GCLK_7_RUN_IN_STANDBY not defined in conf_clock.h
mbed_official 579:53297373a894 412 #endif
mbed_official 579:53297373a894 413
mbed_official 579:53297373a894 414 #if !defined(CONF_CLOCK_GCLK_7_CLOCK_SOURCE)
mbed_official 579:53297373a894 415 # error CONF_CLOCK_GCLK_7_CLOCK_SOURCE not defined in conf_clock.h
mbed_official 579:53297373a894 416 #endif
mbed_official 579:53297373a894 417
mbed_official 579:53297373a894 418 #if !defined(CONF_CLOCK_GCLK_7_PRESCALER)
mbed_official 579:53297373a894 419 # error CONF_CLOCK_GCLK_7_PRESCALER not defined in conf_clock.h
mbed_official 579:53297373a894 420 #endif
mbed_official 579:53297373a894 421
mbed_official 579:53297373a894 422 #if !defined(CONF_CLOCK_GCLK_7_OUTPUT_ENABLE)
mbed_official 579:53297373a894 423 # error CONF_CLOCK_GCLK_7_OUTPUT_ENABLE not defined in conf_clock.h
mbed_official 579:53297373a894 424 #endif
mbed_official 579:53297373a894 425
mbed_official 579:53297373a894 426 #endif /* CLOCK_CONFIG_CHECK_H */