PIC16F684 Registers

From Mech
Revision as of 17:29, 10 July 2006 by Stephens (talk | contribs) (→‎I/O)
Jump to navigationJump to search

This page is a more detailed overview of the registers. It includes the most commonly used registers. All remaining information can be found on the Microchip website.

Memory Map

These images show the memory map of the PIC16F684. Use these for a quick reference for register addresses and initial values.

Registers in Memory Bank 0

PIC registers bank0.png

Registers in Memory Bank 1

PIC registers bank1.png

Register Descriptions

Configuration

STATUS

PIC register STATUS.png

OPTION

PIC register OPTION.png

INTCON

PIC register INTCON.png

PIE1

The PIE1 is used to enable/disable interrupts.

PIC register PIE1.png

I/O

PORTA

PIC register PORTA.png

TRISA

PIC register TRISA.png

ANSEL

The ANSEL register determines whether a pin, AN<7:0>, is an analog input or not.

PIC register ANSEL.png

IOCA

The IOCA register determines whether or not an interrupt is generated when a digital pin on PORTA, RA<5:0>, experiences a change in value.

PIC register IOCA.png

PORTC

PIC register PORTC.png

TRISC

PIC register TRISC.png