1.0 General Description...................................................................................................................................................................... 5
8.0 Timer0 Module and TMR0 Register ........................................................................................................................................... 37
9.0 Special Features of the CPU...................................................................................................................................................... 43
10.0 Instruction Set Summary ............................................................................................................................................................ 49
11.0 Development Support................................................................................................................................................................. 61
Product Identification System ............................................................................................................................................................ 191
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced.
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at
docerrors@mail.microchip.com
or fax the
Reader Response Form
in the back of this data sheet to (480) 792-4150.
We welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000A is version A of document DS30000).
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; http://www.microchip.com
• Your local Microchip sales office (see last page)
• The Microchip Corporate Literature Center; U.S. FAX: (480) 792-7277
When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include liter-
ature number) you are using.
Customer Notification System
Register on our web site at
www.microchip.com/cn
to receive the most current information on all of our products.
I now master C, C++, VHDL languages, and am familiar with MFC. I am also familiar with hardware, and have a basic understanding of 51 and AVR. By the way, I also have a certain understanding of operat...
I used tim2 to make a key scan program, but the whole program did not respond when the interrupt was turned on. void TIM2_configuration(void) { TIM2_DeInit();//TIM2 initialization TIM2_TimeBaseInit(TI...
[align=left][color=#000][b]By Upal Sengupta[/b][b], Senior Applications Engineer[/b][i]Texas Instruments Battery Management Solutions[/i][/color][/align][align=left][color=#000]For most of my career i...
Hardware designers have begun to adopt FPGA technology in high-performance DSP designs because it can provide 10-100 times faster computing than PC-based or microcontroller-based solutions. Previou...[Details]
As LEDs continue to improve in almost every aspect of performance and cost, LED lighting is being used in an increasingly wide range of applications, among which LED street lights are a focus of in...[Details]
Continuity test
A variety of devices need to be checked for continuity, including cable assemblies, printed circuit boards, and connectors to ensure that these components have the expected contin...[Details]
D5026A is a driver IC designed by Shanghai Debei Electronics for energy-saving LED display screens. Its design concept is energy-saving and compatible with existing solutions, that is, it can be ...[Details]
In industry, voltage 0…5 (10) V or current 0 (4)…20 mA is usually used as a method for analog signal transmission, which is also a method often used by programmable controllers. So what are the dif...[Details]
Based on the actual situation, a remote intelligent anti-theft alarm device for home use, connected to the telephone line, simple to operate, and stable and reliable in operation is designed. When ...[Details]
Synchronous buck designs are becoming increasingly difficult, and the selection of suitable ICs is becoming quite narrow. This Design Idea combines a current-mode PWM IC used in a flyback regulator...[Details]
Li/SOCl2 batteries (lithium sub-cells) have the advantages of high operating voltage, stable discharge voltage, wide operating temperature range and long storage life, and have been widely used in ...[Details]
O Introduction
For people who are in the wild, a question that they are more concerned about is the altitude of the place where they are. However, there are very few such products on the mar...[Details]
Thyristor is the abbreviation of thyristor, commonly known as silicon controlled rectifier. It is a high-power switching semiconductor device, represented by the letter symbols "V" or "VT" in the c...[Details]
1 Introduction
The Global Navigation and Positioning System (GPS) has been widely used in vehicle positioning because it can provide all-weather, continuous, and real-time high-precision posit...[Details]
1. Introduction
The human balance ability is the basis for people to carry out various sports. People need balance ability to stand, sit, lie down, and walk. Once a person's balance ability is...[Details]
Most of the temperature sensors on cars are negative temperature coefficient thermistors, such as the engine's intake temperature sensor, coolant temperature sensor, oil temperature sensor, automat...[Details]
1. Project Overview:
Changan Automobile Manufacturing Plant could produce 6 types of cars, with an annual output of about 80,000 vehicles. Its assembly line was manufactured in the late 19...[Details]
Motor vehicle garage management and control system
I. Usage requirements
1. There are 70 parking spaces in the garage, and each parking space is equipped with a door at the entrance. Ther...[Details]