sim_device.h File Reference

yasimavr: sim_device.h File Reference
yasimavr
Loading...
Searching...
No Matches
sim_device.h File Reference
#include "sim_core.h"
#include "sim_cycle_timer.h"
#include "sim_peripheral.h"
#include "sim_logger.h"
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  Device
 Basic AVR device model. More...
 

Macros

#define CRASH_PC_OVERFLOW   0x01
 
#define CRASH_SP_OVERFLOW   0x02
 
#define CRASH_BAD_CPU_IO   0x03
 
#define CRASH_BAD_CTL_IO   0x04
 
#define CRASH_INVALID_OPCODE   0x05
 
#define CRASH_INVALID_CONFIG   0x06
 
#define CRASH_FLASH_ADDR_OVERFLOW   0x07
 
#define CRASH_ACCESS_REFUSED   0x08
 

Macro Definition Documentation

◆ CRASH_ACCESS_REFUSED

#define CRASH_ACCESS_REFUSED   0x08

◆ CRASH_BAD_CPU_IO

#define CRASH_BAD_CPU_IO   0x03

◆ CRASH_BAD_CTL_IO

#define CRASH_BAD_CTL_IO   0x04

◆ CRASH_FLASH_ADDR_OVERFLOW

#define CRASH_FLASH_ADDR_OVERFLOW   0x07

◆ CRASH_INVALID_CONFIG

#define CRASH_INVALID_CONFIG   0x06

◆ CRASH_INVALID_OPCODE

#define CRASH_INVALID_OPCODE   0x05

◆ CRASH_PC_OVERFLOW

#define CRASH_PC_OVERFLOW   0x01

◆ CRASH_SP_OVERFLOW

#define CRASH_SP_OVERFLOW   0x02