modepin_gpio_dir_in(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to modepin_gpio_dir_in(9) β€” literally straight out of the Kernel API Manual ✨ this one is all about setting the direction of the specified GPIO pin as input, and it is lowkey iconic for being so simple πŸ’…

🌸 NAME 🌸

modepin_gpio_dir_in β€” set the direction of the specified GPIO pin as input πŸŽ€

✨ SYNOPSIS ✨

int modepin_gpio_dir_in (struct gpio_chip *chip , unsigned int pin );

🫢 ARGUMENTS 🫢

  • chip β€” the gpio_chip instance you're working on, bestie πŸ’–
  • pin β€” the gpio pin number within the device πŸ”₯

πŸ’« RETURN πŸ’«

0 always. no cap, every single time 😌✨

πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’‹ this lil page came from ./drivers/gpio, dated October 2026 β€” periodt πŸ¦‹πŸŒ·

πŸ“¦ where this page comes from