-
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]
-
CMSIS Driver has similar API functions and similar calling methods. It is a further encapsulation based on the ST HAL library. It is much more convenient and simpler to use and configure than the ST ...[Details]
-
├── STM32_USB_Device_Library USB从设备库 │ │ ├── Class │ │ │ └── hid │ │ │ ├── inc │ │ │ │ └── usbd_hid_core.h │ │ │ └── src │ ...[Details]
-
The adoption rate of serverless
cloud
computing
is gradually increasing, but it has not yet reached people's expectations. Various surveys show that serverless
is
still
an eme...[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]
-
Notes on inverter installation and maintenance:
1. Before installation, you should first check whether the inverter is damaged during transportation.
2. When selecting an installa...[Details]
-
The pins of stm32 have two uses: GPIO (general purpose io) and AFIO (alternate function io) For some pins (depending on the chip), neither of these two uses exists. For example, in 64-pin products, O...[Details]
-
I have encountered many problems when tinkering with LD driver recently. I will record them one by one below. Otherwise, who will remember who in five hundred years? 1. Configuration issues of multi-...[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]
-
//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]
-
Each I/O port of the AVR microcontroller corresponds to three registers: DDRx, PORTx and PINx, where DDRx is the data direction, i.e. input or output; PORTx is the state of the internal pull-up r...[Details]
-
MSP 430 MCU 18B20 Thermometer #include "msp430x22x4.h" typedef unsigned char uchar; typedef unsigned int uint; #define DQ1 P2OUT |= BIT4 #define DQ0 P2OUT &= ~BIT4 #define DQ_in P2DIR &= ~BIT4...[Details]
-
The basic command syntax of EMC is actually only 57/58. How to change it depends on your practice. However, it is always easy for novices to fall into some misunderstandings, and some of the techni...[Details]
-
; /* = ... ; | ; | ;I. LCD scanning principle: | ;Forward scanning: COM on=V CC ,COM off=1/2VCC, corresponding to SEG=1, it outputs VSS, and 0, it outputs VCC. | ;Reverse scanning: COM on=VSS,COM of...[Details]