From 9b5acea1603b1d0a293d328d8edf7cd7ee24cf1c Mon Sep 17 00:00:00 2001 From: Krzysztof Date: Wed, 13 May 2020 23:05:07 +0200 Subject: [PATCH] Add missing link to ulp header files and link to example following https://esp32.com/viewtopic.php?f=2&t=15562 --- components/ulp/README.rst | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/components/ulp/README.rst b/components/ulp/README.rst index f4c027cd7..fbe1dafce 100644 --- a/components/ulp/README.rst +++ b/components/ulp/README.rst @@ -1,5 +1,5 @@ -Programming ULP coprocessor using C macros -========================================== +Programming ULP coprocessor using C macros (legacy) +=================================================== In addition to the existing binutils port for the ESP32 ULP coprocessor, it is possible to generate programs for the ULP by embedding assembly-like macros into an ESP32 application. Here is an example how this can be done:: @@ -51,6 +51,23 @@ Here is an example of using labels and branches:: ulp_run(load_addr); +Application Example +------------------- + +Demonstration of entering into deep sleep mode and waking up using several wake up sources: :example:`system/deep_sleep`. + + +API Reference +------------- + +Header File +^^^^^^^^^^^ + +.. list:: + + :esp32: - :component_file:`ulp/include/esp32/ulp.h` + :esp32s2: - :component_file:`ulp/include/esp32s2/ulp.h` + Functions ^^^^^^^^^