当前位置:网站首页>Key knowledge of embedded driver
Key knowledge of embedded driver
2022-07-04 02:09:00 【Code boy】
1. What is a drive ? Drive down operation hardware , Interface up , Simply put, you used to configure hardware registers to make the hardware work normally , Then you first configure the hardware in the same way in the driver , It's just about when to put the process of configuring hardware into the framework of the driver , At the same time, provide your hardware operation interface to the outside , such as open,read,write,ioctl And so on , To put it bluntly, it is through the application layer io Operate to call the interface of the driver, and then modify the state of the hardware in the interface provided by the driver , Realize the control of hardware . Of course, some basic knowledge such as spin lock , mutex , Interrupt the bottom half and so on. You can learn by yourself .
Only take down the drive , We can open the whole closed loop from the bottom hardware to the top application, and then from the top application to the bottom driver , We will find that many things are small for us case Of course. .
2. The environment needs to be built , We need to know how to compile the kernel , How to run the kernel on the board .
3. The first drive must also light up .
4. stay linux Write a simple character device driver .
5. After learning, you will find that the driver is basically in the framework , For example, character device framework ,Platform frame ,IIC frame ,SPI frame ,INPUT Input subsystem framework ,misc,USB And so on .
边栏推荐
- What is the intelligent monitoring system of sewage lifting pump station and does it play a big role
- Hunan University | robust Multi-Agent Reinforcement Learning in noisy environment
- Software product download collection
- FRP intranet penetration
- Yyds dry goods inventory override and virtual of classes in C
- Rearrangement of tag number of cadence OrCAD components and sequence number of schematic page
- Conditional statements of shell programming
- Difference between value and placeholder
- Méthode de calcul de la connexion MSSQL de la carte esp32c3
- Sword finger offer 20 String representing numeric value
猜你喜欢

FRP intranet penetration
![[software implementation series] software implementation interview questions with SQL joint query diagram](/img/8b/8718fea82f83a6169ea5d8c2e5b645.jpg)
[software implementation series] software implementation interview questions with SQL joint query diagram

Chapter 3.4: starrocks data import - Flink connector and CDC second level data synchronization

Maximum likelihood method, likelihood function and log likelihood function

Advanced learning of MySQL -- Application -- storage engine

Learn these super practical Google browser skills, girls casually flirt

Conditional statements of shell programming

Override and virtual of classes in C #

How programmers find girlfriends through blind dates

When tidb meets Flink: tidb efficiently enters the lake "new play" | tilaker team interview
随机推荐
Create template profile
A fan summed up so many interview questions for you. There is always one you need!
[Yugong series] February 2022 attack and defense world advanced question misc-84 (MySQL)
JVM performance tuning and practical basic theory - medium
A. Min Max Swap
Applet graduation design is based on wechat course appointment registration. Applet graduation design opening report function reference
Design and implementation of redis 7.0 multi part AOF
Servlet simple verification code generation
Jerry's synchronous weather information to equipment [chapter]
Douban scoring applet Part-3
Force buckle day32
On Valentine's day, I code a programmer's exclusive Bing Dwen Dwen (including the source code for free)
Jerry's update contact [article]
MySQL statement learning record
Three layer switching ②
MySQL advanced SQL statement (1)
Conditional statements of shell programming
All ceramic crowns - current market situation and future development trend
Chinese Mitten Crab - current market situation and future development trend
The boss said: whoever wants to use double to define the amount of goods, just pack up and go