pic32mx320f064h Microchip Technology Inc., pic32mx320f064h Datasheet - Page 200

no-image

pic32mx320f064h

Manufacturer Part Number
pic32mx320f064h
Description
64/100-pin General Purpose, 32-bit Flash Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
pic32mx320f064h-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-40I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
pic32mx320f064h-40V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-80I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-80V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064hT-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC32MX FAMILY
9.7
The interrupt controller supports five external interrupt-
request signals (INT4-INT0). These inputs are edge
sensitive; they require a low-to-high or a high-to-low
transition to create an interrupt request. The INTCON
register has five bits that select the polarity of the edge
detection circuitry: INT4EP (INTCON<4>), INT3EP
(INTCON<3>),
(INTCON<1>) and INT0EP (INTCON<0>).
EXAMPLE 9-11:
DS61143A-page 198
Note:
must be set up for either multi or single vector interrupts to handle external interrupts
/*
The following code example will set INT3 to trigger on a high to low transition edge. The CPU
*/
IEC0CLR = 0x00008000;
INTCONCLR = 0x00000008;
IFS0CLR = 0x00008000;
IEC0SET = 0x00008000;
External Interrupts
Changing the external interrupt polarity
may trigger an interrupt request. It is rec-
ommended that before changing the
polarity, the user disables that interrupt,
changes the polarity, clears the interrupt
flag and re-enables the interrupt.
INT2EP
SETTING EXTERNAL INTERRUPT POLARITY
(INTCON<2>),
Advance Information
INT1EP
// disable INT3
// clear the bit for falling edge trigger
// clear the interrupt flag
// enable INT3
© 2007 Microchip Technology Inc.

Related parts for pic32mx320f064h