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

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 23 of file IRQHelper.hh.

Constructor & Destructor Documentation

◆ IRQSource()

openmsx::IRQSource::IRQSource ( MSXCPU cpu)

Definition at line 12 of file

Member Function Documentation

◆ lower()

void openmsx::IRQSource::lower ( )

Definition at line 22 of file

References openmsx::MSXCPU::lowerIRQ().

◆ raise()

void openmsx::IRQSource::raise ( )

Definition at line 17 of file

References openmsx::MSXCPU::raiseIRQ().

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