modepin_gpio_dir_in(9)
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β thegpio_chipinstance you're working on, bestie πpinβ the gpio pin number within the device π₯
π« RETURN π«
0 always. no cap, every single time πβ¨
π SEE ALSO π
- Kernel file
./drivers/gpio/gpio-zynqmp-modepin.c modepin_gpio_get_value(9)modepin_gpio_set_value(9)modepin_gpio_dir_out(9)modepin_gpio_probe(9)
mwah π this lil page came from ./drivers/gpio, dated October 2026 β periodt π¦π·
π¦ 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