Account
ArmsysApi 0.12.18 |
BInterrupt Class Reference
#include <BInterrupt.h>
Public Types | |
enum | { PriorityBase = 5, PriorityRtosMax = 10 } |
Public Member Functions | |
BInterrupt () | |
BError | init () |
Initialise the interrupts. More... | |
void | config (BUInt channel, BUInt8 priority, Bool on) |
Configure an interrupt. More... | |
void | extConfig (Pin pin, Bool event, Bool rising, Bool falling, Bool on) |
Configure external interrupt. More... | |
void | setPriority (BUInt channel, BUInt8 priority) |
Sets an interrupt's priority. More... | |
Bool | enable (BUInt channel, Bool on) |
Enable/disable the intterupt. More... | |
void | print () |
Print out enabled interrupts with priorities. More... | |
Member Enumeration Documentation
◆ anonymous enum
Constructor & Destructor Documentation
◆ BInterrupt()
BInterrupt::BInterrupt | ( | ) |
Member Function Documentation
◆ config()
◆ enable()
◆ extConfig()
Configure external interrupt.
◆ init()
BError BInterrupt::init | ( | ) |
Initialise the interrupts.
◆ print()
void BInterrupt::print | ( | ) |
Print out enabled interrupts with priorities.
◆ setPriority()
The documentation for this class was generated from the following files:
Generated by 1.8.15