mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-29 21:30:39 +00:00

* add `software_reset`, `software_reset_cpu` and `rtc_get_wakeup_cause` * Add SOC wakeup symbols * Add SleepSource and WakeupReason enums and get_wakeup_cause() function * Add other SOC wakeups * fixups and fmt * address review comments * Update symbols in WakeupReason enum * fmt --------- Co-authored-by: Anthony Grondin <104731965+AnthonyGrondin@users.noreply.github.com>
9 lines
341 B
Plaintext
9 lines
341 B
Plaintext
PROVIDE(ets_delay_us = 0x40008534);
|
|
PROVIDE(ets_update_cpu_frequency_rom = 0x40008550);
|
|
PROVIDE(rom_i2c_writeReg = 0x400041a4);
|
|
PROVIDE(rom_i2c_writeReg_Mask = 0x400041fc);
|
|
PROVIDE(rtc_get_reset_reason = 0x400081d4);
|
|
PROVIDE(rtc_get_wakeup_cause = 0x400081f4);
|
|
PROVIDE(software_reset = 0x4000824c);
|
|
PROVIDE(software_reset_cpu = 0x40008264);
|