When looking at the header file of 2410, I found that some registers are defined with *(volatile unsigned char *) and some are defined with *(volatile unsigned *). Why is this? What is the difference ...
I am working on a 18V to 36V boost circuit recently, but I found a problem with the inductor. When the load is reduced, the voltage drops. I adjust the feedback part to boost the voltage, but it canno...
As shown in the figure above, when does HAL248 output a low level and when does it output a high level? The explanation above is not very clear and I don’t understand it. I would like to ask the big g...
I'm using DS18B20 when doing a project. There's one part of the example program that comes with the disk that I always think has a problem. Can you help me check if it's the problem?unsigned char ID[5...
In the past few days, the Chinese display panel giant
BOE
has been flooded with articles supported by Liu Shuwei. Let's follow the embedded editor to learn about the relevant content.
...[Details]
For STM32, there are two ways to reset the software: 1) Use the official software library The system reset function is directly provided in the stm32f10x_nvic.c file of the official software li...[Details]
Unique device identifiers are suitable for: ● Used as a serial number (e.g. USB string serial number or other terminal applications) ● Use the unique ID as a security key when used in conjunction wit...[Details]
The trade war between China and the United States has become the focus. The United States has begun to play the ban card against Chinese technology companies. The ZTE incident shows that if the ban...[Details]
1. About FPU transplantation As long as the chip has FPU function, the use of FPU is generally enabled by default. You can also select it in the Options tab; 2. About the transplantation of DSP li...[Details]
1. Basic Concepts of LCD/LCM The structure of Liquid Crystal Display (LCD) is to place liquid crystals between two parallel pieces of glass. There are many vertical and horizontal fine wires between...[Details]
This small program is still the use of timer, which is relatively simple. The specific parts are noted in the comments, please refer to the comments. /*********************************************...[Details]
STM32 uses FSMC to read and write CPLD programs. CPLD is hung on the address line and data line of STM32. CPLD is regarded as an off-chip RAM for reading and writing. On the board I made, CPLD is hun...[Details]
When Amazon quietly launched a product called Elastic Computing Cloud 12 years ago, the Internet industry in China, across the ocean, also ushered in an unprecedented development opportunity. Let's...[Details]
At this exhibition, Microsoft brought its flagship intelligent voice products - XiaoIce and Xiaona. In addition, the voice will be equipped with an intelligent face recognition system. Let's see ho...[Details]
In the packaging process of a production line, every time the conveyor belt of the production line delivers a product to the packaging machine, the "SP" terminal outputs a pulse to the T1 terminal of...[Details]
Design a second and minute pulse generator for a single-chip microcomputer using the interrupt method. Assume that P1.0 generates a positive pulse of one machine cycle per second, and P1.1 generates ...[Details]
//Environment: winavr+avr studio char temp=0; ISR(TIMER1_COMPA_vect )//interrupt function { // user code here temp++; if (temp==10) temp=0; PORTA=temp; DDRA=0xff; } void ...[Details]
/*34864 Chinese character library*/ // Connection of MCU //******************************************************** //p3= data port //p4--control port// p4.0 = rs //p4.1= r/w //p4.2= e //...[Details]