Nordic Semiconductor nRF5 AirFuel SDK  version 2.2.0
wireless_debug.h
Go to the documentation of this file.
1 /* Copyright (c) 2013 Nordic Semiconductor. All Rights Reserved.
2  *
3  * The information contained herein is property of Nordic Semiconductor ASA.
4  * Terms and conditions of usage are described in detail in NORDIC
5  * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
6  *
7  * Licensees are granted free, non-transferable use of the information. NO
8  * WARRANTY of ANY KIND is provided. This heading must NOT be removed from
9  * the file.
10  *
11  */
12 
13 #include <stdint.h>
14 #include <stdbool.h>
15 
24 typedef enum
25 {
26  DEBUG_POLL = 0,
27  DEBUG_PKT = 1,
28  DEBUG_STR = 2,
29  DEBUG_PTU = 3,
30  DEBUG_PRU0 = 0x80,
31  DEBUG_PRU1 = 0x81,
32  DEBUG_PRU2 = 0x82,
33  DEBUG_PRU3 = 0x83,
34  DEBUG_PRU4 = 0x84,
35  DEBUG_PRU5 = 0x85,
36  DEBUG_PRU6 = 0x86,
37  DEBUG_PRU7 = 0x87
38 } wdi_pkt_t;
39 
43 uint32_t sd_radio_init(void);
44 
50 bool debug_cmd_available(void);
51 
56 char get_debug_cmd(void);
57 
uint32_t sd_radio_init(void)
Initialize SD Radio API.
wdi_pkt_t
WDI packet headers type.
bool debug_cmd_available(void)
Check if debug command received from dongle.
char get_debug_cmd(void)
get debug command received from dongle