SwigDirector_Hardware Class Reference

#include <pysimulavr_wrap.h>

Inheritance diagram for SwigDirector_Hardware:
Inheritance graph
[legend]
Collaboration diagram for SwigDirector_Hardware:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SwigDirector_Hardware (PyObject *self, AvrDevice *core)
virtual ~SwigDirector_Hardware ()
virtual unsigned int CpuCycle ()
virtual void Reset ()
virtual void ClearIrqFlag (unsigned int vector)
virtual bool IsLevelInterrupt (unsigned int vector)
virtual bool LevelInterruptPending (unsigned int vector)
bool swig_get_inner (const char *name) const
void swig_set_inner (const char *name, bool val) const

Private Attributes

std::map< std::string, bool > inner

Detailed Description

Definition at line 63 of file pysimulavr_wrap.h.


Constructor & Destructor Documentation

SwigDirector_Hardware::SwigDirector_Hardware ( PyObject *  self,
AvrDevice core 
)
virtual SwigDirector_Hardware::~SwigDirector_Hardware (  )  [virtual]

Member Function Documentation

virtual void SwigDirector_Hardware::ClearIrqFlag ( unsigned int  vector  )  [virtual]

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

Reimplemented from Hardware.

virtual unsigned int SwigDirector_Hardware::CpuCycle ( void   )  [virtual]

Called for each AVR cycle when this hardware has registered itself as a receiver for AVR clocks. Returns nonzero if instructions should not be executed (e.g. a Flash write is in progress).

Reimplemented from Hardware.

virtual bool SwigDirector_Hardware::IsLevelInterrupt ( unsigned int  vector  )  [virtual]

Does the hardware have a level interrupt (triggered otherwise, the default!)

Reimplemented from Hardware.

virtual bool SwigDirector_Hardware::LevelInterruptPending ( unsigned int  vector  )  [virtual]

Check a level interrupt on the time, where interrupt routine will be called

Reimplemented from Hardware.

virtual void SwigDirector_Hardware::Reset ( void   )  [virtual]

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

Reimplemented from Hardware.

bool SwigDirector_Hardware::swig_get_inner ( const char *  name  )  const [inline]

Definition at line 77 of file pysimulavr_wrap.h.

References inner.

void SwigDirector_Hardware::swig_set_inner ( const char *  name,
bool  val 
) const [inline]

Definition at line 82 of file pysimulavr_wrap.h.

References inner.


Member Data Documentation

std::map<std::string, bool> SwigDirector_Hardware::inner [mutable, private]

Definition at line 86 of file pysimulavr_wrap.h.

Referenced by swig_get_inner(), and swig_set_inner().


The documentation for this class was generated from the following file:
Generated on Sun Feb 12 16:53:07 2012 for Simulavr by  doxygen 1.6.3