interrupts
- From: CptDondo <yan@xxxxxxxxxxxxxxxx>
- Date: Thu, 01 Dec 2005 12:30:05 -0800
I have the following bit of code on an embedded platform, and I am trying to figure out what all these defines mean....
I am pretty sure they pertain to interrupt operations, but I have not worked with interrupts before so I am not sure of the particulars.
Each register contains 8 bits, one for each of 8 GPIO lines, so toggling one bit should enable/disable or do something else with interrupts for that GPIO line.
// No idea what type 1 and 2 do.... Something to do with edge and high?
#define GPIO_B_TYPE1 ((volatile uint32_t *)(gpio_ptr + 0x00AC)) #define GPIO_B_TYPE2 ((volatile uint32_t *)(gpio_ptr + 0x00B0))
// end of interrupt? How would this be used?
#define GPIO_B_EOI ((volatile uint32_t *)(gpio_ptr + 0x00B4))
// Interrupt enable?
#define GPIO_B_INTENB ((volatile uint32_t *)(gpio_ptr + 0x00B8))
// ???? No idea.
#define GPIO_B_INTSTS ((volatile uint32_t *)(gpio_ptr + 0x00BC))
I am open to guesses, comments, suggestions, or just plain humor.... .
- Follow-Ups:
- Re: interrupts
- From: Josef Moellers
- Re: interrupts
- From: Kasper Dupont
- Re: interrupts
- Prev by Date: Re: Inter-process Pthread Mutex?
- Next by Date: Re: Interrupt context...
- Previous by thread: Interrupt context...
- Next by thread: Re: interrupts
- Index(es):
Relevant Pages
|