From: matt <[email protected]> Reply-To: <[email protected]> Date: Monday, February 17, 2014 at 10:13 AM To: <[email protected]> Subject: [beagleboard] Re: Reference for Enabling GPIO Interrupt
> Hi again, > > To be more focused, I learned that for setting an interrupt you need to simply > set a priority if desired, and necessarily clear the desired INTC_MIRn bit. > > However, when the Interrupt is generated, how do I define the Interrupt > Handler Routine where I'd write the desired interrupt processing - e.g. turn > on a LED when an interrupt is generated? > > I mean, how do you know how to name the Interrupt Handler's function? Hi Matt, I would suggest you to undertake some Linux Kernel training. Free Electrons have some excellent training available and this one is what you need. http://free-electrons.com/doc/training/linux-kernel/ Regards, John > > Thank you. > > On Monday, February 17, 2014 10:32:05 AM UTC+2, matt wrote: >> Hi, >> >> I'm trying to work with Interrupts, firstly on GPIO. >> >> Is there a reference code for enabling and working with interrupts on the >> AM335X? (BBB) >> >> Thank you. >> > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
