SD card interface
mbed-export/LPC2368/uARM/system_LPC23xx.h@0:22612ae617a0, 2012-10-08 (annotated)
- Committer:
- lharoon
- Date:
- Mon Oct 08 11:14:07 2012 +0000
- Revision:
- 0:22612ae617a0
1st edition
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lharoon | 0:22612ae617a0 | 1 | /* mbed Microcontroller Library |
lharoon | 0:22612ae617a0 | 2 | * Copyright (C) 2008-2009 ARM Limited. All rights reserved. |
lharoon | 0:22612ae617a0 | 3 | * |
lharoon | 0:22612ae617a0 | 4 | * ARM7 version of CMSIS-like functionality - not advised for use outside mbed! |
lharoon | 0:22612ae617a0 | 5 | * based on cmsis system_LPC17xx.h |
lharoon | 0:22612ae617a0 | 6 | */ |
lharoon | 0:22612ae617a0 | 7 | |
lharoon | 0:22612ae617a0 | 8 | #ifndef __SYSTEM_LPC23xx_H |
lharoon | 0:22612ae617a0 | 9 | #define __SYSTEM_LPC23xx_H |
lharoon | 0:22612ae617a0 | 10 | |
lharoon | 0:22612ae617a0 | 11 | #ifdef __cplusplus |
lharoon | 0:22612ae617a0 | 12 | extern "C" { |
lharoon | 0:22612ae617a0 | 13 | #endif |
lharoon | 0:22612ae617a0 | 14 | |
lharoon | 0:22612ae617a0 | 15 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
lharoon | 0:22612ae617a0 | 16 | |
lharoon | 0:22612ae617a0 | 17 | /** |
lharoon | 0:22612ae617a0 | 18 | * Initialize the system |
lharoon | 0:22612ae617a0 | 19 | * |
lharoon | 0:22612ae617a0 | 20 | * @param none |
lharoon | 0:22612ae617a0 | 21 | * @return none |
lharoon | 0:22612ae617a0 | 22 | * |
lharoon | 0:22612ae617a0 | 23 | * @brief Setup the microcontroller system. |
lharoon | 0:22612ae617a0 | 24 | * Initialize the System and update the SystemCoreClock variable. |
lharoon | 0:22612ae617a0 | 25 | */ |
lharoon | 0:22612ae617a0 | 26 | extern void SystemInit (void); |
lharoon | 0:22612ae617a0 | 27 | |
lharoon | 0:22612ae617a0 | 28 | /** |
lharoon | 0:22612ae617a0 | 29 | * Update SystemCoreClock variable |
lharoon | 0:22612ae617a0 | 30 | * |
lharoon | 0:22612ae617a0 | 31 | * @param none |
lharoon | 0:22612ae617a0 | 32 | * @return none |
lharoon | 0:22612ae617a0 | 33 | * |
lharoon | 0:22612ae617a0 | 34 | * @brief Updates the SystemCoreClock with current core Clock |
lharoon | 0:22612ae617a0 | 35 | * retrieved from cpu registers. |
lharoon | 0:22612ae617a0 | 36 | */ |
lharoon | 0:22612ae617a0 | 37 | extern void SystemCoreClockUpdate (void); |
lharoon | 0:22612ae617a0 | 38 | |
lharoon | 0:22612ae617a0 | 39 | |
lharoon | 0:22612ae617a0 | 40 | #ifdef __cplusplus |
lharoon | 0:22612ae617a0 | 41 | } |
lharoon | 0:22612ae617a0 | 42 | #endif |
lharoon | 0:22612ae617a0 | 43 | |
lharoon | 0:22612ae617a0 | 44 | #endif |