PebbleOS
Loading...
Searching...
No Matches
pbl_intc_ops Struct Reference

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.
 

Detailed Description

Interrupt controller driver operations, called with interrupts locked.

Field Documentation

◆ configure

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.

◆ disable

int(* pbl_intc_ops::disable) (const struct pbl_intc *intc, uint32_t hwirq)

Mask a line.

Returns 0 or a negative errno.

◆ enable

int(* pbl_intc_ops::enable) (const struct pbl_intc *intc, uint32_t hwirq)

Unmask a line.

Returns 0 or a negative errno.


The documentation for this struct was generated from the following file: