ArmSys Support
ArmsysApi  0.12.18

#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

anonymous enum
Enumerator
PriorityBase 
PriorityRtosMax 

Constructor & Destructor Documentation

◆ BInterrupt()

BInterrupt::BInterrupt ( )

Member Function Documentation

◆ config()

void BInterrupt::config ( BUInt  channel,
BUInt8  priority,
Bool  on 
)

Configure an interrupt.

◆ enable()

Bool BInterrupt::enable ( BUInt  channel,
Bool  on 
)

Enable/disable the intterupt.

◆ extConfig()

void BInterrupt::extConfig ( Pin  pin,
Bool  event,
Bool  rising,
Bool  falling,
Bool  on 
)

Configure external interrupt.

◆ init()

BError BInterrupt::init ( )

Initialise the interrupts.

◆ print()

void BInterrupt::print ( )

Print out enabled interrupts with priorities.

◆ setPriority()

void BInterrupt::setPriority ( BUInt  channel,
BUInt8  priority 
)

Sets an interrupt's priority.


The documentation for this class was generated from the following files: