Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC16F916E/P301 Datasheet(PDF) 198 Page - Microchip Technology

Part # PIC16F916E/P301
Description  28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology
PDF  272 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F916E/P301 Datasheet(HTML) 198 Page - Microchip Technology

Back Button PIC16F916E/P301 Datasheet HTML 194Page - Microchip Technology PIC16F916E/P301 Datasheet HTML 195Page - Microchip Technology PIC16F916E/P301 Datasheet HTML 196Page - Microchip Technology PIC16F916E/P301 Datasheet HTML 197Page - Microchip Technology PIC16F916E/P301 Datasheet HTML 198Page - Microchip Technology PIC16F916E/P301 Datasheet HTML 199Page - Microchip Technology PIC16F916E/P301 Datasheet HTML 200Page - Microchip Technology PIC16F916E/P301 Datasheet HTML 201Page - Microchip Technology PIC16F916E/P301 Datasheet HTML 202Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 198 / 272 page
background image
PIC16F917/916/914/913
DS41250E-page 196
Preliminary
© 2005 Microchip Technology Inc.
16.4.1
RB0/INT/SEG0 INTERRUPT
External interrupt on RB0/INT/SEG0 pin is edge-trig-
gered; either rising if the INTEDG bit (OPTION<6>) is
set, or falling, if the INTEDG bit is clear. When a valid
edge appears on the RB0/INT/SEG0 pin, the INTF bit
(INTCON<1>) is set. This interrupt can be disabled by
clearing the INTE control bit (INTCON<4>). The INTF
bit must be cleared in software in the Interrupt Service
Routine
before
re-enabling
this
interrupt.
The
RB0/INT/SEG0 interrupt can wake-up the processor
from Sleep if the INTE bit was set prior to going into
Sleep. The status of the GIE bit decides whether or not
the processor branches to the interrupt vector following
wake-up (0004h). See Section 16.7 “Power-Down
Mode (Sleep)” for details on Sleep and Figure 16-10
for
timing
of
wake-up
from
Sleep
through
RB0/INT/SEG0 interrupt.
16.4.2
TMR0 INTERRUPT
An overflow (FFh
→ 00h) in the TMR0 register will set
the T0IF (INTCON<2>) bit. The interrupt can be
enabled/disabled
by
setting/clearing
T0IE
(INTCON<5>) bit. See Section 5.0 “Timer0 Module”
for operation of the Timer0 module.
16.4.3
PORTB INTERRUPT
An input change on PORTB change sets the RBIF
(INTCON<0>)
bit.
The
interrupt
can
be
enabled/disabled
by
setting/clearing
the
RBIE
(INTCON<3>) bit. Plus, individual pins can be config-
ured through the IOCB register.
FIGURE 16-7:
INTERRUPT LOGIC
Note:
If a change on the I/O pin should occur
when the read operation is being executed
(start of the Q2 cycle), then the RBIF
interrupt flag may not get set.
TMR1IF
TMR1IE
C1IF
C1IE
TMR0IF
TMR0IE
INTF
INTE
RBIF
RBIE
GIE
PEIE
Wake-up (If in Sleep mode)
Interrupt to CPU
PEIF
EEIE
EEIF
ADIF
ADIE
IOC-RB4
IOCB4
IOC-RB5
IOCB5
IOC-RB6
IOCB6
IOC-RB7
IOCB7
CCP2IF
CCP2IE
OSFIF
OSFIE
C2IF
C2IE
CCP1IF
CCP1IE
*
SSPIE
SSPIF
RCIF
RCIE
TXIF
TXIE
LCDIF
LCDIE
LVDIF
LVDIE
TMR2IF
TMR2IE
* Only available on the PIC16F914/917.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com