1 Working mode 0 When
the timer / counter T0 works in mode 0, only 13 bits of the 16-bit counter are used, namely the upper 8 bits of TH0 and the lower 5 bits of TL0, forming a 13-bit timer /counter.
1) Working in timing mode
2) Working in counting mode
2 Working mode 1
Timer T0 Working mode 1 is similar to working mode 0, the difference lies in the number of bits of the counter. Working mode 0 uses a 13-bit counter to participate in counting, while working mode 1 uses a 16-bit counter to participate in counting.
1) Working in timing mode
2) Working in counting mode
Working mode 1 is a 16-bit counter. This is the only difference between working mode 1 and working mode 0 in counting mode.
3 Working mode 2
When the timer T0 is in working mode 2, the 16-bit counter is divided into two independent 8-bit counters TH0 and TL0.
1) Working in timing mode
2) Working in counting mode
The difference between working mode 2 and working mode 0 and mode 1 is that working mode 2 is an 8-bit counter.
4 Working mode 3
Working mode 3 is only valid for timer T0. When timer T0 works in mode 3, the 16-bit counter is divided into two independent 8-bit counters TH0 and TL0.
When timer T0 works in mode 3, timer T1 can only work in modes 0 to 2 and work in situations where interrupts are not required.
Previous article:51 MCU timer/counter structure and mode control register TMOD
Next article:Using the P1 port of 89C51 microcontroller to control 8 LED programming
- 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
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- High-end DEBUG often only requires the simplest testing methods
- Why are the calculation results of Matlab and the microcontroller so different?
- Can you guys help me see if this is reasonable? I have checked and there is no problem, but I am still asking.
- How to use thermistor and 8051 single chip and LCD to display temperature detection. Please answer
- Studying the Road to Electric Motor Drive-8: Decomposition and Synthesis of Vectors
- Open source robot dual motor sensorless FOC drive reference design based on STM32F303
- Application of electromagnetic functional composite materials in radar antenna covers
- Noise Countermeasures Using Capacitors
- I have a few questions about the WM8978 audio amplifier board.
- Guess what development board this is?