mbed

Dependents:   DHTSensor_Test K64F_eCompass_OneNET_JW

Committer:
mbotkinl
Date:
Wed Feb 25 20:22:22 2015 +0000
Revision:
0:2cc6bb4d7fea
Working code to read Temperature and Humidity readings

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbotkinl 0:2cc6bb4d7fea 1 /**************************************************************************//**
mbotkinl 0:2cc6bb4d7fea 2 * @file system_LPC11Uxx.h
mbotkinl 0:2cc6bb4d7fea 3 * @brief CMSIS Cortex-M0 Device Peripheral Access Layer Header File
mbotkinl 0:2cc6bb4d7fea 4 * for the NXP LPC11Uxx Device Series
mbotkinl 0:2cc6bb4d7fea 5 * @version V1.10
mbotkinl 0:2cc6bb4d7fea 6 * @date 24. November 2010
mbotkinl 0:2cc6bb4d7fea 7 *
mbotkinl 0:2cc6bb4d7fea 8 * @note
mbotkinl 0:2cc6bb4d7fea 9 * Copyright (C) 2009-2010 ARM Limited. All rights reserved.
mbotkinl 0:2cc6bb4d7fea 10 *
mbotkinl 0:2cc6bb4d7fea 11 * @par
mbotkinl 0:2cc6bb4d7fea 12 * ARM Limited (ARM) is supplying this software for use with Cortex-M
mbotkinl 0:2cc6bb4d7fea 13 * processor based microcontrollers. This file can be freely distributed
mbotkinl 0:2cc6bb4d7fea 14 * within development tools that are supporting such ARM based processors.
mbotkinl 0:2cc6bb4d7fea 15 *
mbotkinl 0:2cc6bb4d7fea 16 * @par
mbotkinl 0:2cc6bb4d7fea 17 * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
mbotkinl 0:2cc6bb4d7fea 18 * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
mbotkinl 0:2cc6bb4d7fea 19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
mbotkinl 0:2cc6bb4d7fea 20 * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
mbotkinl 0:2cc6bb4d7fea 21 * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
mbotkinl 0:2cc6bb4d7fea 22 *
mbotkinl 0:2cc6bb4d7fea 23 ******************************************************************************/
mbotkinl 0:2cc6bb4d7fea 24
mbotkinl 0:2cc6bb4d7fea 25
mbotkinl 0:2cc6bb4d7fea 26 #ifndef __SYSTEM_LPC11Uxx_H
mbotkinl 0:2cc6bb4d7fea 27 #define __SYSTEM_LPC11Uxx_H
mbotkinl 0:2cc6bb4d7fea 28
mbotkinl 0:2cc6bb4d7fea 29 #ifdef __cplusplus
mbotkinl 0:2cc6bb4d7fea 30 extern "C" {
mbotkinl 0:2cc6bb4d7fea 31 #endif
mbotkinl 0:2cc6bb4d7fea 32
mbotkinl 0:2cc6bb4d7fea 33 #include <stdint.h>
mbotkinl 0:2cc6bb4d7fea 34
mbotkinl 0:2cc6bb4d7fea 35 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
mbotkinl 0:2cc6bb4d7fea 36
mbotkinl 0:2cc6bb4d7fea 37
mbotkinl 0:2cc6bb4d7fea 38 /**
mbotkinl 0:2cc6bb4d7fea 39 * Initialize the system
mbotkinl 0:2cc6bb4d7fea 40 *
mbotkinl 0:2cc6bb4d7fea 41 * @param none
mbotkinl 0:2cc6bb4d7fea 42 * @return none
mbotkinl 0:2cc6bb4d7fea 43 *
mbotkinl 0:2cc6bb4d7fea 44 * @brief Setup the microcontroller system.
mbotkinl 0:2cc6bb4d7fea 45 * Initialize the System and update the SystemCoreClock variable.
mbotkinl 0:2cc6bb4d7fea 46 */
mbotkinl 0:2cc6bb4d7fea 47 extern void SystemInit (void);
mbotkinl 0:2cc6bb4d7fea 48
mbotkinl 0:2cc6bb4d7fea 49 /**
mbotkinl 0:2cc6bb4d7fea 50 * Update SystemCoreClock variable
mbotkinl 0:2cc6bb4d7fea 51 *
mbotkinl 0:2cc6bb4d7fea 52 * @param none
mbotkinl 0:2cc6bb4d7fea 53 * @return none
mbotkinl 0:2cc6bb4d7fea 54 *
mbotkinl 0:2cc6bb4d7fea 55 * @brief Updates the SystemCoreClock with current core Clock
mbotkinl 0:2cc6bb4d7fea 56 * retrieved from cpu registers.
mbotkinl 0:2cc6bb4d7fea 57 */
mbotkinl 0:2cc6bb4d7fea 58 extern void SystemCoreClockUpdate (void);
mbotkinl 0:2cc6bb4d7fea 59
mbotkinl 0:2cc6bb4d7fea 60 #ifdef __cplusplus
mbotkinl 0:2cc6bb4d7fea 61 }
mbotkinl 0:2cc6bb4d7fea 62 #endif
mbotkinl 0:2cc6bb4d7fea 63
mbotkinl 0:2cc6bb4d7fea 64 #endif /* __SYSTEM_LPC11Uxx_H */