Closed
Description
I haven't found in the SDK datasheet and hardware/gpio a function to read the GPIO output register.
Also in the hardware struct sio.h, the out register is mentioned as write only (io_wo_32 gpio_out;) but I think should be read write.
In the optic, the function gpio_get_pad() give the INFROMPAD info but there is no function to get the OUTTOPAD.
A side note on the RP2040 datasheet, the pads register are quite far down in the list of registers section, maybe it would be nice to add a reference to it (in the signets, or at the beginning of the section 2.19.6) so that it would be easier to access it instead of scrolling tens of pages.