Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
esp_attemp3/mbed/TARGET_K64F/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_MCU_K64F/TARGET_FRDM/fsl_clock_config.h@0:3954a906acc2, 2016-12-05 (annotated)
- Committer:
- skrawool
- Date:
- Mon Dec 05 16:39:27 2016 +0000
- Revision:
- 0:3954a906acc2
PIR grove sensor that sends the sensed data to thingspeak through the wifi module ESP 8266
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| skrawool | 0:3954a906acc2 | 1 | /* |
| skrawool | 0:3954a906acc2 | 2 | * Copyright (c) 2015, Freescale Semiconductor, Inc. |
| skrawool | 0:3954a906acc2 | 3 | * All rights reserved. |
| skrawool | 0:3954a906acc2 | 4 | * |
| skrawool | 0:3954a906acc2 | 5 | * Redistribution and use in source and binary forms, with or without modification, |
| skrawool | 0:3954a906acc2 | 6 | * are permitted provided that the following conditions are met: |
| skrawool | 0:3954a906acc2 | 7 | * |
| skrawool | 0:3954a906acc2 | 8 | * o Redistributions of source code must retain the above copyright notice, this list |
| skrawool | 0:3954a906acc2 | 9 | * of conditions and the following disclaimer. |
| skrawool | 0:3954a906acc2 | 10 | * |
| skrawool | 0:3954a906acc2 | 11 | * o Redistributions in binary form must reproduce the above copyright notice, this |
| skrawool | 0:3954a906acc2 | 12 | * list of conditions and the following disclaimer in the documentation and/or |
| skrawool | 0:3954a906acc2 | 13 | * other materials provided with the distribution. |
| skrawool | 0:3954a906acc2 | 14 | * |
| skrawool | 0:3954a906acc2 | 15 | * o Neither the name of Freescale Semiconductor, Inc. nor the names of its |
| skrawool | 0:3954a906acc2 | 16 | * contributors may be used to endorse or promote products derived from this |
| skrawool | 0:3954a906acc2 | 17 | * software without specific prior written permission. |
| skrawool | 0:3954a906acc2 | 18 | * |
| skrawool | 0:3954a906acc2 | 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| skrawool | 0:3954a906acc2 | 20 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| skrawool | 0:3954a906acc2 | 21 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| skrawool | 0:3954a906acc2 | 22 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
| skrawool | 0:3954a906acc2 | 23 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| skrawool | 0:3954a906acc2 | 24 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| skrawool | 0:3954a906acc2 | 25 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| skrawool | 0:3954a906acc2 | 26 | * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| skrawool | 0:3954a906acc2 | 27 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| skrawool | 0:3954a906acc2 | 28 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| skrawool | 0:3954a906acc2 | 29 | */ |
| skrawool | 0:3954a906acc2 | 30 | #ifndef _CLOCK_CONFIG_H_ |
| skrawool | 0:3954a906acc2 | 31 | #define _CLOCK_CONFIG_H_ |
| skrawool | 0:3954a906acc2 | 32 | |
| skrawool | 0:3954a906acc2 | 33 | /******************************************************************************* |
| skrawool | 0:3954a906acc2 | 34 | * DEFINITION |
| skrawool | 0:3954a906acc2 | 35 | ******************************************************************************/ |
| skrawool | 0:3954a906acc2 | 36 | #define BOARD_XTAL0_CLK_HZ 50000000U |
| skrawool | 0:3954a906acc2 | 37 | #define BOARD_XTAL32K_CLK_HZ 32768U |
| skrawool | 0:3954a906acc2 | 38 | |
| skrawool | 0:3954a906acc2 | 39 | /******************************************************************************* |
| skrawool | 0:3954a906acc2 | 40 | * API |
| skrawool | 0:3954a906acc2 | 41 | ******************************************************************************/ |
| skrawool | 0:3954a906acc2 | 42 | #if defined(__cplusplus) |
| skrawool | 0:3954a906acc2 | 43 | extern "C" { |
| skrawool | 0:3954a906acc2 | 44 | #endif /* __cplusplus*/ |
| skrawool | 0:3954a906acc2 | 45 | |
| skrawool | 0:3954a906acc2 | 46 | void BOARD_BootClockVLPR(void); |
| skrawool | 0:3954a906acc2 | 47 | void BOARD_BootClockRUN(void); |
| skrawool | 0:3954a906acc2 | 48 | |
| skrawool | 0:3954a906acc2 | 49 | #if defined(__cplusplus) |
| skrawool | 0:3954a906acc2 | 50 | } |
| skrawool | 0:3954a906acc2 | 51 | #endif /* __cplusplus*/ |
| skrawool | 0:3954a906acc2 | 52 | |
| skrawool | 0:3954a906acc2 | 53 | #endif /* _CLOCK_CONFIG_H_ */ |