EZR32 Happy Gecko Software Documentation
ezr32hg-doc-5.1.2
Main Page
Modules
Files
Documentation Home
silabs.com
File List
em_dbg.h
Go to the documentation of this file.
1
/***************************************************************************/
34
#ifndef EM_DBG_H
35
#define EM_DBG_H
36
37
#include <stdbool.h>
38
#include "
em_device.h
"
39
40
#if defined( CoreDebug_DHCSR_C_DEBUGEN_Msk )
41
42
#ifdef __cplusplus
43
extern
"C"
{
44
#endif
45
46
/***************************************************************************/
51
/***************************************************************************/
56
/*******************************************************************************
57
***************************** PROTOTYPES **********************************
58
******************************************************************************/
59
60
#if defined( GPIO_ROUTE_SWCLKPEN ) || defined( GPIO_ROUTEPEN_SWCLKTCKPEN )
61
/***************************************************************************/
73
__STATIC_INLINE
bool
DBG_Connected(
void
)
74
{
75
return
(CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk) ?
true
:
false
;
76
}
77
#endif
78
79
80
#if defined( GPIO_ROUTE_SWOPEN ) || defined( GPIO_ROUTEPEN_SWVPEN )
81
void
DBG_SWOEnable(
unsigned
int
location);
82
#endif
83
87
#ifdef __cplusplus
88
}
89
#endif
90
91
#endif
/* defined( CoreDebug_DHCSR_C_DEBUGEN_Msk ) */
92
93
#endif
/* EM_DBG_H */
em_device.h
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.
platform
emlib
inc
em_dbg.h
Generated on Thu Mar 9 2017 20:45:26 for EZR32 Happy Gecko Software Documentation by
1.8.10