Datasheet

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