#include <hwsreg.h>
Public Member Functions | |
RWSreg (TraceValueRegister *registry, HWSreg *s) | |
void | trigger_change (void) |
reflect a change, which comes from CPU core | |
Protected Member Functions | |
unsigned char | get () const |
void | set (unsigned char) |
Protected Attributes | |
HWSreg * | status |
SREG - ALU status register in IO space
Definition at line 65 of file hwsreg.h.
RWSreg::RWSreg | ( | TraceValueRegister * | registry, | |
HWSreg * | s | |||
) | [inline] |
unsigned char RWSreg::get | ( | ) | const [protected, virtual] |
This function as the oppposite to get() is expected to read the real byte.
Implements RWMemoryMember.
Definition at line 77 of file hwsreg.cpp.
References status.
void RWSreg::set | ( | unsigned | nv | ) | [protected, virtual] |
This function is the function which will be called by the above access operators and is expected to do the real work when writing a byte.
Implements RWMemoryMember.
Definition at line 81 of file hwsreg.cpp.
References status.
void RWSreg::trigger_change | ( | void | ) | [inline] |
reflect a change, which comes from CPU core
Definition at line 70 of file hwsreg.h.
References TraceValue::change(), status, and RWMemoryMember::tv.
Referenced by AvrDevice::Step().
HWSreg* RWSreg::status [protected] |
Definition at line 73 of file hwsreg.h.
Referenced by get(), set(), and trigger_change().