simulavr  1.1.0
HWPcir Class Reference

This class is never used. More...

#include <hwpinchange.h>

Inheritance diagram for HWPcir:

Public Member Functions

 HWPcir (AvrDevice *avr, HWIrqSystem &irqSystem, unsigned vector0=~0, unsigned vector1=~0, unsigned vector2=~0, unsigned vector3=~0, unsigned vector4=~0, unsigned vector5=~0, unsigned vector6=~0, unsigned vector7=~0) throw ()
 
bool getPcifr (unsigned pcifrBit) throw ()
 
void setPcifr (unsigned pcifrBit) throw ()
 
void setPcifrMask (unsigned char val) throw ()
 
unsigned char getPcifrMask () throw ()
 
void setPcicrMask (unsigned char val) throw ()
 
unsigned char getPcicrMask () throw ()
 
- Public Member Functions inherited from HWPcifrApi
virtual ~HWPcifrApi ()
 
- Public Member Functions inherited from Hardware
 Hardware (AvrDevice *core)
 
virtual ~Hardware ()
 
virtual unsigned int CpuCycle (void)
 
virtual bool IsLevelInterrupt (unsigned int vector)
 
virtual bool LevelInterruptPending (unsigned int vector)
 

Public Attributes

IOReg< HWPcirpcicr_reg
 
IOReg< HWPcirpcifr_reg
 

Private Member Functions

unsigned convertBitToVector (unsigned bit) const throw ()
 
void Reset ()
 
void ClearIrqFlag (unsigned int vector)
 

Private Attributes

unsigned char _pcifr
 
unsigned char _pcicr
 
HWIrqSystem_irqSystem
 
const unsigned _vector0
 
const unsigned _vector1
 
const unsigned _vector2
 
const unsigned _vector3
 
const unsigned _vector4
 
const unsigned _vector5
 
const unsigned _vector6
 
const unsigned _vector7
 

Detailed Description

This class is never used.

Definition at line 52 of file hwpinchange.h.

Constructor & Destructor Documentation

◆ HWPcir()

HWPcir::HWPcir ( AvrDevice avr,
HWIrqSystem irqSystem,
unsigned  vector0 = ~0,
unsigned  vector1 = ~0,
unsigned  vector2 = ~0,
unsigned  vector3 = ~0,
unsigned  vector4 = ~0,
unsigned  vector5 = ~0,
unsigned  vector6 = ~0,
unsigned  vector7 = ~0 
)
throw (
)

Definition at line 8 of file hwpinchange.cpp.

Member Function Documentation

◆ ClearIrqFlag()

void HWPcir::ClearIrqFlag ( unsigned int  vector)
privatevirtual

This signals the hardware that the given IRQ vector has been handled by the AVR core.

Reimplemented from Hardware.

Definition at line 162 of file hwpinchange.cpp.

◆ convertBitToVector()

unsigned HWPcir::convertBitToVector ( unsigned  bit) const
throw (
)
private

Definition at line 44 of file hwpinchange.cpp.

◆ getPcicrMask()

unsigned char HWPcir::getPcicrMask ( )
throw (
)
virtual

Implements HWPcirMaskApi.

Definition at line 152 of file hwpinchange.cpp.

◆ getPcifr()

bool HWPcir::getPcifr ( unsigned  pcifrBit)
throw (
)
virtual

Implements HWPcifrApi.

Definition at line 40 of file hwpinchange.cpp.

◆ getPcifrMask()

unsigned char HWPcir::getPcifrMask ( )
throw (
)
virtual

Implements HWPcirMaskApi.

Definition at line 122 of file hwpinchange.cpp.

◆ Reset()

void HWPcir::Reset ( void  )
privatevirtual

Implement the hardware's reset functionality here. The default is no action on reset.

Reimplemented from Hardware.

Definition at line 157 of file hwpinchange.cpp.

◆ setPcicrMask()

void HWPcir::setPcicrMask ( unsigned char  val)
throw (
)
virtual

Implements HWPcirMaskApi.

Definition at line 126 of file hwpinchange.cpp.

◆ setPcifr()

void HWPcir::setPcifr ( unsigned  pcifrBit)
throw (
)
virtual

Implements HWPcifrApi.

Definition at line 78 of file hwpinchange.cpp.

◆ setPcifrMask()

void HWPcir::setPcifrMask ( unsigned char  val)
throw (
)
virtual

Implements HWPcirMaskApi.

Definition at line 98 of file hwpinchange.cpp.

Member Data Documentation

◆ _irqSystem

HWIrqSystem& HWPcir::_irqSystem
private

Definition at line 56 of file hwpinchange.h.

◆ _pcicr

unsigned char HWPcir::_pcicr
private

Definition at line 55 of file hwpinchange.h.

◆ _pcifr

unsigned char HWPcir::_pcifr
private

Definition at line 54 of file hwpinchange.h.

◆ _vector0

const unsigned HWPcir::_vector0
private

Definition at line 58 of file hwpinchange.h.

◆ _vector1

const unsigned HWPcir::_vector1
private

Definition at line 59 of file hwpinchange.h.

◆ _vector2

const unsigned HWPcir::_vector2
private

Definition at line 60 of file hwpinchange.h.

◆ _vector3

const unsigned HWPcir::_vector3
private

Definition at line 61 of file hwpinchange.h.

◆ _vector4

const unsigned HWPcir::_vector4
private

Definition at line 62 of file hwpinchange.h.

◆ _vector5

const unsigned HWPcir::_vector5
private

Definition at line 63 of file hwpinchange.h.

◆ _vector6

const unsigned HWPcir::_vector6
private

Definition at line 64 of file hwpinchange.h.

◆ _vector7

const unsigned HWPcir::_vector7
private

Definition at line 65 of file hwpinchange.h.

◆ pcicr_reg

IOReg<HWPcir> HWPcir::pcicr_reg

Definition at line 98 of file hwpinchange.h.

◆ pcifr_reg

IOReg<HWPcir> HWPcir::pcifr_reg

Definition at line 98 of file hwpinchange.h.


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