openMSX
Protected Member Functions | List of all members
openmsx::IRQSource Class Reference

Helper class for doing interrupt request (IRQ) administration. More...

#include <IRQHelper.hh>

Inheritance diagram for openmsx::IRQSource:
Inheritance graph
[legend]

Protected Member Functions

 IRQSource (MSXCPU &cpu)
 
void raise ()
 
void lower ()
 

Detailed Description

Helper class for doing interrupt request (IRQ) administration.

IRQ is either enabled or disabled; when enabled it contributes one to the CPU IRQ count, when disabled zero. Calling set() in enabled state does nothing; neither does calling reset() in disabled state.

Definition at line 22 of file IRQHelper.hh.

Constructor & Destructor Documentation

◆ IRQSource()

openmsx::IRQSource::IRQSource ( MSXCPU cpu)
explicitprotected

Definition at line 12 of file IRQHelper.cc.

Member Function Documentation

◆ lower()

void openmsx::IRQSource::lower ( )
protected

Definition at line 22 of file IRQHelper.cc.

References openmsx::MSXCPU::lowerIRQ().

◆ raise()

void openmsx::IRQSource::raise ( )
protected

Definition at line 17 of file IRQHelper.cc.

References openmsx::MSXCPU::raiseIRQ().


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