PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
mbed-pokitto/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/system_LPC11U6x.h@64:6e6c6c2b664e, 2018-11-18 (annotated)
- Committer:
- spinal
- Date:
- Sun Nov 18 15:47:54 2018 +0000
- Revision:
- 64:6e6c6c2b664e
- Parent:
- 5:ea7377f3d1af
added fix for directrectangle()
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Pokitto | 5:ea7377f3d1af | 1 | /**************************************************************************//** |
Pokitto | 5:ea7377f3d1af | 2 | * @file system_LPC11U6x.h |
Pokitto | 5:ea7377f3d1af | 3 | * @brief CMSIS Cortex-M3 Device System Header File for |
Pokitto | 5:ea7377f3d1af | 4 | * NXP LPC11U6x Device Series |
Pokitto | 5:ea7377f3d1af | 5 | * @version V1.00 |
Pokitto | 5:ea7377f3d1af | 6 | * @date 19. July 2013 |
Pokitto | 5:ea7377f3d1af | 7 | * |
Pokitto | 5:ea7377f3d1af | 8 | * @note |
Pokitto | 5:ea7377f3d1af | 9 | * Copyright (C) 2013 ARM Limited. All rights reserved. |
Pokitto | 5:ea7377f3d1af | 10 | * |
Pokitto | 5:ea7377f3d1af | 11 | * @par |
Pokitto | 5:ea7377f3d1af | 12 | * ARM Limited (ARM) is supplying this software for use with Cortex-M |
Pokitto | 5:ea7377f3d1af | 13 | * processor based microcontrollers. This file can be freely distributed |
Pokitto | 5:ea7377f3d1af | 14 | * within development tools that are supporting such ARM based processors. |
Pokitto | 5:ea7377f3d1af | 15 | * |
Pokitto | 5:ea7377f3d1af | 16 | * @par |
Pokitto | 5:ea7377f3d1af | 17 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
Pokitto | 5:ea7377f3d1af | 18 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
Pokitto | 5:ea7377f3d1af | 19 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
Pokitto | 5:ea7377f3d1af | 20 | * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR |
Pokitto | 5:ea7377f3d1af | 21 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
Pokitto | 5:ea7377f3d1af | 22 | * |
Pokitto | 5:ea7377f3d1af | 23 | ******************************************************************************/ |
Pokitto | 5:ea7377f3d1af | 24 | |
Pokitto | 5:ea7377f3d1af | 25 | |
Pokitto | 5:ea7377f3d1af | 26 | #ifndef __SYSTEM_LPC11U6x_H |
Pokitto | 5:ea7377f3d1af | 27 | #define __SYSTEM_LPC11U6x_H |
Pokitto | 5:ea7377f3d1af | 28 | |
Pokitto | 5:ea7377f3d1af | 29 | #ifdef __cplusplus |
Pokitto | 5:ea7377f3d1af | 30 | extern "C" { |
Pokitto | 5:ea7377f3d1af | 31 | #endif |
Pokitto | 5:ea7377f3d1af | 32 | |
Pokitto | 5:ea7377f3d1af | 33 | #include <stdint.h> |
Pokitto | 5:ea7377f3d1af | 34 | |
Pokitto | 5:ea7377f3d1af | 35 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
Pokitto | 5:ea7377f3d1af | 36 | |
Pokitto | 5:ea7377f3d1af | 37 | |
Pokitto | 5:ea7377f3d1af | 38 | /** |
Pokitto | 5:ea7377f3d1af | 39 | * Initialize the system |
Pokitto | 5:ea7377f3d1af | 40 | * |
Pokitto | 5:ea7377f3d1af | 41 | * @param none |
Pokitto | 5:ea7377f3d1af | 42 | * @return none |
Pokitto | 5:ea7377f3d1af | 43 | * |
Pokitto | 5:ea7377f3d1af | 44 | * @brief Setup the microcontroller system. |
Pokitto | 5:ea7377f3d1af | 45 | * Initialize the System and update the SystemCoreClock variable. |
Pokitto | 5:ea7377f3d1af | 46 | */ |
Pokitto | 5:ea7377f3d1af | 47 | extern void SystemInit (void); |
Pokitto | 5:ea7377f3d1af | 48 | |
Pokitto | 5:ea7377f3d1af | 49 | /** |
Pokitto | 5:ea7377f3d1af | 50 | * Update SystemCoreClock variable |
Pokitto | 5:ea7377f3d1af | 51 | * |
Pokitto | 5:ea7377f3d1af | 52 | * @param none |
Pokitto | 5:ea7377f3d1af | 53 | * @return none |
Pokitto | 5:ea7377f3d1af | 54 | * |
Pokitto | 5:ea7377f3d1af | 55 | * @brief Updates the SystemCoreClock with current core Clock |
Pokitto | 5:ea7377f3d1af | 56 | * retrieved from cpu registers. |
Pokitto | 5:ea7377f3d1af | 57 | */ |
Pokitto | 5:ea7377f3d1af | 58 | extern void SystemCoreClockUpdate (void); |
Pokitto | 5:ea7377f3d1af | 59 | |
Pokitto | 5:ea7377f3d1af | 60 | #ifdef __cplusplus |
Pokitto | 5:ea7377f3d1af | 61 | } |
Pokitto | 5:ea7377f3d1af | 62 | #endif |
Pokitto | 5:ea7377f3d1af | 63 | |
Pokitto | 5:ea7377f3d1af | 64 | #endif /* __SYSTEM_LPC11U6x_H */ |