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>
|
|
|
|
*/
|
|
|
|
|
2017-01-18 13:00:05 +01: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
|
|
|
|
* @{
|
|
|
|
*/
|
2016-07-05 16:45:41 +02:00
|
|
|
#define XTIMER_DEV (0)
|
2015-09-15 15:04:25 +02:00
|
|
|
#define XTIMER_CHAN (0)
|
2016-05-06 22:10:52 +02:00
|
|
|
#define XTIMER_WIDTH (24)
|
2015-09-15 15:04:25 +02:00
|
|
|
#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
|
|
|
|
|
2017-01-18 13:00:05 +01:00
|
|
|
#endif /* BOARD_H */
|
2014-08-05 00:51:23 +02:00
|
|
|
/** @} */
|