ESP32-S3-DevKitC-1 : Is there any ESP-IDF API functions in order to configure the clocks and GPIOS ?

ThomasESP32
Posts: 229
Joined: Thu Jul 14, 2022 5:15 am

ESP32-S3-DevKitC-1 : Is there any ESP-IDF API functions in order to configure the clocks and GPIOS ?

Postby ThomasESP32 » Tue Aug 09, 2022 6:01 pm

Good afternoon,

I would like to know if there are ESP-IDF API fucntions that can be used in order to configure the clocks
on a ESP32-S3-DevKitC-1 board ?

The same thing for the GPIO please ?

Best regards

ThomasESP32
Posts: 229
Joined: Thu Jul 14, 2022 5:15 am

Re: ESP32-S3-DevKitC-1 : Is there any ESP-IDF API functions in order to configure the clocks and GPIOS ?

Postby ThomasESP32 » Tue Aug 09, 2022 6:13 pm

The same way, I have just read the Interrupt Matrix chapter...
Are they any ESP-IDF API functions that can be used to configure the Interrupt matrix
more easily please ?

Best regards

ESP_Sprite
Posts: 9739
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-S3-DevKitC-1 : Is there any ESP-IDF API functions in order to configure the clocks and GPIOS ?

Postby ESP_Sprite » Wed Aug 10, 2022 12:30 am

For clocks: there's a bunch of menuconfig options to set the clock speed and enable dynamic frequency switching.

For GPIO: you have the GPIO driver and generally all other drivers allow you to specify which GPIOs to use, which is an abstraction over the GPIO matrix

For interrupts: esp_intr_alloc handles those for you, but again, most drivers do this internally in order to work as a blocking API externally.

Who is online

Users browsing this forum: No registered users and 103 guests