zephyr/drivers/ieee802154/ieee802154_uart_pipe.h
Kumar Gala a509441210 net: convert to using newly introduced integer sized types
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>
2017-04-21 09:30:38 -05:00

27 lines
524 B
C

/* ieee802154_uart_pipe.h - Private header for UART PIPE fake radio driver */
/*
* Copyright (c) 2016 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __IEEE802154_UART_PIPE_H__
#define __IEEE802154_UART_PIPE_H__
#define UART_PIPE_RADIO_15_4_FRAME_TYPE 0xF0
struct upipe_context {
struct net_if *iface;
u8_t mac_addr[8];
bool stopped;
/** RX specific attributes */
u8_t uart_pipe_buf[1];
bool rx;
u8_t rx_len;
u8_t rx_off;
u8_t rx_buf[127];
};
#endif /* __IEEE802154_UART_PIPE_H__ */