2016-11-11 11:11:41 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2016 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2016-11-11 11:44:43 +01:00
|
|
|
* @defgroup drivers_nrf5x_nrfmin_gnrc GNRC adapter for nrfmin
|
|
|
|
* @ingroup drivers_nrf5x_nrfmin
|
2016-11-11 11:11:41 +01:00
|
|
|
* @brief Minimal driver for the NRF51 radio
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @brief GNRC adapter for nrfmin devices (e.g. nRF5x radios)
|
|
|
|
*
|
|
|
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
|
|
|
*/
|
|
|
|
|
2017-01-18 13:00:05 +01:00
|
|
|
#ifndef NRFMIN_GNRC_H
|
|
|
|
#define NRFMIN_GNRC_H
|
2016-11-11 11:11:41 +01:00
|
|
|
|
|
|
|
#include "nrfmin.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Initialize the nrfmin GNRC adapter, also takes care of the nrfmin
|
|
|
|
* driver setup
|
|
|
|
*
|
|
|
|
* As we have never more than 1 nrfmin device on a board, we can make some
|
|
|
|
* simplifications when it come to allocating device descriptors and adapter
|
|
|
|
* data structures -> we do this right in the driver/adapter code, so this
|
|
|
|
* function can be called from auto_init as is, without the need for external
|
|
|
|
* memory allocation.
|
|
|
|
*/
|
2017-02-15 13:07:34 +01:00
|
|
|
void gnrc_netdev_nrfmin_init(void);
|
2016-11-11 11:11:41 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2017-01-18 13:00:05 +01:00
|
|
|
#endif /* NRFMIN_GNRC_H */
|
2016-11-11 11:11:41 +01:00
|
|
|
/** @} */
|