NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HostPit Class Reference

Program the PIT with a given frequency. More...

Inheritance diagram for HostPit:
StaticReceiver< HostPit > Device

Public Member Functions

bool receive (MessageIrq &msg)
 HostPit (DBus< MessageHwIOOut > &bus_hwioout, DBus< MessageTimeout > &bus_timeout, Clock *clock, unsigned period, unsigned iobase, unsigned irq)
- Public Member Functions inherited from StaticReceiver< HostPit >
 StaticReceiver ()
- Public Member Functions inherited from Device
void debug_dump ()
 Device (const char *debug_name)

Private Attributes

DBus< MessageTimeout > & _bus_timeout
Clock_clock
unsigned _period
unsigned _iobase
unsigned _irq

Static Private Attributes

static const unsigned long long FREQ = 1193180

Additional Inherited Members

- Static Public Member Functions inherited from StaticReceiver< HostPit >
static bool receive_static (Device *o, M &msg)

Detailed Description

Program the PIT with a given frequency.

State: stable

Constructor & Destructor Documentation

HostPit::HostPit ( DBus< MessageHwIOOut > &  bus_hwioout,
DBus< MessageTimeout > &  bus_timeout,
Clock clock,
unsigned  period,
unsigned  iobase,
unsigned  irq 
)
inline

Member Function Documentation

bool HostPit::receive ( MessageIrq msg)
inline

Member Data Documentation

DBus<MessageTimeout>& HostPit::_bus_timeout
private
Clock* HostPit::_clock
private
unsigned HostPit::_iobase
private
unsigned HostPit::_irq
private
unsigned HostPit::_period
private
const unsigned long long HostPit::FREQ = 1193180
staticprivate

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