5 #ifndef __SOC_WATCH_H__
6 #define __SOC_WATCH_H__
9 #include "qm_soc_regs.h"
18 #include "qm_common.h"
52 #define SOCW_ARC_EVENT_SS1 SOCW_EVENT_HALT
53 #define SOCW_ARC_EVENT_SS2 SOCW_EVENT_SLEEP
0x024 CCU Ext Clock Gate Ctl.
0x018 Perip Clock Gate Ctl.
0x30C Comprtr Power Enable.
0x02C Clock Control register.
void soc_watch_log_event(soc_watch_event_t event_id, uintptr_t ev_data)
Log a power profile event.
void soc_watch_trigger_flush()
Trigger a buffer flush via watchpoint.
soc_watch_event_t
Power profiling events enumeration.
void soc_watch_log_app_event(soc_watch_event_t event_id, uint8_t ev_subtype, uintptr_t ev_data)
Log an application event via the power profile logger.
0x000 OSC0_CFG1 register.
soc_watch_reg_t
Register ID enumeration.
0x550 Sleep Configuration.
Application-defined event.
0x038 System Clock Control.