How do I create a driver for my Raspberry Pi?
Answer
Linux Device Driver Tutorial Part 35 – GPIO Linux Device Driver Basic using Raspberry PI
Answer
Linux Device Driver Tutorial Part 35 – GPIO Linux Device Driver Basic using Raspberry PI
- 1.4.1 Validate the GPIO.
- 1.4.2 Request the GPIO.
- 1.4.3 Export the GPIO.
- 1.4.4 Unexport the GPIO.
- 1.4.5 Set the direction of the GPIO.
- 1.4.6 Change the GPIO value.
- 1.4.7 Read the GPIO value.
- 1.4.8 GPIO Interrupt (IRQ)