Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 606 Bytes

File metadata and controls

16 lines (11 loc) · 606 Bytes

Interrupts

This driver handles registration of interrupts and generic dispatching of interrupts.

The following functions are available to the user:

Syntax Description
void interrupts_enable() Turns on interrupts (probably done by default)
void interrupts_disable() Turns off interrupts
void interrupt_attach(pin, func) Registers func to execute when there is an interrupt on pin

 

Alternative Syntax

There is an alternative syntax to interrupt_attach, please see the interrupts example for more information.