|
PebbleOS
|
Interrupt controller driver operations, called with interrupts locked. More...
#include <intc.h>
Data Fields | |
| int(* | configure )(const struct pbl_intc *intc, uint32_t hwirq, uint32_t type) |
| Set the trigger type of a disabled line. | |
| int(* | enable )(const struct pbl_intc *intc, uint32_t hwirq) |
| Unmask a line. | |
| int(* | disable )(const struct pbl_intc *intc, uint32_t hwirq) |
| Mask a line. | |
Interrupt controller driver operations, called with interrupts locked.
| int(* pbl_intc_ops::configure) (const struct pbl_intc *intc, uint32_t hwirq, uint32_t type) |
Set the trigger type of a disabled line.
Returns 0, -ENOTSUP or a negative errno.
| int(* pbl_intc_ops::disable) (const struct pbl_intc *intc, uint32_t hwirq) |
Mask a line.
Returns 0 or a negative errno.
| int(* pbl_intc_ops::enable) (const struct pbl_intc *intc, uint32_t hwirq) |
Unmask a line.
Returns 0 or a negative errno.