External Interrupts Pins

From AVR Wiki
(Redirected from PCINTx)
Jump to: navigation, search

For how to use these pins, see External Interrupts. For physical locations of these pins for a given chip, please see Pin Configurations.

[edit] INTx

INT0
INT1

[edit] PCINTx

From avr/iom329p.h:

See PCMSK0

#define PCMSK0 _SFR_MEM8(0x6B)
#define PCINT0 0
#define PCINT1 1
#define PCINT2 2
#define PCINT3 3
#define PCINT4 4
#define PCINT5 5
#define PCINT6 6
#define PCINT7 7

See PCMSK1

#define PCMSK1 _SFR_MEM8(0x6C)
#define PCINT8 0
#define PCINT9 1
#define PCINT10 2
#define PCINT11 3
#define PCINT12 4
#define PCINT13 5
#define PCINT14 6

See PCMSK2

#define PCMSK2 _SFR_MEM8(0x6D)
#define PCINT16 0
#define PCINT17 1
#define PCINT18 2
#define PCINT19 3
#define PCINT20 4
#define PCINT21 5
#define PCINT22 6
#define PCINT23 7

[edit] See Also

External Interrupts Registers

External Interrupts Pins

External Interrupts Vectors

Interrupts