2010-09-22 15:10:42 +02:00
|
|
|
/******************************************************************************
|
2013-06-18 17:21:38 +02:00
|
|
|
Copyright (C) 2013, Freie Universitaet Berlin (FUB). All rights reserved.
|
2010-09-22 15:10:42 +02:00
|
|
|
|
|
|
|
These sources were developed at the Freie Universitaet Berlin, Computer Systems
|
|
|
|
and Telematics group (http://cst.mi.fu-berlin.de).
|
|
|
|
-------------------------------------------------------------------------------
|
2013-03-07 20:51:26 +01:00
|
|
|
This file is part of RIOT.
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2013-06-18 17:21:38 +02:00
|
|
|
This file subject to the terms and conditions of the GNU Lesser General Public
|
|
|
|
License. See the file LICENSE in the top level directory for more details.
|
2010-09-22 15:10:42 +02:00
|
|
|
*******************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __CPU_H
|
|
|
|
#define __CPU_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @defgroup lpc2387 NXP LPC2387
|
|
|
|
* @ingroup cpu
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "lpc2387.h"
|
|
|
|
#include "arm_cpu.h"
|
|
|
|
|
|
|
|
extern uintptr_t __stack_start; ///< end of user stack memory space
|
|
|
|
|
2013-06-21 03:52:57 +02:00
|
|
|
void lpc2387_pclk_scale(uint32_t source, uint32_t target, uint32_t *pclksel, uint32_t *prescale);
|
|
|
|
bool install_irq(int IntNumber, void *HandlerAddr, int Priority);
|
2010-09-22 15:10:42 +02:00
|
|
|
|
|
|
|
/** @} */
|
|
|
|
#endif /* __CPU_H */
|