cfg: ftdi icdi enable srst open drain config
[fw/openocd] / src / target / arm_dpm.h
index b20184c8d5475c2957e489314af6240be37e9580..66b2b1dfe85accdcafcb6ec76821c3fdb6ed7e68 100644 (file)
@@ -126,13 +126,16 @@ struct arm_dpm {
        /** Recent value of DSCR. */
        uint32_t dscr;
 
-       // FIXME -- read/write DCSR methods and symbols
+       /* FIXME -- read/write DCSR methods and symbols */
 };
 
 int arm_dpm_setup(struct arm_dpm *dpm);
 int arm_dpm_initialize(struct arm_dpm *dpm);
 
 int arm_dpm_read_current_registers(struct arm_dpm *);
+int dpm_modeswitch(struct arm_dpm *dpm, enum arm_mode mode);
+
+
 int arm_dpm_write_dirty_registers(struct arm_dpm *, bool bpwp);
 
 void arm_dpm_report_wfar(struct arm_dpm *, uint32_t wfar);