mbed(SerialHalfDuplex入り)
Fork of mbed by
TARGET_LPC11U37H_401/system_LPC11Uxx.h@93:e188a91d3eaa, 2015-02-03 (annotated)
- Committer:
- Kojto
- Date:
- Tue Feb 03 15:31:20 2015 +0000
- Revision:
- 93:e188a91d3eaa
Release 93 of the mbed library
Main changes:
- Renesas RZ_A1H bugfixes - i2c, ticker
- new targets - Nucleo F303RE, Nucleo F070RB, BLE SMURFS,
Dragonfly 411RE,
- BusXXX - is connected method, plus operators addition
- LPC8xx - I2c fixes
- timestamp_t reverted to uint32_t
- RTX - fixes regarding stack (alignment, magic word)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 93:e188a91d3eaa | 1 | /**************************************************************************//** |
Kojto | 93:e188a91d3eaa | 2 | * @file system_LPC11Uxx.h |
Kojto | 93:e188a91d3eaa | 3 | * @brief CMSIS Cortex-M0 Device Peripheral Access Layer Header File |
Kojto | 93:e188a91d3eaa | 4 | * for the NXP LPC11Uxx Device Series |
Kojto | 93:e188a91d3eaa | 5 | * @version V1.10 |
Kojto | 93:e188a91d3eaa | 6 | * @date 24. November 2010 |
Kojto | 93:e188a91d3eaa | 7 | * |
Kojto | 93:e188a91d3eaa | 8 | * @note |
Kojto | 93:e188a91d3eaa | 9 | * Copyright (C) 2009-2010 ARM Limited. All rights reserved. |
Kojto | 93:e188a91d3eaa | 10 | * |
Kojto | 93:e188a91d3eaa | 11 | * @par |
Kojto | 93:e188a91d3eaa | 12 | * ARM Limited (ARM) is supplying this software for use with Cortex-M |
Kojto | 93:e188a91d3eaa | 13 | * processor based microcontrollers. This file can be freely distributed |
Kojto | 93:e188a91d3eaa | 14 | * within development tools that are supporting such ARM based processors. |
Kojto | 93:e188a91d3eaa | 15 | * |
Kojto | 93:e188a91d3eaa | 16 | * @par |
Kojto | 93:e188a91d3eaa | 17 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
Kojto | 93:e188a91d3eaa | 18 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
Kojto | 93:e188a91d3eaa | 19 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
Kojto | 93:e188a91d3eaa | 20 | * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR |
Kojto | 93:e188a91d3eaa | 21 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
Kojto | 93:e188a91d3eaa | 22 | * |
Kojto | 93:e188a91d3eaa | 23 | ******************************************************************************/ |
Kojto | 93:e188a91d3eaa | 24 | |
Kojto | 93:e188a91d3eaa | 25 | |
Kojto | 93:e188a91d3eaa | 26 | #ifndef __SYSTEM_LPC11Uxx_H |
Kojto | 93:e188a91d3eaa | 27 | #define __SYSTEM_LPC11Uxx_H |
Kojto | 93:e188a91d3eaa | 28 | |
Kojto | 93:e188a91d3eaa | 29 | #ifdef __cplusplus |
Kojto | 93:e188a91d3eaa | 30 | extern "C" { |
Kojto | 93:e188a91d3eaa | 31 | #endif |
Kojto | 93:e188a91d3eaa | 32 | |
Kojto | 93:e188a91d3eaa | 33 | #include <stdint.h> |
Kojto | 93:e188a91d3eaa | 34 | |
Kojto | 93:e188a91d3eaa | 35 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
Kojto | 93:e188a91d3eaa | 36 | |
Kojto | 93:e188a91d3eaa | 37 | |
Kojto | 93:e188a91d3eaa | 38 | /** |
Kojto | 93:e188a91d3eaa | 39 | * Initialize the system |
Kojto | 93:e188a91d3eaa | 40 | * |
Kojto | 93:e188a91d3eaa | 41 | * @param none |
Kojto | 93:e188a91d3eaa | 42 | * @return none |
Kojto | 93:e188a91d3eaa | 43 | * |
Kojto | 93:e188a91d3eaa | 44 | * @brief Setup the microcontroller system. |
Kojto | 93:e188a91d3eaa | 45 | * Initialize the System and update the SystemCoreClock variable. |
Kojto | 93:e188a91d3eaa | 46 | */ |
Kojto | 93:e188a91d3eaa | 47 | extern void SystemInit (void); |
Kojto | 93:e188a91d3eaa | 48 | |
Kojto | 93:e188a91d3eaa | 49 | /** |
Kojto | 93:e188a91d3eaa | 50 | * Update SystemCoreClock variable |
Kojto | 93:e188a91d3eaa | 51 | * |
Kojto | 93:e188a91d3eaa | 52 | * @param none |
Kojto | 93:e188a91d3eaa | 53 | * @return none |
Kojto | 93:e188a91d3eaa | 54 | * |
Kojto | 93:e188a91d3eaa | 55 | * @brief Updates the SystemCoreClock with current core Clock |
Kojto | 93:e188a91d3eaa | 56 | * retrieved from cpu registers. |
Kojto | 93:e188a91d3eaa | 57 | */ |
Kojto | 93:e188a91d3eaa | 58 | extern void SystemCoreClockUpdate (void); |
Kojto | 93:e188a91d3eaa | 59 | |
Kojto | 93:e188a91d3eaa | 60 | #ifdef __cplusplus |
Kojto | 93:e188a91d3eaa | 61 | } |
Kojto | 93:e188a91d3eaa | 62 | #endif |
Kojto | 93:e188a91d3eaa | 63 | |
Kojto | 93:e188a91d3eaa | 64 | #endif /* __SYSTEM_LPC11Uxx_H */ |