-
unsigned char key,key_h,kpush;
unsigned int key_l;
//The key is connected to p1.0, p1.1, p1.2
void int_t0(void) interrupt 1 {
unsigned char dd,i;
TL0=TL0+30;TH0=0xfb; //800
/* Key identi...[Details]
-
What is addressing: the method of addressing the address of the operand specified in the processor instruction system; or the method by which the operand is found; Instructions and instruction format...[Details]
-
Cx51 process control has three basic structures: sequence structure, selection structure and loop structure. 1. Sequential structure The sequential structure is the most basic and simple programmin...[Details]
-
(Assembly) instructions are mnemonics for CPU machine instructions. After compilation, they will produce a string of machine codes consisting of 0011, which can be read and executed by the CPU. (As...[Details]
-
1. The Origin of MMU Many years ago, when people were still using DOS or older operating systems, computer memory was very small, generally calculated in K units. Correspondingly, the program siz...[Details]
-
I believe that most of the students who learn ARM have learned 51 first. If you use a compilation environment like Keil, you may find that the Keil development environment of 51 in school is n...[Details]
-
introduction
With the gradual improvement of the intelligence level of substations, there is an increasing demand for the collection of field status parameters such as temperature and humidi...[Details]
-
In the previous section, the author introduced how to use Visual Studio to edit ARM Template. But at some point, Visual Studio is too large to install. This chapter will introduce you to using VS...[Details]
-
Hardware equipment: Network card: dm9000 NandFlash: K9F1208U0C 64M 1. Download and decompress the kernel, modify the compiler options of the top-level Makefile: ARCH ?= arm CROSS_COMPILE ?= arm-soft...[Details]
-
Usually AVR chips include flash, eeprom, fuse, lockbits, user signature and other non-volatile contents that need to be burned into the chip during programming. Among them, the fuse part can only be ...[Details]
-
uIP is mainly designed for 8-bit and 16-bit systems. The program was written with porting in mind. The main files of uIP include uip.c and uip_arp.c. (1) The basic process of porting. Cha...[Details]
-
With the progress of modern science and technology, new and higher requirements are being put forward for the quality of power supply. For example, mobile phone base stations, precision instruments...[Details]
-
In previous development, we had to use two USB host ports on the 2440, one for the camera and one for the wireless network card. However, the Friendly Arm mini2440 board only has one USB host port. We...[Details]
-
#include "Stdio.h"
#include "Conio.h"
int main(void)
{
int nums ; /*The larger the nums array is and the longer it is, the larger the factorial can be calculated, but changing the a...[Details]
-
Because the compiled UBOOT written to FLASH always failed to run several times before. So what should I do? After thinking for a long time and checking the source code, I still didn't find the prob...[Details]