unstable
only.Expand description
§ESP ROM libraries
§Overview
The rom
driver provides functionality related to the ROM (Read-Only
Memory) on ESP chips. It includes implementations for the CRC (Cyclic
Redundancy Check) and MD5 (Message Digest 5) algorithms.
The driver’s functionality allows users to perform CRC calculations and MD5 hashing using the ROM functions provided by the ESP chip. This can be useful for various applications that require data integrity checks or cryptographic operations.
It uses CRC
error-checking techniques to detect changes in data during
transmission or storage.
This module also implements the MD5
algorithm, which is widely used for
cryptographic hash function. It’s commonly used to verify data integrity and
to check whether the data has been modified.
Safe abstractions to the additional libraries provided in the ESP’s Read-Only Memory.
Modules§
- crc
- Cyclic Redundancy Check (CRC)
- md5
- MD5 Message-Digest Algorithm (MD5)
- spiflash
- Definitions of ROM functions related to flash memory.
Functions§
- ets_
delay_ us - Busy-loop CPU for the given about of us.
- ets_
update_ cpu_ frequency_ rom - Set the real CPU ticks per us to the ets, so that ets_delay_us will be accurate. Call this function when CPU frequency is changed.
- rtc_
get_ reset_ reason - Get the reset reason for CPU.
- software_
reset - Software Reset digital core.
- software_
reset_ cpu - Software Reset digital core.