-
Key points: PORTA, PORTB, PORTC, PORTD, and PORTE are in input state after reset. PORTA.4 is open-drain output. TRISx is the direction register. When it is 0, it indicates output, and when it is 1,...[Details]
-
Introduction
A dish-type Stirling solar thermal power generation device is a device that generates high temperature by focusing sunlight, thereby driving the Stirling engine (heat engine) to ou...[Details]
-
Brief Introduction of APCS Rules Register Usage Rules Registers r0-r3 are used to pass function parameters during function calls. Each register has an alias a1-a4 and does not need to be restored to ...[Details]
-
WeEn Semiconductor appears at PCIM Europe, using “chips” to achieve optimal efficiency
Nuremberg, Germany - From May 10th to 12th, 2022, the annual PCIM Europe opened grandly. As a w...[Details]
-
(I)
Many people feel at a loss as to where to start learning C language, and often ask me the same question: How to learn C language? I am a teacher and have been developing programs for many year...[Details]
-
ARM LPC2131 explanation of PINSEL
Concept: The pin connection module controls the multiplexer through the configuration register to connect the pins to the on-chip peripherals; (P0.1/RXD0/PWM3/EINT...[Details]
-
0 Introduction With the rapid development of economy and the progress of science and technology, people's living standards are constantly improving, the requirements for quality of life are getting h...[Details]
-
Introduction: When programming, the first thing to consider is the feasibility of the program, followed by readability, portability, robustness, and testability. This is the general rule. However, ma...[Details]
-
Next I will introduce to you a HD44780 read-write microcontroller c51 program #include 《reg51.h》 #include 《intrins.h》 sbit GND_LCD=P1^7; sbit rs=P1^0; sbit rw=P1^1; sbit e=P1^2; unsigned char busy(vo...[Details]
-
What is the general form of a C51 function definition? How do I define an interrupt handler? How do I select a working register bank? Answer: Return type function name (parameter list) { Lo...[Details]
-
Today I made a flashing light product, and everything went smoothly. However, the final design requirement was that the battery should last for a month. When designing, the power consumption of the mi...[Details]
-
This topic is currently mainly discussed for learners of microcontrollers, and may be expanded to more fields in the future.
I often encounter questions like this: "When I am studying, it seems tha...[Details]
-
Actually, I have been wanting to write a good article recently. I feel a little pressure. I have also seen many stories of others, stories of my own life, and my own thoughts. I have not been able to ...[Details]
-
Introduction to UART The role of the serial port 1. Print debugging information 2. Connect some serial devices, such as GPS, GSM, ESP8266 Serial port configuration content 1. Baud rate 2. Data bit ...[Details]
-
Target description:
You need to build a nandflash_write() function with two entry parameters, one is an unsigned int variable and the other is an unsigned long addr_for_write. Then t...[Details]