Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC24FJ128GA310 Datasheet(PDF) 172 Page - Microchip Technology

Part # PIC24FJ128GA310
Description  64/80/100-Pin, General Purpose, 16-Bit Flash Microcontrollers with LCD Controller and nanoWatt XLP Technology
PDF  406 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24FJ128GA310 Datasheet(HTML) 172 Page - Microchip Technology

Back Button PIC24FJ128GA310 Datasheet HTML 168Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 169Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 170Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 171Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 172Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 173Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 174Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 175Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 176Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 172 / 406 page
background image
PIC24FJ128GA310 FAMILY
DS39996F-page 172
 2010-2011 Microchip Technology Inc.
11.3
Input Change Notification
The input change notification function of the I/O ports
allows the PIC24FJ128GA310 family of devices to gen-
erate interrupt requests to the processor in response to
a Change-of-State (COS) on selected input pins. This
feature is capable of detecting input Change-of-States,
even in Sleep mode when the clocks are disabled.
Depending on the device pin count, there are up to
82 external inputs that may be selected (enabled) for
generating an interrupt request on a Change-of-State.
Registers, CNEN1 through CNEN6, contain the inter-
rupt enable control bits for each of the CN input pins.
Setting any of these bits enables a CN interrupt for the
corresponding pins.
Each CN pin has both a weak pull-up and a weak
pull-down connected to it. The pull-ups act as a current
source that is connected to the pin, while the
pull-downs act as a current sink that is connected to the
pin. These eliminate the need for external resistors
when push button or keypad devices are connected.
The pull-ups and pull-downs are separately enabled
using the CNPU1 through CNPU6 registers (for
pull-ups) and the CNPD1 through CNPD6 registers (for
pull-downs). Each CN pin has individual control bits for
its pull-up and pull-down. Setting a control bit enables
the weak pull-up or pull-down for the corresponding
pin.
When the internal pull-up is selected, the pin pulls up to
VDD – 1.1V (typical). When the internal pull-down is
selected, the pin pulls down to VSS.
EXAMPLE 11-1:
PORT WRITE/READ IN ASSEMBLY
EXAMPLE 11-2:
PORT WRITE/READ IN ‘C’
Note:
Pull-ups on change notification pins
should always be disabled whenever the
port pin is configured as a digital output.
MOV
0xFF00, W0
; Configure PORTB<15:8> as inputs
MOV
W0, TRISB
; and PORTB<7:0> as outputs
NOP
; Delay 1 cycle
BTSS
PORTB, #13
; Next Instruction
TRISB = 0xFF00;
// Configure PORTB<15:8> as inputs and PORTB<7:0> as outputs
Nop();
// Delay 1 cycle
If (PORTBbits.RB13){ };
// Next Instruction



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