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.

[SOLVED] AVR ATXMEGA128A4U Interrupt

Status
Not open for further replies.

STSCBE

Member level 2
Joined
Jul 9, 2016
Messages
43
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
360
Hi all,
I need register selection and configurations for Enable the interrupt service routine in AVR atxmega128a4u controller
Ex. USART Receiver.

Thanks
 

Hi,

I recommend to open the datasheet with a pdf viewer.
Then use the search function and search for "interrupt enable" or similar phrases.

Klaus
 

In atxmega you must enable interrupt controller with required interrupt levels (priority) in PMIC.CTRL. Then enable appropriate interrupt in peripheral control register (for USART that would be USARTxn.CTRLA). And finally enable interrupts with "sei" command.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top