-
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]
-
I recently upgraded MDK to V5.25 and found that there are many libraries in the Managing Run-Time Environment. Compared with the past, it is much better, from the bottom-level driver to the upper-le...[Details]
-
The photovoltaic inverter is the core equipment of the photovoltaic system. Its main function is to convert the direct current generated by the photovoltaic modules into alternating current that meets...[Details]
-
ADC Introduction: ADC (Analog-to-Digital Converter). That is, converting analog signals into digital signals for processing. When storing or transmitting, analog-to-digital converters are almost ...[Details]
-
The photovoltaic industry has become a new business card for China to the world. It not only represents China's leading technology, but also constantly breaks various records with its development spee...[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]
-
The circuit shown in the figure requires that the light is off when the machine is turned on. Press the button once, and the light D1 will turn on and automatically turn off after a delay of 10 secon...[Details]
-
/****************************************************************** ** ** File : DExternInterrupt.c | Interrupt | ...[Details]
-
/************************************************************************************* * main.c: the main file * NXP -- LPC1768 * * * Author : light ...[Details]
-
The following comes from - "cortex-M3 Definitive Guide" Special function register group: Program Status Registers (PSRs or xPSRs) Interrupt mask register group (PRIMASK, FAULTMASK, and BASEPRI) ...[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]
-
Today, the country attaches great importance to the Internet of Things, and the Internet of Everything has become the vision of all people in related industries. However, at the same time, masterin...[Details]
-
With the development of electronic devices, more and more people pay attention to flexible electronic devices, which refer to electronic devices that can still work under certain deformation condit...[Details]
-
The watchdog timer is a counter whose basic function is to restart the system after a software problem or program runaway occurs. The watchdog counter counts automatically when it is working normally...[Details]
-
MSP430 ADC10 single channel multiple conversions #include "msp430x22x4.h" #define uchar unsigned char #define uint unsigned int #define LCDen 0X80; //The upper three bits of P3 are used as cont...[Details]