Nugget
Bare-metal libraries and examples for the original PlayStation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
psyqo::Hardware::CPU::IRQReg< offset > Struct Template Reference

#include <psyqo/hardware/cpu.hh>

Inheritance diagram for psyqo::Hardware::CPU::IRQReg< offset >:
Inheritance graph
[legend]
Collaboration diagram for psyqo::Hardware::CPU::IRQReg< offset >:
Collaboration graph
[legend]

Public Member Functions

void set (IRQ irq)
 
void clear (IRQ irq)
 
void clear ()
 
bool isSet (IRQ irq) const
 
- Public Member Functions inherited from psyqo::Hardware::Register< offset, T, writeQueue, Access >
void throwAway () const
 
 operator T () const
 
T operator= (T value) const
 
T operator|= (T value) const
 
T operator&= (T value) const
 
T operator^= (T value) const
 
T operator++ () const
 
T operator++ (int) const
 
T operator-- () const
 
T operator-- (int) const
 
T operator+= (T value) const
 
T operator-= (T value) const
 
T operator*= (T value) const
 
T operator/= (T value) const
 
T operator%= (T value) const
 
T operator<<= (T value) const
 
T operator>>= (T value) const
 
T operator+ (T value) const
 
T operator- (T value) const
 
T operator* (T value) const
 
T operator/ (T value) const
 
T operator% (T value) const
 
T operator<< (T value) const
 
T operator>> (T value) const
 
T operator& (T value) const
 
T operator| (T value) const
 
T operator^ (T value) const
 
T operator~ () const
 
T operator! () const
 
T operator&& (T value) const
 
T operator|| (T value) const
 
bool operator== (T value) const
 
bool operator!= (T value) const
 
bool operator< (T value) const
 
bool operator> (T value) const
 
bool operator<= (T value) const
 
bool operator>= (T value) const
 
T operator[] (int index) const
 
volatile T & access (int index=0) const
 

Additional Inherited Members

- Static Public Attributes inherited from psyqo::Hardware::Register< offset, T, writeQueue, Access >
static constexpr uint32_t BaseAddress = writeQueue == WriteQueue::Use ? 0x1f801000 : 0xbf801000
 

Member Function Documentation

◆ clear() [1/2]

template<uint32_t offset>
void psyqo::Hardware::CPU::IRQReg< offset >::clear ( )
inline

◆ clear() [2/2]

template<uint32_t offset>
void psyqo::Hardware::CPU::IRQReg< offset >::clear ( IRQ  irq)
inline

◆ isSet()

template<uint32_t offset>
bool psyqo::Hardware::CPU::IRQReg< offset >::isSet ( IRQ  irq) const
inline

◆ set()

template<uint32_t offset>
void psyqo::Hardware::CPU::IRQReg< offset >::set ( IRQ  irq)
inline

The documentation for this struct was generated from the following file: