IO_MUX component and function selection - 0 or 1 for the 1st function?

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

IO_MUX component and function selection - 0 or 1 for the 1st function?

Postby kolban » Sun Oct 16, 2016 5:11 pm

Small stuff here ... but thought I might raise the question. Am studying the ESP32 Technical Reference dated 2016-09-28 in figure 7 (page 29) and figure 8 (page 31) - we see function select capability set through GPIOx_MCU_SEL as being numbered (as illustrated) starting at 0 with GPIO functions having a value of "2". If we then read on and look at Table 17 on page 38, it appears that the functions are labeled starting at "1" with the GPIOs (as illustrated) being "Function 3". Assuming that the values needed to be set to GPIOx_MCU_SEL are 0 based, I think I'd like to suggest that Table 17 name its columns starting with index 0 ... so the first column of functions would be labeled as "Function 0".
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: No registered users and 121 guests