Developing Simple Device Drivers with C++

Developing Simple Device Drivers with C++

1. The Powerful Advantages of C++ in Driver Development In the field of device driver development, C++ is a “powerful tool.” It inherits the precise control capabilities of C language over low-level hardware, allowing it to directly “communicate” with hardware, manage memory meticulously, and precisely control processor resources. This is crucial for device drivers that … Read more

Introduction to Linux Character Device Driver Framework

Introduction to Linux Character Device Driver Framework

This article discusses Linux device drivers. In Linux, I/O devices can be divided into two categories: block devices and character devices. These two types of devices do not have any hardware differences; they are mainly classified based on different functionalities, and their main difference lies in whether they can randomly access and manipulate data on … Read more

Implementing Logical Simulation of I2C Bus Abstraction Based on Linux and RT-Thread Device Driver Model

Implementing Logical Simulation of I2C Bus Abstraction Based on Linux and RT-Thread Device Driver Model

Author | Acuity 1. Introduction The I2C bus is a simple, “bidirectional two-wire synchronous serial bus” developed by PHILIPS. The use of I2C is not unfamiliar; C51, ARM, MSP430, etc., generally integrate hardware I2C, or for those that do not integrate I2C, it is possible to simulate an I2C bus using ordinary IO ports based … Read more

How to Install Device Drivers on Linux

How to Install Device Drivers on Linux

Learn how Linux device drivers work and how to use them. — Bryant Son Useful original link Please visit the “original link” at the end for clickable in-text links, full-size original images, and related articles. Thanks Compiled from | https://opensource.com/article/18/11/how-install-device-driver-linux | Author | Bryant Son | Translator | Jamskr 🌟🌟 Total translated: 15.0 Contribution time: … Read more

How to Install Computer Device Drivers

How to Install Computer Device Drivers

Today, I will talk about computer device drivers. So what is a computer device? What is a driver? Let’s gradually get to know them. After installing the original system, if nothing appears on the desktop, and neither “My Computer” nor “My Documents” is displayed, let me first teach you how to set it up. 1. … Read more

Advanced Guide to RT-Thread Device Driver Development – LCD

Advanced Guide to RT-Thread Device Driver Development - LCD

1. Overview Based on the previous article titled “RT-Thread Device Driver Development Guide: Basics – Taking the HWTIMER Device of the First Paddle BSP as an Example” we can roughly understand the methods and steps for RT-Thread device driver development. The advanced peripherals covered in this guide are generally more complex than those in the … Read more

Library-Based Embedded Device Driver Development

Library-Based Embedded Device Driver Development

Follow and star our public account to access exciting content Source: The Last Bug Some friends asked me how to write excellent C code. This cannot be explained in just a few sentences. Excellent code is bound to be the crystallization of various programming techniques and design philosophies, so it requires step-by-step accumulation of methods … Read more

The ‘Library’ Concept in Embedded Device Drivers

The 'Library' Concept in Embedded Device Drivers

I'm Lao Wen, an embedded engineer who loves learning. Follow me, and let's become better together! How to write excellent C code? Excellent code is a crystallization of various programming techniques and design ideas, so it requires step-by-step accumulation. I’m sharing this article on building the ‘library’ concept for everyone to experience. What if device … Read more

Overview of Linux Device Drivers: Ethernet and PCI

Overview of Linux Device Drivers: Ethernet and PCI

Ethernet The Ethernet interface consists of MAC (Media Access Controller) and PHY (Physical Interface Transceiver). The Ethernet MAC is defined by the IEEE 802.3 Ethernet standard, implementing the data link layer. Common MACs support two rates of 10Mbit/s or 100Mbit/s. Gigabit Ethernet (also known as 1000Base-T) is the next generation technology of Fast Ethernet, increasing … Read more

A Brief Discussion on Linux PCI Device Drivers (Part 1)

A Brief Discussion on Linux PCI Device Drivers (Part 1)

Click on the top“Baiwen Technology”, select the top public account Embedded essentials delivered promptly —— Author | linuxdrivers Source | https://blog.csdn.net/linuxdrivers/article/details/5849698 A student suggested writing about PCI drivers, and today I found a long article that is one of the most detailed blogs on PCI available online. It is divided into two parts, and this … Read more