freertos: stall systimer while CPU is in debug mode

This commit is contained in:
Ivan Grokhotkov
2021-01-19 23:34:27 +01:00
committed by bot
parent 06f22fc4b0
commit d7bac619ec
3 changed files with 12 additions and 0 deletions
@@ -19,6 +19,7 @@ extern "C" {
#endif
#include <stdint.h>
#include <stdbool.h>
#include "hal/systimer_types.h"
/**
@@ -81,6 +82,11 @@ void systimer_hal_init(void);
*/
void systimer_hal_connect_alarm_counter(systimer_alarm_id_t alarm_id, systimer_counter_id_t counter_id);
/**
* @brief set if a counter should be stalled when CPU is halted by the debugger
*/
void systimer_hal_counter_can_stall_by_cpu(uint32_t counter_id, uint32_t cpu_id, bool can);
#ifdef __cplusplus
}
#endif