-
LPC2478 external interrupt The external interrupt model of 2478 is as follows That is to say, port 0 and 2 support external interrupts, EINT0-2 are interrupts for three independent pins, and EINT...[Details]
-
The buzzer is a hardware device on the S3C6410 development board. You can control the buzzer to make a scream by writing a specific value to the register.
(1) The prerequisite is that the CDT ...[Details]
-
In the previous section, we talked about how to implement the tasklet mechanism
http://blog.csdn.NET/morixinguan/article/details/69666935
In this section, we will implement th...[Details]
-
environment: Host: WIN8 Development environment: MDK4.72 ucgui version: 3.90 ucos version: ucos-ii mcu: stm32f103VE illustrate: In this example, task2 requests a memory partition, writes data to th...[Details]
-
LED dot matrix (8*8) LED dot matrix is a display device composed of an arrangement of light-emitting diodes. It can be seen everywhere in our daily electrical appliances and is widely used in car s...[Details]
-
In order to drive the ARF2496K chip and do the porting on STM32, the first step to solve is the timing problem. Obviously, the delay method similar to 51 is not applicable under STM32, so it is natur...[Details]
-
#include pic.h __CONFIG(0x1832); //Chip configuration word, watchdog off, power-on delay on, power-off detection off, low voltage programming off, encryption, 4M crystal HS oscillation #defi...[Details]
-
introduction A/D converters are often used in the design of intelligent instruments. Among the commonly used A/D converters, 7135 is the most widely used. It has 41/2-bit A/D conversion accuracy, str...[Details]
-
Data transfer instructions Data transfer is the most basic operation of the microcontroller. The general function of data transfer is to transfer the source operand to the destination operand specifi...[Details]
-
Execute the command "make menuconfig" in the kernel directory, as shown in the figure below: The kernel configuration interface will be opened, as shown in the figure belo...[Details]
-
1. Introduction to IAP
IAP is the abbreviation of "in applicatin programming", which means that the MCU can get new code in the system and reprogram itself, that is, change the application. It is...[Details]
-
With the development of information technology and the deepening reform of medical and health care, the implementation of the National Golden Health Project has greatly accelerated the process of...[Details]
-
ANL A,Rn; A and the value in Rn are bitwise ANDed, and the result is sent to A ANL A,direct; A and the value in direct are bitwise ANDed, and the result is sent to A ANL A,@Ri; A is bitwise ANDed wit...[Details]
-
1. Function: Used to jump between programs; 2. Examples typedef void(*pFunction)(void); u32 JumpAddress; pFunction Jump_To_Application; void GotoAPPMain(void) { JumpAddress = *(__IO uint32_t*) (...[Details]
-
Program 1: TIM2 output comparison, generating a square wave with a frequency of 366.2Hz
#include "stm32f10x.h"
void RCC_configuration(void)
{
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA | RC...[Details]