Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.
Dependents: 1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB
Fork of mbed by
TARGET_LPC2460/system_LPC24xx.h@121:672067c3ada4, 2016-04-14 (annotated)
- Committer:
- elijahorr
- Date:
- Thu Apr 14 07:28:54 2016 +0000
- Revision:
- 121:672067c3ada4
- Parent:
- 102:da0ca467f8b5
.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 102:da0ca467f8b5 | 1 | /* mbed Microcontroller Library |
Kojto | 102:da0ca467f8b5 | 2 | * Copyright (C) 2008-2015 ARM Limited. All rights reserved. |
Kojto | 102:da0ca467f8b5 | 3 | * |
Kojto | 102:da0ca467f8b5 | 4 | * ARM7 version of CMSIS-like functionality - not advised for use outside mbed! |
Kojto | 102:da0ca467f8b5 | 5 | * based on cmsis system_LPC17xx.h |
Kojto | 102:da0ca467f8b5 | 6 | */ |
Kojto | 102:da0ca467f8b5 | 7 | |
Kojto | 102:da0ca467f8b5 | 8 | #ifndef __SYSTEM_LPC24xx_H |
Kojto | 102:da0ca467f8b5 | 9 | #define __SYSTEM_LPC24xx_H |
Kojto | 102:da0ca467f8b5 | 10 | |
Kojto | 102:da0ca467f8b5 | 11 | #ifdef __cplusplus |
Kojto | 102:da0ca467f8b5 | 12 | extern "C" { |
Kojto | 102:da0ca467f8b5 | 13 | #endif |
Kojto | 102:da0ca467f8b5 | 14 | |
Kojto | 102:da0ca467f8b5 | 15 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
Kojto | 102:da0ca467f8b5 | 16 | |
Kojto | 102:da0ca467f8b5 | 17 | /** |
Kojto | 102:da0ca467f8b5 | 18 | * Initialize the system |
Kojto | 102:da0ca467f8b5 | 19 | * |
Kojto | 102:da0ca467f8b5 | 20 | * @param none |
Kojto | 102:da0ca467f8b5 | 21 | * @return none |
Kojto | 102:da0ca467f8b5 | 22 | * |
Kojto | 102:da0ca467f8b5 | 23 | * @brief Setup the microcontroller system. |
Kojto | 102:da0ca467f8b5 | 24 | * Initialize the System and update the SystemCoreClock variable. |
Kojto | 102:da0ca467f8b5 | 25 | */ |
Kojto | 102:da0ca467f8b5 | 26 | extern void SystemInit (void); |
Kojto | 102:da0ca467f8b5 | 27 | |
Kojto | 102:da0ca467f8b5 | 28 | /** |
Kojto | 102:da0ca467f8b5 | 29 | * Update SystemCoreClock variable |
Kojto | 102:da0ca467f8b5 | 30 | * |
Kojto | 102:da0ca467f8b5 | 31 | * @param none |
Kojto | 102:da0ca467f8b5 | 32 | * @return none |
Kojto | 102:da0ca467f8b5 | 33 | * |
Kojto | 102:da0ca467f8b5 | 34 | * @brief Updates the SystemCoreClock with current core Clock |
Kojto | 102:da0ca467f8b5 | 35 | * retrieved from cpu registers. |
Kojto | 102:da0ca467f8b5 | 36 | */ |
Kojto | 102:da0ca467f8b5 | 37 | extern void SystemCoreClockUpdate (void); |
Kojto | 102:da0ca467f8b5 | 38 | |
Kojto | 102:da0ca467f8b5 | 39 | |
Kojto | 102:da0ca467f8b5 | 40 | #ifdef __cplusplus |
Kojto | 102:da0ca467f8b5 | 41 | } |
Kojto | 102:da0ca467f8b5 | 42 | #endif |
Kojto | 102:da0ca467f8b5 | 43 | |
Kojto | 102:da0ca467f8b5 | 44 | #endif |