21 lines
443 B
C
21 lines
443 B
C
#ifndef HW_SC14450_H
|
|
#define HW_SC14450_H
|
|
|
|
#include "target/cr16c/cpu.h"
|
|
#include "qom/object.h"
|
|
#include "hw/sysbus.h"
|
|
|
|
#define TYPE_SC14450_MCU "SC14450"
|
|
#define TYPE_SC14450S_MCU "SC14450S"
|
|
|
|
typedef struct SC14450McuState SC14450McuState;
|
|
DECLARE_INSTANCE_CHECKER(SC14450McuState, SC14450_MCU, TYPE_SC14450_MCU)
|
|
|
|
struct SC14450McuState {
|
|
SysBusDevice parent_obj;
|
|
|
|
CR16CCPU cpu;
|
|
MemoryRegion flash;
|
|
};
|
|
|
|
#endif /* HW_SC14450_H */
|