PIC16LF76-I/SP Microchip Technology, PIC16LF76-I/SP Datasheet - Page 4

IC PIC MCU FLASH 8KX14 28DIP

PIC16LF76-I/SP

Manufacturer Part Number
PIC16LF76-I/SP
Description
IC PIC MCU FLASH 8KX14 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16LF76-I/SP

Core Size
8-Bit
Program Memory Size
14KB (8K x 14)
Oscillator Type
External
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Type
FLASH
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 5x8b
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC16LF
No. Of I/o's
22
Ram Memory Size
368Byte
Cpu Speed
20MHz
No. Of Timers
3
No. Of Pwm
RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
PIC16LF76I/SP

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16LF76-I/SP
Manufacturer:
Microchip Technology
Quantity:
135
TIMER1 MODULE
EXAMPLE 1:
EXAMPLE 2:
EXAMPLE 3:
DS80233C-page 4
Note:
ISR @ 0x004
RELOAD
EXIT
ISR @ 0x0008
HIGHINT
ISR @ 0x0018
RELOAD
EXIT
MOVWF
MOVF
MOVWF
BANKSEL PIR
BTFSS
GOTO
BSF
MOVF
MOVWF
SWAPF
SWAPF
RETFIE
BRA
BTFSC
BSF
RETFIE FAST
MOVFF
MOVFF
MOVFF
BTFSS
BRA
BSF
MOVFF
MOVFF
MOVFF
RETFIE
These instructions are required based on the function of the ISR. If the only code in the ISR is to reload
Timer1, then they are not required, but may be required if additional code is added.
HIGHINT
PIR,TMRIF
TMR1H,7
STATUS,STATUS_TEMP
WREG,WREG_TEMP
BSR,BSR_TEMP
PIR,TMRIF
EXIT
TMR1H,7
BSR_TEMP,BSR
WREG_TEMP,WREG
STATUS_TEMP,STATUS
PIC12/PIC14/PIC16 INTERRUPT SERVICE ROUTINE
w_temp
STATUS,w
status_temp
PIR,TMRIF
EXIT
TMR1H,7
status_temp,w
STATUS
w_temp,f
w_temp,w
PIC18 HIGH PRIORITY INTERRUPT SERVICE ROUTINE
PIC18 LOW PRIORITY INTERRUPT SERVICE ROUTINE
; (3-4Tcy), fixed interrupt latency
; (1Tcy), save off current W register contents
; (1Tcy), move status register into W register
; (1Tcy), save off contents of STATUS register
; (2Tcy), choose correct SFR bank
; (2Tcy), did a Timer1 overflow occur?
; No
; (1Tcy) Yes, reload for a 1 second overflow
; retrieve copy of STATUS register
; restore pre-isr STATUS register contents
; restore pre-isr W register contents
Total = 11-12 T
; (3-4Tcy), fixed interrupt latency
; (2Tcy), go to high priority interrupt routine
; (1Tcy), did a Timer1 overflow occur?
; (1Tcy) Yes, reload for a 1 second overflow
Total = 7-8 T
; (3-4Tcy), fixed interrupt latency
; (2Tcy), save STATUS register
; (2Tcy), save working register, refer to note 1
; (2Tcy), save BSR register, refer to note 1
; (2Tcy), did a Timer1 overflow occur?
; No
; (1Tcy) Yes, reload for a 1 second overflow
;restore BSR register, refer to note 1
;restore working register, refer to note 1
;restore STATUS register
Total = 12-13 T
CY
CY
CY
(if Timer1 overflow occurred)
(if Timer1 overflow occurred)
(if Timer1 overflow occurred)
© 2007 Microchip Technology Inc.

Related parts for PIC16LF76-I/SP