rza1_pin_set_direction(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rza1_pin_set_direction β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual entry for rza1_pin_set_direction(9) β€” yes the (9) is part of the name, it's giving very official, we love that for her πŸŽ€


✨ NAME ✨

rza1_pin_set_direction β€” sets the I/O direction on a pin when you're in port mode, literally her whole job πŸ’–


🌸 SYNOPSIS 🌸

void rza1_pin_set_direction (struct rza1_port *port , unsigned int pin ,
bool input );

no cap, that's the whole signature, copy it exactly bestie 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • port β€” the port where the pin is sitting, like where the pin actually lives 🏠
  • pin β€” the pin offset, i.e. which pin we're talking about
  • input β€” the input enable/disable flag, so it's a bool and it decides whether we're doing input things or not ✨

πŸ”₯ DESCRIPTION πŸ”₯

so when you're running in output port mode, keep PBDC enabled so you can still read the pin value from PPR. that's it, that's the vibe. the way that PBDC needs to stay on for PPR reads to work is just iconic honestly πŸ‘‘


🌈 SEE ALSO 🌈

the whole friend group, fr fr:


okay that's the page!! πŸ’œ she lives in ./drivers/pinctrl/renesas, she's dated October 2026, and that's the whole source/version moment β€” mwah, go read your pins, bestie πŸ˜­πŸ’…

πŸ“¦ where this page comes from