In the last note, I learned about the ADC driver. STM32MP157 also has DAC peripherals. The IIO driver framework also used by DAC. In this chapter, we will learn how to use the DAC on STM32MP157 under Linux as follows. Introduction to DAC ADC is an analog-to-digital converter, responsible for converting external analog signals into […]
Tag: gdi
Zhengdian Atom Embedded Linux Driver Development–Linux MISC Driver
misc means mixed and miscellaneous, so the MISC driver is also called a miscellaneous driver. That is, the MISC driver can be used when some peripherals on the board cannot be classified. The MISC driver is actually the simplest character device driver. It is usually nested in the platform bus driver to implement complex drivers. […]
GDI Fancy Exploration Based on C# Four: Image Zoom and Coordinate Transformation
1. Two lengthy sentences When playing with GDI, you cannot avoid images after all. Maybe at the beginning, I could try to assign the bitmap directly to the Image of the pictureBox to load the image, but it is a dead thing after all. Often when loading images, they basically have the function of zooming […]
Zhengdian Atom embedded linux driver development – RGB to HDMI
At present, most displays provide HDMI interfaces, and the application range of HDMI is becoming wider and wider. However, the STM32MP157 chip does not natively support HDMI display. You can convert RGB signals to HDMI signals through the RGB to HDMI chip, so that you can connect to an HDMI display. In this chapter, we […]
Zhengdian Atom Embedded Linux Driver Development–Linux PWM Driver
PWM is a very commonly used function. You can use PWM to control the motor speed, or you can use PWM to control the backlight brightness of the LCD. In this chapter, we will learn how to develop PWM driver under Linux. PWM driver analysis I won’t introduce what PWM is, let’s go directly to […]
C# Winform Programming (8) GDI+ Drawing
GDI + Drawing Introduction System.Drawing namespace Common classes in the System.Drawing namespace: Common structures in the System.Drawing namespace: Graphics class Pen class Brush class Font class PictureBox image control Bitmap class Introduction GDI (Graphics Device Interface) image device interface, which is a drawing API. The System.Drawing namespace provides access to the basic graphics functions of […]
Zhengdian Atom embedded linux driver development – platform driver under the device tree
In the previous note, I explained in detail the driver separation and layering under Linux, as well as the driver framework such as buses, devices and drivers. Based on the driver framework of buses, devices and drivers, the Linux kernel proposes the platform virtual bus, and correspondingly there are platform devices and platform drivers. The […]
Zhengdian Atomic Embedded Linux Driver Development – Linux comes with LED driver
Previously, I wrote my own LED light driver. In fact, very basic device drivers like LED lights have been integrated into the Linux kernel. The LED light driver of the Linux kernel uses the platform framework, so you only need to add the corresponding LED nodes in the device tree file as required. This chapter […]
Zhengdian Atom embedded linux driver development – LED driver development
In the previous note, the character device driver development steps were explained in detail, and the development of the first character device driver was completed using a virtual chrdevbase device as an example. This chapter begins writing the first real Linux character device driver. There is an LED light on the Zhengdian Atomic STM32MP157 development […]
Zhengdian Atom embedded linux driver development – character device driver development
After studying so many previous notes, Ubuntu operating system and complete Linux system transplantation, I have initially mastered the process of building a development board system, and built my own simple development system on STM32MP157. It can be confirmed from this note Learn Linux driver development! The following punctual tutorials will explain in detail the […]