Setting multiple pins simultaneously


Author Message
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 9022
Posted: 06:44am 16 May 2025      

But on the RPxxxx you have the pad between the junction of the output buffer and the input buffer. You can read back what the output buffer is set to (but there's no point really). However, the pad can disable the pin so you aren't seeing it at all. :)

You can *simulate* things like I2C on the RPxxxx. It's output is totem pole though, and the top device can't be disabled so there is no open drain output. True I2C is actually impossible. You have to force the pin to output low then switch IO mode between input (Hi-Z) and output (low).