Convert code to use u{8,16,32,64}_t and s{8,16,32,64}_t instead of C99 integer types. Jira: ZEP-2051 Change-Id: I4ec03eb2183d59ef86ea2c20d956e5d272656837 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
25 lines
444 B
C
25 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);
|