26 lines
444 B
C
26 lines
444 B
C
/*
|
|
* Copyright (c) 2016 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <device.h>
|
|
|
|
enum cc2520_gpio_index {
|
|
CC2520_GPIO_IDX_VREG_EN = 0,
|
|
CC2520_GPIO_IDX_RESET,
|
|
CC2520_GPIO_IDX_FIFO,
|
|
CC2520_GPIO_IDX_CCA,
|
|
CC2520_GPIO_IDX_SFD,
|
|
CC2520_GPIO_IDX_FIFOP,
|
|
|
|
CC2520_GPIO_IDX_MAX,
|
|
};
|
|
|
|
struct cc2520_gpio_configuration {
|
|
struct device *dev;
|
|
u32_t pin;
|
|
};
|
|
|
|
struct cc2520_gpio_configuration *cc2520_configure_gpios(void);
|