I would like to switch some peripheral signals to certain GPIO pins using GPIO matrix.
I can’t find any clear documentation or example to do such thing.
I’ve just found the following IDF functions:
Code: Select all
void gpio_iomux_in(uint32_t gpio_num, uint32_t signal_idx);
void gpio_iomux_out(uint8_t gpio_num, int func, bool oen_inv);
Could you please provide some indications?
For example, would it be possible to switch I/O signal SPID (pin 35) to GPIO39?
Would it be possible to switch O signal SPICS0 (pin 32) to GPIO40?