Character device driver Foundation (II)
Working principle of the whole system:
Application layer - > API - > device driver - > Hardware
Sending appropriate instructions can perform different operations. This rule is specified by the device driver.These rules are displayed through the api and called by the application layerThe application layer transmits the corresponding ...
Posted by stormchaser1_1 on Tue, 08 Feb 2022 17:25:20 +0100
[Linux driver] common character device driver framework
1, Ordinary character device driver design process ------------------------Define a normal character device--------------------------- 1) Define a normal character device 2) Defines the file operation set corresponding to the normal character device 3) Apply for a device number for a normal character device 4) Initialize normal character device ...
Posted by abitshort on Sun, 23 Jan 2022 15:03:42 +0100
[Linux driver] I2C subsystem and touch screen driver
Since learning the touch screen driver involves interrupt and I2C related knowledge, let's first introduce the I2C driver framework.
Relationship between touch screen and I2C bus
For the basic concepts and principles of I2C, please refer to my blog: summary of [bare metal] embedded related problems (II. I2C communication concept)
Hardware co ...
Posted by GoNz0 on Tue, 18 Jan 2022 18:22:10 +0100
Linux driver practice: how does the interrupt processing function [send a signal] to the application layer?
Author: Daoge, a 10 + year embedded development veteran, focusing on: C/C + +, embedded and Linux.
Pay attention to the official account below, reply to books, get classic books in Linux and embedded field. Reply to [PDF] to obtain all original articles (PDF format).
catalogue
Other people's experience, our ladder!
Hello, I'm brother Dao. ...
Posted by miasma on Mon, 10 Jan 2022 13:57:48 +0100
Linux driven practice: what is the [work queue] workqueue in interrupt processing?
Author: Daoge, a 10 + year embedded development veteran, focusing on: C/C + +, embedded and Linux.
Pay attention to the official account below, reply to books, get classic books in Linux and embedded field. Reply to [PDF] to obtain all original articles (PDF format).
catalogue
Other people's experience, our ladder!
Hello, I'm brother Dao. ...
Posted by 8ta8ta on Mon, 10 Jan 2022 13:55:31 +0100
Linux driver development (IIC subsystem)
1. Introduction to IIC protocol
In the previous bare metal ARM, we introduced: https://blog.csdn.net/weixin_49303682/article/details/119305227
2. IIC subsystem framework of Linux
I2C host driver: the driver of I2C host controller is generally designed and implemented by SoC chip manufacturers to control the timing signal sent by II2C hos ...
Posted by bluetonic on Sun, 26 Dec 2021 15:23:01 +0100
Linux driver practice: how does the driver send [signal] to the application?
Author: Daoge, a 10 + year embedded development veteran, focusing on: C/C + +, embedded and Linux.
Pay attention to the official account below, reply to books, get classic books in Linux and embedded domain, and reply to PDF to get all original articles (PDF format).
Other people's experience, our ladder!
Hello, I'm brother Dao. Toda ...
Posted by -entropyman on Wed, 15 Dec 2021 23:58:24 +0100
Raspberry pie linux led character device driver (traditional)
for any peripheral driver under Linux, it is necessary to configure the corresponding hardware registers. Therefore, the LED driver finally configures the IO port of raspberry pie, but writing the driver under Linux should comply with the linux driver framework.
1, Raspberry pie GPIO
1.1 register address
The CPU of raspberry pie 3B is ...
Posted by ec on Tue, 14 Sep 2021 01:24:32 +0200