2014-08-05 00:51:23 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2014 Freie Universität Berlin
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2015-02-12 13:25:59 +01:00
|
|
|
* @defgroup boards_yunjia-nrf51822 Yunjia NRF51822
|
2014-08-05 00:51:23 +02:00
|
|
|
* @ingroup boards
|
|
|
|
* @brief Board specific files for the Yunjia NRF51822 board
|
|
|
|
* @{
|
|
|
|
*
|
2014-10-21 16:52:30 +02:00
|
|
|
* @file
|
2014-08-05 00:51:23 +02:00
|
|
|
* @brief Board specific definitions for the Yunjia NRF51822 board
|
|
|
|
*
|
|
|
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
|
|
|
*/
|
|
|
|
|
2015-04-23 05:00:54 +02:00
|
|
|
#ifndef BOARD_H_
|
|
|
|
#define BOARD_H_
|
2014-08-05 00:51:23 +02:00
|
|
|
|
|
|
|
#include "cpu.h"
|
|
|
|
|
2014-10-13 15:25:50 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2015-09-15 15:04:25 +02:00
|
|
|
/**
|
|
|
|
* @brief Xtimer configuration
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
#define XTIMER (0)
|
|
|
|
#define XTIMER_CHAN (0)
|
|
|
|
#define XTIMER_MASK (0xff000000)
|
|
|
|
#define XTIMER_BACKOFF (40)
|
|
|
|
/** @} */
|
|
|
|
|
2014-08-05 00:51:23 +02:00
|
|
|
/**
|
|
|
|
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
|
|
|
*/
|
|
|
|
void board_init(void);
|
|
|
|
|
2014-10-13 15:25:50 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2015-05-26 22:03:40 +02:00
|
|
|
#endif /* BOARD_H_ */
|
2014-08-05 00:51:23 +02:00
|
|
|
/** @} */
|