Datasheet

2004 Microchip Technology Inc. Preliminary DS41236A-page 91
PIC12F508/509/16F505
INDEX
A
ALU.......................................................................................9
Assembler
MPASM Assembler.....................................................63
B
Block Diagram
On-Chip Reset Circuit.................................................47
Timer0.........................................................................33
TMR0/WDT Prescaler.................................................37
Watchdog Timer.......................................................... 50
Brown-Out Protection Circuit .............................................. 51
C
C Compilers
MPLAB C17 ................................................................64
MPLAB C18 ................................................................64
MPLAB C30 ................................................................64
Carry .....................................................................................9
Clocking Scheme................................................................ 14
Code Protection ............................................................39, 52
Configuration Bits................................................................ 39
Configuration Word.............................................................40
D
DC and AC Characteristics ................................................. 81
Demonstration Boards
PICDEM 1...................................................................66
PICDEM 17.................................................................66
PICDEM 18R PIC18C601/801....................................67
PICDEM 2 Plus...........................................................66
PICDEM 3 PIC16C92X............................................... 66
PICDEM 4...................................................................66
PICDEM LIN PIC16C43X ...........................................67
PICDEM USB PIC16C7X5.......................................... 67
PICDEM.net Internet/Ethernet ....................................66
Development Support .........................................................63
Digit Carry.............................................................................9
E
Errata ....................................................................................3
Evaluation and Programming Tools....................................67
F
Family of Devices
PIC16F505....................................................................5
FSR..................................................................................... 26
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
L
Loading of PC .....................................................................25
M
Memory Organization.......................................................... 15
Data Memory.............................................................. 16
Program Memory (PIC12F508/509) ........................... 15
Program Memory (PIC16F505) .................................. 16
MPLAB ASM30 Assembler, Linker, Librarian..................... 64
MPLAB ICD 2 In-Circuit Debugger ..................................... 65
MPLAB ICE 2000 High Performance Universal
In-Circuit Emulator..................................................... 65
MPLAB ICE 4000 High Performance Universal
In-Circuit Emulator..................................................... 65
MPLAB Integrated Development Environment Software.... 63
MPLINK Object Linker/MPLIB Object Librarian.................. 64
O
Option Register................................................................... 22
OSC selection..................................................................... 39
OSCCAL Register............................................................... 24
Oscillator Configurations..................................................... 41
Oscillator Types
HS............................................................................... 41
LP ............................................................................... 41
RC .............................................................................. 41
XT............................................................................... 41
P
PIC12F508/509/16F505 Device Varieties ............................ 7
PICkit 1 FLASH Starter Kit.................................................. 67
PICSTART Plus Development Programmer....................... 65
POR
Device Reset Timer (DRT) ................................... 39, 49
PD
............................................................................... 51
Power-on Reset (POR)............................................... 39
TO
............................................................................... 51
PORTB ............................................................................... 29
Power-down Mode.............................................................. 52
Prescaler ............................................................................ 36
PRO MATE II Universal Device Programmer..................... 65
Program Counter ................................................................ 25
Q
Q cycles.............................................................................. 14
R
RC Oscillator....................................................................... 42
Read-Modify-Write.............................................................. 31
Register File Map
PIC12F508 ................................................................. 17
PIC12F509 ................................................................. 17
PIC16F505 ................................................................. 17
Registers
Special Function......................................................... 18
Reset .................................................................................. 39
Reset on Brown-Out........................................................... 51
S
Sleep ............................................................................ 39, 52
Software Simulator (MPLAB SIM) ...................................... 64
Software Simulator (MPLAB SIM30) .................................. 64
Special Features of the CPU .............................................. 39
Special Function Registers................................................. 18
Stack................................................................................... 25
Status Register............................................................... 9, 20