ESP-IDF + 0/9 examples
SourceVu will show references to ulp_set_wakeup_period() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

- ESP_OK on success - ESP_ERR_INVALID_ARG if period_index is out of range

Notes

The ULP FSM requires two clock cycles to wakeup before being able to run the program. Then additional 16 cycles are reserved after wakeup waiting until the 8M clock is stable. The FSM also requires two more clock cycles to go to sleep after the program execution is halted. The minimum wakeup period that may be set up for the ULP is equal to the total number of cycles spent on the above internal tasks. For a default configuration of the ULP running at 150kHz it makes about 133us.

References

from examples