gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
RealViewCtrl::Device Class Referenceabstract

#include <rv_ctrl.hh>

Inheritance diagram for RealViewCtrl::Device:
RealViewOsc RealViewTemperatureSensor

Public Member Functions

 Device (RealViewCtrl &parent, DeviceFunc func, uint8_t site, uint8_t pos, uint8_t dcc, uint16_t dev)
 
virtual ~Device ()
 
virtual uint32_t read () const =0
 
virtual void write (uint32_t value)=0
 

Detailed Description

Definition at line 71 of file rv_ctrl.hh.

Constructor & Destructor Documentation

RealViewCtrl::Device::Device ( RealViewCtrl parent,
DeviceFunc  func,
uint8_t  site,
uint8_t  pos,
uint8_t  dcc,
uint16_t  dev 
)
inline

Definition at line 74 of file rv_ctrl.hh.

References RealViewCtrl::registerDevice().

virtual RealViewCtrl::Device::~Device ( )
inlinevirtual

Definition at line 80 of file rv_ctrl.hh.

Member Function Documentation

virtual uint32_t RealViewCtrl::Device::read ( ) const
pure virtual

Implemented in RealViewTemperatureSensor, and RealViewOsc.

Referenced by RealViewCtrl::write().

virtual void RealViewCtrl::Device::write ( uint32_t  value)
pure virtual

Implemented in RealViewTemperatureSensor, and RealViewOsc.

Referenced by RealViewCtrl::write().


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

Generated on Fri Jun 9 2017 13:04:17 for gem5 by doxygen 1.8.6