mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
mulle: ng_at86rf2xx parameters
This commit is contained in:
parent
a4871c412f
commit
7217c9f8ba
@ -104,7 +104,7 @@ typedef uint8_t radio_packet_length_t;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @name Define the interface to the AT86RF231 radio
|
||||
* @name Define the interface to the AT86RF212B radio
|
||||
* @{
|
||||
*/
|
||||
#define AT86RF231_SPI SPI_0
|
||||
@ -113,6 +113,7 @@ typedef uint8_t radio_packet_length_t;
|
||||
/** @todo work around missing RESET pin on Mulle v0.6x */
|
||||
#define AT86RF231_RESET GPIO_5
|
||||
#define AT86RF231_SLEEP GPIO_13
|
||||
#define AT86RF231_SPI_CLK SPI_SPEED_5MHZ
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
48
boards/mulle/include/ng_at86rf2xx_params.h
Normal file
48
boards/mulle/include/ng_at86rf2xx_params.h
Normal file
@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de>
|
||||
* Copyright (C) 2015 Eistec AB
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @ingroup board_mulle
|
||||
* @{
|
||||
*
|
||||
* @file
|
||||
* @brief at86rf231 board specific configuration
|
||||
*
|
||||
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
||||
* @author Joakim Gebart <joakim.gebart@eistec.se>
|
||||
*/
|
||||
|
||||
#ifndef NG_AT86RF2XX_PARAMS_H_
|
||||
#define NG_AT86RF2XX_PARAMS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @name AT86RF212B configuration
|
||||
*/
|
||||
static const at86rf2xx_params_t at86rf2xx_params[] =
|
||||
{
|
||||
{
|
||||
.spi = AT86RF231_SPI,
|
||||
.spi_speed = AT86RF231_SPI_CLK,
|
||||
.cs_pin = AT86RF231_CS,
|
||||
.int_pin = AT86RF231_INT,
|
||||
.sleep_pin = AT86RF231_SLEEP,
|
||||
.reset_pin = AT86RF231_RESET,
|
||||
},
|
||||
};
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* NG_AT86RF2XX_PARAMS_H */
|
||||
/** @} */
|
Loading…
Reference in New Issue
Block a user