2014-10-28 09:58:25 +01:00
|
|
|
/*
|
2015-02-18 10:59:37 +01:00
|
|
|
* Copyright 2014 Kaspar Schleiser <kaspar@schleiser.de>
|
2014-10-28 09:58:25 +01:00
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
2010-09-22 15:10:42 +02:00
|
|
|
/**
|
2013-11-28 12:57:41 +01:00
|
|
|
* @defgroup boards_msba2-common MSB-A2 common
|
|
|
|
* @ingroup boards
|
|
|
|
* @brief Common files for all MSB-A2 based boards
|
2010-09-22 15:10:42 +02:00
|
|
|
* @{
|
|
|
|
*
|
2014-11-30 21:32:12 +01:00
|
|
|
* @file
|
2013-11-28 12:57:41 +01:00
|
|
|
* @brief MSB-A2 Common Board Definitions
|
2010-09-22 15:10:42 +02:00
|
|
|
*
|
2013-11-28 12:57:41 +01:00
|
|
|
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
2010-09-22 15:10:42 +02:00
|
|
|
*/
|
2013-11-28 12:57:41 +01:00
|
|
|
#ifndef __MSBA2_COMMON_H
|
|
|
|
#define __MSBA2_COMMON_H
|
|
|
|
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2013-10-28 23:01:45 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
#include "lpc2387.h"
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2014-10-13 15:25:50 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2010-12-06 16:06:14 +01:00
|
|
|
#define VICIntEnClear VICIntEnClr
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2014-01-20 19:38:01 +01:00
|
|
|
static inline void pllfeed(void)
|
|
|
|
{
|
|
|
|
PLLFEED = 0xAA;
|
|
|
|
PLLFEED = 0x55;
|
|
|
|
}
|
|
|
|
|
2014-10-13 15:25:50 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2010-09-22 15:10:42 +02:00
|
|
|
/** @} */
|
2011-03-04 16:46:20 +01:00
|
|
|
#endif // __MSBA2_COMMON_H
|