20#ifndef H_BLE_PHY_TRACE_
21#define H_BLE_PHY_TRACE_
23#include "nimble/porting/nimble/include/os/os_trace_api.h"
29#define BLE_PHY_TRACE_ID_START_TX 0
30#define BLE_PHY_TRACE_ID_START_RX 1
31#define BLE_PHY_TRACE_ID_DISABLE 2
33#if MYNEWT_VAL(BLE_PHY_SYSVIEW)
35extern uint32_t ble_phy_trace_off;
37void ble_phy_trace_init(
void);
40ble_phy_trace_void(
unsigned id)
42 os_trace_api_void(ble_phy_trace_off +
id);
46ble_phy_trace_u32(
unsigned id, uint32_t p1)
48 os_trace_api_u32(ble_phy_trace_off +
id, p1);
52ble_phy_trace_u32x2(
unsigned id, uint32_t p1, uint32_t p2)
54 os_trace_api_u32x2(ble_phy_trace_off +
id, p1, p2);
58ble_phy_trace_u32x3(
unsigned id, uint32_t p1, uint32_t p2, uint32_t p3)
60 os_trace_api_u32x3(ble_phy_trace_off +
id, p1, p2, p3);
66ble_phy_trace_init(
void)
71ble_phy_trace_void(
unsigned id)
76ble_phy_trace_u32(
unsigned id, uint32_t p1)
81ble_phy_trace_u32x2(
unsigned id, uint32_t p1, uint32_t p2)
86ble_phy_trace_u32x3(
unsigned id, uint32_t p1, uint32_t p2, uint32_t p3)