ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2

This commit enables ULP FSM support for esp32s3 and updates ULP FSM code
flow for other chips.
It adds C Macro support for the ULP FSM instruction set on esp32s2 and
esp32s3.
The unit tests are also updated to test ULP FSM on ep32s2 and esp32s3.
This commit is contained in:
Sudeep Mohanty
2022-02-17 11:44:34 +05:30
parent 159bce3572
commit 4d8a0cce29
25 changed files with 1685 additions and 721 deletions
@@ -44,6 +44,22 @@ extern "C" {
*/
esp_err_t ulp_set_wakeup_period(size_t period_index, uint32_t period_us);
/**
* @brief Stop the ULP timer
*
* @note This will stop the ULP from waking up if halted, but will not abort any program
* currently executing on the ULP.
*/
void ulp_timer_stop(void);
/**
* @brief Resume the ULP timer
*
* @note This will resume an already configured timer, but does no other configuration
*
*/
void ulp_timer_resume(void);
#ifdef __cplusplus
}
#endif