-
For 80,000
ZTE
(000063.SZ) employees and more Chinese ICT (information and communication technology) industry practitioners, the news from across the ocean on the evening of April 16 kept t...[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]
-
In the actual project development process, we often need to get the running time of a section of code. The usual method is to use an oscilloscope to measure it. This blog post will use SysTick to acc...[Details]
-
Since the first draft of the 5G
NR standard was officially launched at
the end of 2017
, the
5G
commercialization process has taken a substantial step forward. From that moment on, mo...[Details]
-
Timing and protocol are two key points in digital system debugging, and they are also where logic analyzers can play their most valuable role. How can we use a logic analyzer to quickly complete wiri...[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]
-
According to MEMS Consulting, single-chip radar system-on-chip (SoC) is becoming one of the most popular new sensors . Its widespread adoption in automobiles has greatly increased sales, thereby pr...[Details]
-
STM32F103 has dual DAC channels, using DMA to achieve 2 waveform outputs #include "stm32f10x.h" //DAC1,2 initialization void dac_init(void) { RCC- APB2ENR |= RCC_APB2ENR_IOPAEN; //Tu...[Details]
-
Note: This STM32 microcontroller is the STM32F103 series. The ADC of Stm32 has DMA function. This is beyond doubt and is what we use most! However, if we want to sample a signal (such as a pulse sign...[Details]
-
/* Unfortunately, it cannot generate a standard 38kHz frequency square wave, there is a little error*/ #include reg51.h #define uchar unsigned char #define uint unsigned int sbit Waveout=P1^0; //P...[Details]
-
As shown in the figure, the circuit is required to count and display the number of times the button is pressed. When the button is pressed once, the count value increases by 1 (it is required to accu...[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]
-
Take serial port interrupt as an example: like: void serial() interrupt 4 { } and void serial_uart() interrupt 4 { } The functions of both functions are to define the serial port interrupt function. ...[Details]
-
#include #include "DS1302.h" #include void ds1302_init(void) { PORTX=0x00; DDRX=0x07; } void write_ds1302_byte(unsigned char dat) { unsigned char i; for(i=0;i 8;i++) { ...[Details]
-
In the first quarter of 2014, Inspur's
server
shipment market share reached 19%, ranking first in China and fifth in the global market. This is the first time a Chinese manufacturer has ach...[Details]