PIC16F1827-E/P Microchip Technology Inc., PIC16F1827-E/P Datasheet - Page 106

no-image

PIC16F1827-E/P

Manufacturer Part Number
PIC16F1827-E/P
Description
7 KB Flash, 384 bytes RAM, 32 MHz Int. Osc, 16 I/0, Enhanced Mid Range Core
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F1827-E/P

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
8 MIPS
Eeprom Memory
256 Bytes
Input Output
16
Interface
CAN/I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin PDIP
Programmable Memory
7K Bytes
Ram Size
384 Bytes
Speed
32 MHz
Timers
4-8-bit, 1-16-bit
Voltage, Range
1.8-5.5 V
Standby Current (pic16lf182x)
30 nA @ 1.8 V, Typical
PIC16(L)F1826/27
EXAMPLE 11-3:
DS41391D-page 106
* This code block will read 1 word of program
* memory at the memory address:
*
*
PROG_ADDR_HI : PROG_ADDR_LO
data will be returned in the variables;
PROG_DATA_HI, PROG_DATA_LO
BANKSEL
MOVLW
MOVWF
MOVLW
MOVWL
BCF
BSF
BCF
BSF
NOP
NOP
BSF
MOVF
MOVWF
MOVF
MOVWF
EEADRL
PROG_ADDR_LO
EEADRL
PROG_ADDR_HI
EEADRH
EECON1,CFGS
EECON1,EEPGD
INTCON,GIE
EECON1,RD
INTCON,GIE
EEDATL,W
PROG_DATA_LO
EEDATH,W
PROG_DATA_HI
FLASH PROGRAM MEMORY READ
; Select Bank for EEPROM registers
;
; Store LSB of address
;
; Store MSB of address
; Do not select Configuration Space
; Select Program Memory
; Disable interrupts
; Initiate read
; Ignored
; Ignored
; Restore interrupts
; Get LSB of word
; Store in user location
; Get MSB of word
; Store in user location
(Figure
(Figure
11-1)
11-1)
 2011 Microchip Technology Inc.

Related parts for PIC16F1827-E/P