Hello everynyan!
On page 19 of the ESP32-C6 datasheet there is a table regarding the different IO MUX functions that can be assigned to certain pins. Along with the description of these functions, there is a column regarding what type coincides with each function. Two of these type-descriptions have the following footnote:
• I1 – input; if the pin is assigned a function other than Fn, the input signal of Fn
is always 1.
• I0 – input; if the pin is assigned a function other than Fn, the input signal of
Fn is always 0.
I have thought about the meaning of these footnotes, but I cant figure it out. There are three ways to interpret this text:
-Considering there are 2 to 3 functions per pin, if any pin except the one where the corresponding type of Fn is I1 ir I0 is chosen, the input signal will always be 1 or 0 (which makes the other functions useless, so why include them)
-Considering n is defined as 0~2, if any function outside of the range of 0~2 is chosen the input will be 1 or 0.
-If the function, as in signal, applied to a pin is a function other than the one intended for Fn, the input signal will always be 1 or 0.
Below a screenshot of the table:
Thanks a lot for reading!
ESP32-C6 IO MUX type description
Re: ESP32-C6 IO MUX type description
The way I read it is that if you set the pin to that function but also use the GPIO matrix to route from/to it (or use the GPIOs directly), it'll act as a GPIO that is always an input that reads 1 or 0. Agree that it can be worded better; I'll poke the docs team to see if we can get some clarification there.
Who is online
Users browsing this forum: No registered users and 4 guests
