-
The day before yesterday, I learned about STM's Systick and found it quite useful for precise timing. When I used CVAVR before, I found that the delay.h in it was very useful. So, I used STM32's...[Details]
-
All relevant units:
In accordance with the relevant requirements of the provincial and municipal electric vehicle charging infrastructure construction work, in order to further standardize the...[Details]
-
In most countries, the military is a fairly large group, and the health of soldiers is particularly important to the combat effectiveness of the army. The US Department of Defense's Advanced Resear...[Details]
-
In the project, CPLD is needed to complete part of the algorithm design. The parameters are given by AVR, so the communication between AVR and CPLD needs to be completed. Therefore, a test program is...[Details]
-
As a leading company in automotive semiconductors, Freescale and Khronos Group have jointly launched an automotive multimedia embedded microprocessor i.MX35 with an integrated OpenVG hardware acceler...[Details]
-
The clock system of STM32 can be directly summarized in a diagram (from the STM32F10X reference manual). The following is an analysis of this diagram 1. STM32 input clock source 1.1 Function of cl...[Details]
-
Summary of STM32 peripheral DMA usage: 1. Select DAM mode according to your needs: (1) Circular mode—DMA_Mode = DMA_Mode_Circular (2) Normal mode—DMA_Mode = DMA_Mode_Normal 2. For Chanel3 of DMA1, t...[Details]
-
T1 or T2 are two timers/counters of MCS-51 microcontroller. The first method can use two timers/counters to generate rectangular waves. In order to save interface resources, the second method is used...[Details]
-
unsigned char num,i,j; unsigned char passwordtemp ; //Maximum input is 16 unsigned char inputtimes; //Number of incorrect password inputs unsigned char passwordlength...[Details]
-
/*---------------------------------------------------------------------- TMOD (89H) T1 T0 GATE C/T` M1 M0 GATE C/T` M1 M0 -----------------------...[Details]
-
MCU Programming: Find the average value of 8 unsigned numbers. There are 8 unsigned numbers stored in 8 units of the internal RAM starting at 20H. It is required to save their average value in R2. ;-...[Details]
-
Please help me analyze the clock cycles occupied by the following delay program. Seek to explain: DELAY: MOV R6, #13 DELAY1: MOV R5, #250 DELAY2: NOP DJNZ R5, DELAY2 DJNZ R6, DEL...[Details]
-
In the 51 single-chip microcomputer's on-chip data memory units 20H and 21H, the data 9 and 2 are stored respectively. Write a program to calculate the difference and product between the two. The d...[Details]
-
#include "MSP430x24x.h" void main(void) { // Stop watchdog timer to prevent time out reset WDTCTL = WDTPW + WDTHOLD; //Watchdog P4DIR = BIT0|BIT1|BIT2|BIT3; //Set to outpu...[Details]
-
/********************************************************************** ** ** File : EEPROM.c | Eeprom write and read | ...[Details]