HAP_etm_config APIs
HAP ETM Configuration
HAP_etm_config.h
Go to the documentation of this file.
1 /*-----------------------------------------------------------------------
2  Copyright (c) 2022 QUALCOMM Technologies, Incorporated.
3  All Rights Reserved.
4  QUALCOMM Proprietary.
5 -----------------------------------------------------------------------*/
6 
12 #include "AEEStdErr.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
22 int __attribute__((weak)) __HAP_user_etm_enable(void);
23 int __attribute__((weak)) __HAP_user_etm_disable(void);
24 
64 static inline int HAP_user_etm_enable(void) {
65  if(__HAP_user_etm_enable)
66  return __HAP_user_etm_enable();
67  return AEE_EVERSIONNOTSUPPORT;
68 }
69 
86 static inline int HAP_user_etm_disable(void) {
87  if(__HAP_user_etm_disable)
88  return __HAP_user_etm_disable();
89  return AEE_EVERSIONNOTSUPPORT;
90 }
91 
96 #ifdef __cplusplus
97 }
98 #endif
static int HAP_user_etm_enable(void)
Definition: HAP_etm_config.h:64
static int HAP_user_etm_disable(void)
Definition: HAP_etm_config.h:86