rza1_pin_set_direction(9)
π 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 aboutinputβ the input enable/disable flag, so it's abooland 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:
- Kernel file
./drivers/pinctrl/renesas/pinctrl-rza1.c struct rza1_mux_conf(9)struct rza1_port(9)struct rza1_pinctrl(9)rza1_pin_reset(9)rza1_pin_mux_single(9)rza1_gpio_request(9)rza1_gpio_free(9)rza1_gpio_get(9)rza1_dt_node_pin_count(9)rza1_parse_pinmux_node(9)rza1_dt_node_to_map(9)rza1_set_mux(9)rza1_parse_gpiochip(9)rza1_gpio_register(9)rza1_pinctrl_register(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms