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.
Previous article:Basic operation symbols of single chip C language
Next article:N76E003 Introduction and Development Data Acquisition
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- 【GD32E503 Review】+ SX1278 Module Transplantation
- Audio preamplifier circuit gain setting problem?
- Will setting a port pin to open drain affect its input?
- 【GD32F307E-START】+Implementation of voice recognition
- [RVB2601 Creative Application Development] Device access to Alibaba Cloud
- The amount of compiled code is the same with or without constant arrays
- 5G in 60: An introduction to 5G
- BLDC motor current abnormality problem
- Battery system state of charge calculation algorithm problem
- I'm a newbie in your place, please take care of me, thank you!