General Description..................................................................................................................................................................... 3
I/O Port ...................................................................................................................................................................................... 19
6.0
Timer0 Module and TMR0 Register .......................................................................................................................................... 23
7.0
Special Features of the CPU..................................................................................................................................................... 27
8.0
Instruction Set Summary ........................................................................................................................................................... 39
9.0
Development Support................................................................................................................................................................ 51
11.0 DC and AC Characteristics - PIC16C505.................................................................................................................................. 69
INDEX .................................................................................................................................................................................................. 77
PIC16C505 Product Identification System ........................................................................................................................................... 81
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 liter-
ature 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.
Is there any expert in the field of carrier synchronization? ? I am currently working on MATLAB simulation of the cross-product automatic frequency control algorithm, but I don't quite understand the ...
I use HT1621 to display time, temperature, cooling/heating. The time display uses ":" to flash. Do I need to set up a corresponding RAM area in the MCU (Taiwan Elan EM78P156)? Can you provide a refere...
Of course, the semiconductor switch matrix [1] host is not the only factor that determines system throughput, nor is it necessarily the dominant factor. Since measurement time is very important when a...
My original home heater used two switches to control the large and small fires. Later, the heater stopped working. After I disassembled it, I saw that the two switches controlled the large and small f...
Could you please tell me what is the purpose of connecting a resistor and a 0.47u capacitor in series to the lower three bits of the PB port and the PC1, PC2, and PC3 ports on the demo board?...
In early 2002, I started to write a working program for an IC card prepaid electricity meter. The meter used Philips' 8-bit 51-expanded single-chip microcomputer
87LPC764
, and wa...[Details]
1 Introduction
With the acceleration of the pace of urban modernization, society has higher requirements for urban road lighting and urban lighting projects. The state has clearly required tha...[Details]
As cellular phones become more advanced, the power consumption of the system during operation and the power consumption during standby are also increasing. Therefore, the power management design of...[Details]
This week, Microsoft held its 2012 Microsoft Worldwide Partner Conference (WPC) in Toronto, Canada. At the conference, Microsoft showed its new products and services to partners around the world. A...[Details]
Printed circuit boards ( PCBs
)
are used in most electrical products
. If a PCB has low
insulation resistance
(IR), the performance of the circuits on the PCB will be greatly reduced...[Details]
The rectified DC voltage is then converted back to AC using power electronics such as insulated gate bipolar transistors.
The output voltage is switched on and off at a high frequency, control...[Details]
With the rapid development of cities and the improvement of citizens' living standards, the number of various vehicles in cities is growing, and the demand for parking spaces in major commercial an...[Details]
Electric bicycles have long been a means of transportation for lower-income groups due to their affordability. The largest concentrated expense in the use of electric vehicles is the cost of replac...[Details]
Nowadays, more and more people have digital cameras. The convenience and speed of digital cameras have gradually replaced film cameras and become the main tool for people's daily photography. The n...[Details]
With the popularity of digital appliances, rechargeable batteries can be seen everywhere in people's daily lives and have become one of the indispensable daily necessities.
This article gives ...[Details]
1 Introduction
At present, advocating health has become the focus of people's attention, and the emergence of treadmills has become more and more popular. People can exercise at home or in the ...[Details]
When developing electronic products with processors, how to improve anti-interference ability and electromagnetic compatibility?
1. The following systems should pay special attention to anti-...[Details]
Infrared remote control is widely used in home appliances, but the remote controls produced are not compatible with each other. The universal remote controls commonly seen on the market can only co...[Details]
0 Introduction
PROFIBUS is an open digital communication system with a wide range of applications, which has been included in the international standards IEC 61158 and IEC 61784. Since the gen...[Details]
1. Introduction
With the rapid development of computer technology, communication technology, and integrated circuit technology, the large-scale application of field control instruments and equ...[Details]