Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to select external interrupt pin in a program?

Status
Not open for further replies.

narithota

Full Member level 1
Joined
Apr 21, 2006
Messages
95
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
2,077
External

Hi l

Iam using external interrupts in my program.
There are two pins for external interrupts P3.3 and P3.2.

How to select these pins in the program. I want only one pin for interrupt.

In the IE interrupt enable register they not mentioned how to select the pins.

He mentioned how to select the external interrupt.

I want use P3.3 as a general-purpose pin and P3.2 as external interrupt pin.

There is no control word for selection of pins.


Regards

Thota
 

Re: External

Use EX0 and EX1 bits in IE register.

EX0=1 ;external interrupt 0
EX1=1 ;external interrupt 1

Regards
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top