General Description .............................................................................................................................................5
Timer0 Module and TMR0 Register...................................................................................................................27
7.0
Special Features of the CPU .............................................................................................................................31
8.0
Instruction Set Summary ...................................................................................................................................43
9.0
Development Support ........................................................................................................................................55
21.0 Packaging Information .....................................................................................................................................195
Index .........................................................................................................................................................................209
On-Line Support ..........................................................................................................................................................211
PIC16C54/55/56/57 Product Identification System .....................................................................................................214
To Our Valued Customers
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please check 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 may exist for current devices, describing minor operational differences (from the data sheet) and recommended
workarounds. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revi-
sion 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: (602) 786-7277
When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include lit-
erature number) you are using.
Corrections to this Data Sheet
We constantly strive to improve the quality of all our products and documentation. We have spent a great deal of time to ensure
that this document is correct. However, we realize that we may have missed a few things. If you find any information that is missing
or appears in error, please:
• Fill out and mail in the reader response form in the back of this data sheet.
• E-mail us at webmaster@microchip.com.
We appreciate your assistance in making this a better document.
[i=s]This post was last edited by jameswangsynnex on 2015-3-3 20:03[/i] [align=center][align=center][b]Static protection of digital products[/b][b][/b][/align][/align]As the size of various ICs become...
When talking about Chinese chips, Ni Guangnan is indispensable. Let’s learn more about the relevant content with the embedded editor.
Since he co-founded Lenovo in 1985, Ni Guangnan has been s...[Details]
Profit growth of 85% in 2017, target revenue of 12.5 billion yuan in 2018: The company released its 2017 annual report, achieving revenue of 8.886 billion yuan, a year-on-year increase of 48.01%; prof...[Details]
1. Problem When developing STM32 with IAR, I found that I could not print floating point numbers by redirecting printf to the serial port. The code is as follows: The output is as follows: It can...[Details]
What is SYSTICK: This is a 24-bit system tick timer, SysTick, with automatic reload and overflow interrupt functions. All microcontrollers based on the Cortex_M3 processor can obtain a certain time ...[Details]
The adoption of vehicle tracking systems for cars and fleets is increasing. Modern trackers have reduced form factors and increased functionality to support active data transmission for real-time tra...[Details]
The ZTE incident has aroused people's concerns about the future of Chinese chips, and they have been using WeChat and Weibo to express their views; the Chinese display industry is also worried abou...[Details]
Independent watchdog (IWDG) and low power mode are often used in STM32 development. The watchdog is to detect and solve faults caused by software errors, and the low power mode is to enter sleep mode...[Details]
The analog watchdog of the ADC is used to check if the voltage is out of bounds. It has two upper and lower bounds, which can be set in the registers ADC_HTR and ADC_LTR respectively. The library fun...[Details]
I encountered a problem when debugging the STM32 system clock setting: TIM2 timing 1Ms, TIM2 interrupt service function time++, LED state changes when time=100. After the program runs, I found that t...[Details]
The following is a 16-way multi-channel ADC acquisition circuit diagram and source program made using the STM32 microcontroller. It uses a USB interface to connect to the computer, which is actually ...[Details]
T1 or T2 are two timers/counters of MCS-51 microcontroller. The first method can use two timers/counters to generate rectangular waves. In order to save interface resources, the second method is used...[Details]
/*----------------------------------------------- Name: IIC protocol PCF8591 AD/DA conversion Content: Use DA input, digital tube display output digital quantity, LED display analog voltage size ...[Details]
Microcontroller programming: Find the maximum number and store it in the BIG unit. Assume that the internal RAM stores a group of unsigned numbers starting from the LIST unit, with the number of data...[Details]
MCS-51 single-chip microcomputer, a simple assembly language program, calculates the function value of a piecewise function. It is known that there is a variable X in the 25H unit. It is required to ...[Details]
Circuit: Using AT89S52 single chip microcomputer. P3.0 to P3.3 are connected to four external buttons. P3.4 to P3.7 are the bit selection ports for controlling the four digital tubes, and P1 is the s...[Details]