MCU resource knowledge

Publisher:DreamBig123Latest update time:2022-08-10 Source: csdnKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Working power supply


Program space (FLASH / ROM): used to store the code program of the microcontroller 1K = 1024 bytes


SRAM: Used to store variables in the microcontroller program code.


EEPROM: It has a power-off saving function, similar to the memory function, to prevent data loss due to power off in product design.


IO: Input and output ports of the microcontroller. External interface resources.


Timer: Has precise timing function. Example: electronic clock -> timer 


Serial port: The serial port is an important standard interface for communication between the microcontroller and external devices.


                        The serial port can also realize the communication between chips. WIFI/Bluetooth/4G are all serial ports.


ADC: This function is integrated in slightly higher-end microcontrollers (the higher the number of bits, the higher the accuracy, 8 bits, 10 bits, etc.)


                        Convert the actual analog voltage into digital representation


                        Application: Battery level


                        The ordinary IO of the microcontroller can only recognize high and low levels, while the IO port with ADC function can recognize the voltage of an analog quantity and convert the power supply into digital to represent different input voltages.


DAC: Outputs an analog voltage through the port.  


                        Ordinary IO ports can only output high and low levels, while DAC can output an analog voltage (an arbitrary voltage between 0-VCC)


SPI: A standard communication interface. Generally used to implement communication between chips. 


IIC: Same as above


Watchdog: Protects the program. It is used to prevent the code program from freezing or abnormal operation. Important


What is a Register?

A register is actually a hardware of the microcontroller, used to store binary data and commands.


The microcontroller executes code based on registers.


We can use programs to read and write register data.


According to different functions, registers can be divided into two categories: basic registers and shift registers. Basic registers can only input data in parallel and can only output data in parallel. The data in the shift register can be shifted right or left bit by bit under the action of the shift pulse. The data can be input and output in parallel, input and output in series, input and output in parallel, or input and output in series and output in parallel. It is very flexible and has a wide range of uses.


Keywords:MCU Reference address:MCU resource knowledge

Previous article:Basic operation symbols of single chip C language
Next article:N76E003 Introduction and Development Data Acquisition

Latest Microcontroller Articles
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
    Since development under LINUX is still quite troublesome, is there a more convenient and simple development method under WINDOWS? The answer is yes. Of course, it is not a development tool like ADS, because it ...
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
  • Learn ARM development(18)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号