Linux Device Driver Tutorial Part 41 – SSD1306 I2C Linux Device Driver using Raspberry PI

SSD1306 I2C Linux Device Driver

This is the Series on Linux Device Driver. The aim of this series is to provide easy and practical examples that anyone can understand. This is the Linux Device Driver Tutorial Part 40 – SSD1306 I2C Linux Device Driver using Raspberry PI. We are using the Raspberry PI 4 Model B for this demonstration. SSD1306 I2C Linux Device … Read more

Linux Device Driver Tutorial Part 25 – Sending Signal from Linux Device Driver to User Space

Sending Signal from Linux Device Driver to User Space

This is the Series on Linux Device Driver. The aim of this series is to provide easy and practical examples that anyone can understand. This is the Linux Device Driver Tutorial Part 25 – Sending Signal from Linux Device Driver to User Space. Prerequisites In the example section, we explained signals using the interrupt program. So I … Read more

Linux Device Driver Tutorial Part 22 – Mutex in Linux Kernel

Mutex in Linux Kernel

This is the Series on Linux Device Driver. The aim of this series is to provide easy and practical examples that anyone can understand. This is the Linux Device Driver Tutorial Part 22 – Mutex in Linux Kernel. Prerequisites In the example section, I had used Kthread to explain Mutex. If you don’t know what is … Read more

Understanding of container_of macro in Linux kernel

Understanding of container_of macro in Linux kernel

The Linux kernel contains a very useful macro named “container_of”. This article is about Understanding of container_of macro in Linux kernel. This article includes a simple program that illustrates how this macro is used, and explains why it is so useful. Understanding of container_of macro in Linux kernel Introduction Now we will assume that we have … Read more

Little Endian And Big Endian

Little Endian And Big Endian

In this tutorial we are going to see the full story of Little Endian And Big Endian. Normally, Big endian and little endian are two formats to store multibyte data types into computer’s memory. Before that we should know what is Endian. What is Endianness? The endianness refers to the byte order used by your computer or micro controller or … Read more