PIC12F508/509/16F505
INDEX
MPLAB ICE 4000 High-Performance Universal
A
In-Circuit Emulator...................................................... 65
MPLAB Integrated Development Environment Software.... 63
MPLAB PM3 Device Programmer ...................................... 65
MPLINK Object Linker/MPLIB Object Librarian.................. 64
ALU .......................................................................................9
Assembler
MPASM Assembler.....................................................64
B
O
Block Diagram
Option Register................................................................... 22
OSC selection..................................................................... 39
OSCCAL Register............................................................... 24
Oscillator Configurations..................................................... 41
Oscillator Types
On-Chip Reset Circuit .................................................47
Timer0.........................................................................33
TMR0/WDT Prescaler.................................................37
Watchdog Timer..........................................................50
Brown-Out Protection Circuit...............................................51
HS............................................................................... 41
LP ............................................................................... 41
RC .............................................................................. 41
XT ............................................................................... 41
C
C Compilers
MPLAB C18 ................................................................64
MPLAB C30 ................................................................64
Carry .....................................................................................9
Clocking Scheme ................................................................14
Code Protection ............................................................ 39, 52
Configuration Bits................................................................39
Configuration Word .............................................................40
Customer Change Notification Service ...............................93
Customer Notification Service.............................................93
Customer Support...............................................................93
P
PIC12F508/509/16F505 Device Varieties ............................ 7
PICSTART Plus Development Programmer....................... 66
POR
Device Reset Timer (DRT) ................................... 39, 49
PD............................................................................... 51
Power-on Reset (POR)............................................... 39
TO............................................................................... 51
PORTB ............................................................................... 29
Power-down Mode.............................................................. 52
Prescaler............................................................................. 36
Program Counter ................................................................ 25
D
DC and AC Characteristics .................................................79
Development Support .........................................................63
Digit Carry .............................................................................9
Q
Q cycles.............................................................................. 14
E
Errata ....................................................................................3
R
RC Oscillator....................................................................... 42
Reader Response............................................................... 94
Read-Modify-Write.............................................................. 31
Register File Map
F
Family of Devices
PIC12F508/509/PIC16F505..........................................5
FSR.....................................................................................26
PIC12F508 ................................................................. 17
PIC12F509 ................................................................. 17
PIC16F505 ................................................................. 17
Registers
Special Function ......................................................... 18
Reset .................................................................................. 39
Reset on Brown-Out ........................................................... 51
I
I/O Interfacing......................................................................29
I/O Ports..............................................................................29
I/O Programming Considerations........................................31
ID Locations ..................................................................39, 52
INDF....................................................................................26
Indirect Data Addressing.....................................................26
Instruction Cycle..................................................................14
Instruction Flow/Pipelining ..................................................14
Instruction Set Summary.....................................................56
Internet Address..................................................................93
S
Sleep............................................................................. 39, 52
Software Simulator (MPLAB SIM) ...................................... 64
Special Features of the CPU .............................................. 39
Special Function Registers................................................. 18
Stack................................................................................... 25
Status Register ............................................................... 9, 20
L
Loading of PC .....................................................................25
T
M
Timer0
Memory Organization..........................................................15
Data Memory ..............................................................16
Program Memory (PIC12F508/509)............................15
Program Memory (PIC16F505)...................................16
Microchip Internet Web Site................................................93
MPLAB ASM30 Assembler, Linker, Librarian .....................64
MPLAB ICD 2 In-Circuit Debugger......................................65
MPLAB ICE 2000 High-Performance Universal
Timer0 ........................................................................ 33
Timer0 (TMR0) Module............................................... 33
TMR0 with External Clock .......................................... 35
Timing Diagrams and Specifications .................................. 73
Timing Parameter Symbology and Load Conditions .......... 73
TRIS Registers ................................................................... 29
In-Circuit Emulator ......................................................65
DS41236C-page 92
Preliminary
© 2007 Microchip Technology Inc.