Nordic Semiconductor nRF5 AirFuel SDK
version 2.2.0
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
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
sd_radio_init
uint32_t sd_radio_init(void)
Initialize SD Radio API.
Definition:
wireless_debug.c:190
DEBUG_PRU2
Definition:
wireless_debug.h:32
DEBUG_POLL
Definition:
wireless_debug.h:26
wdi_pkt_t
wdi_pkt_t
WDI packet headers type.
Definition:
wireless_debug.h:24
DEBUG_PRU3
Definition:
wireless_debug.h:33
DEBUG_PRU1
Definition:
wireless_debug.h:31
DEBUG_PTU
Definition:
wireless_debug.h:29
DEBUG_PRU0
Definition:
wireless_debug.h:30
DEBUG_STR
Definition:
wireless_debug.h:28
debug_cmd_available
bool debug_cmd_available(void)
Check if debug command received from dongle.
Definition:
wireless_debug.c:248
DEBUG_PKT
Definition:
wireless_debug.h:27
DEBUG_PRU6
Definition:
wireless_debug.h:36
DEBUG_PRU4
Definition:
wireless_debug.h:34
DEBUG_PRU7
Definition:
wireless_debug.h:37
get_debug_cmd
char get_debug_cmd(void)
get debug command received from dongle
Definition:
wireless_debug.c:256
DEBUG_PRU5
Definition:
wireless_debug.h:35
Copyright ©
Nordic Semiconductor
. All Rights Reserved.
Disclaimer