mirror of
https://github.com/espressif/esp-idf
synced 2025-03-12 02:29:10 -04:00
Initialize the pmu sleep machine constant when pmu is initialized, and calculate the pmu sleep time adjustment value and hardware configuration value according to the machine constant during system sleep. Calibrate fast OSC before each sleep and use the calibration value to calculate PMU hardware wait cycles when use the fast OSC as the work clock.
soc
The soc
component provides hardware description for targets supported by ESP-IDF.
- `xxx_reg.h` - defines registers related to the hardware
- `xxx_struct.h` - hardware description in C `struct`
- `xxx_channel.h` - definitions for hardware with multiple channels
- `xxx_caps.h` - features/capabilities of the hardware
- `xxx_pins.h` - pin definitions
- `xxx_periph.h/*.c` - includes all headers related to a peripheral; declaration and definition of IO mapping for that hardware