joan2937 / pigpio

pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
The Unlicense
1.43k stars 403 forks source link

Allow get/set of slew rate and hyst bits for gpio #587

Open noafterglow opened 9 months ago

noafterglow commented 9 months ago

I would like to change the bank drive speeds but have been unable to follow the spaghetti all the way to where it actually gets set in the register. Note that the actual hardware register does get written since drive strength is there and we have those functions already, but those slew rate and hyst bits are not exposed.

guymcswain commented 9 months ago

Leave the spaghetti, take the cannoli. pigs pads 0 16 // gpio 0-27 set to drive strength 16 mA

documentation

guymcswain commented 9 months ago

Ok, you have the drive working. Yeah, I don't think the slew rate, hysteresis were implemented.

guymcswain commented 9 months ago

maybe just not documented