/** * @brief dbg mmi enable **/ static void dbg_mmi_enable(void) // {{{ { #ifdef SHOW_DBG_SWDIAG dbg_swdiag_set(DBG_SWDIAG_LEADV, PIN_LED_0|DBG_SWDIAG_IO_RVS); dbg_swdiag_set(DBG_SWDIAG_LESCAN, PIN_LED_0|DBG_SWDIAG_IO_RVS); dbg_swdiag_set(DBG_SWDIAG_LEINIT, PIN_LED_0|DBG_SWDIAG_IO_RVS); dbg_swdiag_set(DBG_SWDIAG_LEPERADV, PIN_LED_0|DBG_SWDIAG_IO_RVS); dbg_swdiag_set(DBG_SWDIAG_LECON, PIN_LED_0|DBG_SWDIAG_IO_RVS); dbg_swdiag_set(DBG_SWDIAG_LESYNC, PIN_LED_0|DBG_SWDIAG_IO_RVS); dbg_swdiag_set(DBG_SWDIAG_POWER_CPU_GATE, PIN_LED_1|DBG_SWDIAG_IO_RVS); dbg_swdiag_set(DBG_SWDIAG_POWER_SLEEP, PIN_LED_2|DBG_SWDIAG_IO_RVS); dbg_swdiag_set(DBG_SWDIAG_POWER_DEEP_SLEEP, PIN_LED_2|DBG_SWDIAG_IO_RVS); // dbg_swdiag_set(DBG_SWDIAG_LECON_LINKID+1, PIN_LED_7); // dbg_swdiag_set(DBG_SWDIAG_LECON_LINKID+2, PIN_LED_7); #endif } |