49 |
AvrClass parent; |
AvrClass parent; |
50 |
int state; /* What state is the device in */ |
int state; /* What state is the device in */ |
51 |
int sleep_mode; /* If in sleep state, what mode? */ |
int sleep_mode; /* If in sleep state, what mode? */ |
52 |
dword PC; /* Program Counter */ |
sdword PC; /* Program Counter */ |
53 |
dword PC_size; /* size of Program Counter in bytes */ |
sdword PC_size; /* size of Program Counter in bytes */ |
54 |
dword PC_max; /* maximum value PC can hold for a given device (is flash_sz/2) */ |
sdword PC_max; /* maximum value PC can hold for a given device (is flash_sz/2) */ |
55 |
SREG *sreg; /* Status Register */ |
SREG *sreg; /* Status Register */ |
56 |
GPWR *gpwr; /* General Purpose Working Registers */ |
GPWR *gpwr; /* General Purpose Working Registers */ |
57 |
Flash *flash; /* flash program memory */ |
Flash *flash; /* flash program memory */ |