Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Build the Finance Skills That Lead to Promotions, Not Just Certificates
Overview
Syllabus
Intro
About Chris Simmonds
Conventional device driver model
How applications interact device drivers
A note about device trees
GPIO: General Purpose Input/Output
Two userspace drivers!
The gpiolib systs interface
Inside a gplochip
Exporting a GPIO pin
Inputs and outputs
Interrupts
The gpio-cdev interface
gpio-cdev example 22
PWM: Pulse-Width Modulation
The PWM systs interface
Exporting a PWM
PWM example
12C: the Inter IC bus
The 12c-dev driver
Detecting 12c slaves using cdetect
12C code example - light sensor, addr 0x39
Other examples
What are you missing?
Taught by
Linux Foundation