General Description............................................................................................................................................... 4
I/O Port ................................................................................................................................................................ 21
Timer0 Module and TMR0 Register .................................................................................................................... 25
Special Features of the CPU ............................................................................................................................... 35
Instruction Set Summary ..................................................................................................................................... 47
Development Support.......................................................................................................................................... 59
Index ........................................................................................................................................................................... 105
PIC12C5XX Product Identification System ................................................................................................................ 109
Sales and Support: ..................................................................................................................................................... 109
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
10.0
11.0
12.0
13.0
To Our Valued Customers
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 doc-
ument DS30000.
Errata
An errata sheet may exist for current devices, describing minor operational differences (from the data sheet) and rec-
ommended workarounds. 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: (602) 786-7277
When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet
(include literature 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.
The SMS sending and receiving module is controlled by a single chip microcomputer. The function only requires sending and receiving Chinese and English SMS. Thank you...
[color=#000]Recently, I wanted to play with the TI original launchpad [/color][font=normal 宋体, Arial, Helvetica, sans-serif][color=#000000][size=12px]msp430FR5969[/size][/color][/font][color=#000] tha...
[font=新宋体][size=3] [/size][/font] [font=新宋体][size=3]SensorTile can be directly connected to the USB cable, and then the Blue-MS software can be opened on the mobile phone to use it directly. After reg...
After discussing with friends who signed up to participate in the volunteer work, the following groups have been determined: News, Publicity, Technical Basics, Intermediate Technology, Advanced Techno...
I found a NEC V850ES (UPD70F3716) MCU control SD project file, but when I open the project with MDK, I can only see the project file. Other main, .h, and .c files are not displayed. The folder contain...
2018 Shanghai International Automotive Electronics Exhibition / 2018 China International Car Audio Exhibition / 2018 Shanghai Car Navigation Exhibition / 2018 China GPS Positioning Navigation System E...
Assume that data is read from 8-bit AD (if it is a higher-bit AD, the data type can be defined as int), the subroutine is get_ad();
1. Limited secondary filtering
/* A value can be adjust...[Details]
Sailing is gaining more and more attention. How to use modern technology to assist training and improve competition results is particularly important. Considering the real-time data collection in t...[Details]
introduction
my country has a vast territory and a large population. The scale of housing construction is huge, and the amount of residential construction is large and wide. It is still on t...[Details]
1 Introduction
A wide variety of communication cables and control cables are widely used in various instruments and control equipment. Whether the cable is well-conducted and
whether
th...[Details]
Floating-point digital signal processing has become a constant requirement for precision technology, often in applications requiring high accuracy in areas such as aviation, industrial machinery, a...[Details]
1 Introduction
Solar street lights are mainly composed of four parts: solar photovoltaic cell components, batteries, charge and discharge controllers, and lighting fixtures. The bo...[Details]
This paper designs a dot matrix LED text display screen that is easy to update, expandable, and low-cost. The way to reduce costs is
① Use the Bluetooth data transmission function of mobile ph...[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]
Battery life is critical for portable applications. For applications such as smoke detectors, security devices, and thermostats, factory-installed batteries need to last for more than 10 years. The...[Details]
Editor's note: In order to help technicians or engineers who have knowledge of PIC microcontroller assembly language quickly master the method of using C language to program PIC microcontrollers, t...[Details]
1. With the development of modern industry and the continuous improvement of automation, some medium and large control systems have been greatly facilitated, which not only makes control easier, bu...[Details]
MediaTek (2454) announced the acquisition of F-MStar (3697) and attracted the attention of IC design industry. This morning, Gartner Semiconductor Industry Research Director Hong Cenwei analyzed ...[Details]
PV inverter manufacturer SMA has launched its first DC arc fault circuit interrupter (AFCI) PV inverter and has received UL certification.
The new SunnyBoy AFCI inverter models include 3000-US...[Details]
The potentiometer is an adjustable electronic component. The main functions of the potentiometer in the circuit are as follows:
1. Used as a voltage divider
A potentiometer is a continuou...[Details]
Overview
In spectral measurement, photomultiplier tubes (PMT) and charge-coupled devices (CCD) are often used as photoelectric converters. PMT is used in slow-changing, high-precision spectral...[Details]