AVRCpp::GlobalInterrupts Namespace Reference

Enabling and disabling global interrupts. More...


Namespaces

namespace  Internal
 Only for library's internal use.

Functions

void Enable ()
void Disable ()
uint8_t IsEnabled ()
void WaitForInterrupt ()


Detailed Description

Enabling and disabling global interrupts.

Function Documentation

void AVRCpp::GlobalInterrupts::Disable (  )  [inline]

Definition at line 119 of file Interrupt.h.

00119 { Assembler::CLI(); }

void AVRCpp::GlobalInterrupts::Enable (  )  [inline]

Definition at line 118 of file Interrupt.h.

00118 { Assembler::SEI(); }

uint8_t AVRCpp::GlobalInterrupts::IsEnabled (  )  [inline]

Definition at line 120 of file Interrupt.h.

00120 { return IsBitsSet<_SREG>(_SREG_I); }

void AVRCpp::GlobalInterrupts::WaitForInterrupt (  )  [inline]

Definition at line 121 of file Interrupt.h.

00121 { Assembler::SLEEP(); }


Generated on Sat Sep 15 23:40:17 2007 for AVR C++ Lib for AT90USB1287 by  doxygen 1.5.2
SourceForge.net Logo MTÜ TTÜ Robotiklubi