EasyManua.ls Logo

Espressif ESP32-S2 - Internal and Unstable Apis

Espressif ESP32-S2
1695 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2. API Reference
Parameters
tv: Time received from SNTP server.
Enumerations
enum sntp_sync_mode_t
SNTP time update mode.
Values:
SNTP_SYNC_MODE_IMMED
Update system time immediately when receiving a response from the SNTP server.
SNTP_SYNC_MODE_SMOOTH
Smooth time updating. Time error is gradually reduced using adjtime function. If the difference between
SNTP response time and system time is large (more than 35 minutes) then update immediately.
enum sntp_sync_status_t
SNTP sync status.
Values:
SNTP_SYNC_STATUS_RESET
SNTP_SYNC_STATUS_COMPLETED
SNTP_SYNC_STATUS_IN_PROGRESS
2.6.26 Internal and Unstable APIs
This section is listing some APIs that are internal or likely to be changed or removed in the next releases of ESP-IDF.
API Reference
Header File
components/esp_rom/include/esp_rom_sys.h
Functions
int esp_rom_printf(const char *fmt, ...)
Print formated string to console device.
Note float and long long data are not supported!
Return int: Total number of characters written on success; A negative number on failure.
Parameters
fmt: Format string
...: Additional arguments, depending on the format string
void esp_rom_delay_us(uint32_t us)
Pauses execution for us microseconds.
Parameters
us: Number of microseconds to pause
void esp_rom_install_channel_putc(int channel, void (*putc))char c
esp_rom_printf can print message to different channels simultaneously. This function can help install the low
level putc function for esp_rom_printf.
Parameters
channel: Channel number (startting from 1)
putc: Function pointer to the putc implementation. Set NULL can disconnect esp_rom_printf
with putc.
Espressif Systems 1054
Submit Document Feedback
Release v4.4

Table of Contents