-
Peripheral frame packet, a total of 14 bits 0-13
Source MAC address: 0-5 digits
Target MAC address: 6-11 bits
Type: 12, 13 bits
IP packet, excluding options, has a total of 20 bits, 14-...[Details]
-
In many projects, it is found that hardware errors always occur and run to the interrupt function:
/**
* @brief This function handles Hard Fault exception.
* @param None
* @retval None
...[Details]
-
The following uses stm32's TIM2 as an example to configure it step by step as a timer: 1: Basic configuration of the timer TIM_TimeBaseStructure.TIM_Period = 65535; //Set the automatic loading...[Details]
-
1. Use proteus to draw a simple circuit diagram for subsequent simulation 2. Programming /*********************************************************************************************************...[Details]
-
The leakage problem of solar panels can traditionally be solved by using a Schottky diode in series with the solar panel, but the forward voltage drop of the Schottky diode causes it to consume a l...[Details]
-
Introduction: Summary of homemade AVR JTAG: Collect detailed information, understand its principle, and confirm a production plan. Then confirm the circuit is accurate and learn to use related softwa...[Details]
-
(1) How to write a header file
Example: // header file file.h
#ifndef FILE_H //FILE_H can be written arbitrarily, it is just a label to prevent the ...[Details]
-
1 Introduction
The single-chip microcomputer application system has the characteristics of simple structure, high reliability, strong flexibility, high performance-price ratio, etc., and has b...[Details]
-
STM8's UART is powerful. In addition to conventional serial asynchronous communication, it also has LIN master mode, infrared codec, smart card simulation and other functions. Beginners should start w...[Details]
-
Microcontroller programming: Find the maximum number and store it in the BIG unit. Assume that the internal RAM stores a group of unsigned numbers starting from the LIST unit, with the number of data...[Details]
-
introduction With the intensification of the aging process in my country, there is a "vulnerable group of people who are bedridden for a long time" in today's society because they have lost the abili...[Details]
-
Stack allocation of local variables
Let's analyze how the C compiler handles the allocation of local variables. For this purpose, we first give the following program:
#vi test2.c
in...[Details]
-
When it comes to serial ports, the following picture should appear in everyone's mind: See? This is a real serial port. Today's industrial computers and previous home computers all have serial port...[Details]
-
1 Introduction
In recent years, with the development of computer, microelectronics, communication and network technology, people have put forward higher and higher requirements on the reliabili...[Details]
-
There are significant differences between the 6410 DMA controller and the 2440 DMA controller.
DMA operation steps in S3C6410:
1. Decide whether to use secure DMAC (SDMAC) or general DMAC...[Details]