#include <pysimulavr_wrap.h>
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 |
Definition at line 63 of file pysimulavr_wrap.h.
SwigDirector_Hardware::SwigDirector_Hardware | ( | PyObject * | self, | |
AvrDevice * | core | |||
) |
virtual SwigDirector_Hardware::~SwigDirector_Hardware | ( | ) | [virtual] |
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.
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().