Repostiory containing DAPLink source code with Reset Pin workaround for HANI_IOT board.

Upstream: https://github.com/ARMmbed/DAPLink

Committer:
Pawel Zarembski
Date:
Tue Apr 07 12:55:42 2020 +0200
Revision:
0:01f31e923fe2
hani: DAPLink with reset workaround

Who changed what in which revision?

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