1 #ifndef AVR_HARDWAREFACTORY_H
2 #define AVR_HARDWAREFACTORY_H
8 class HardwareSettings
;
10 class HardwareFactory
{
12 static Hardware
*build(const char *name
,
13 HardwareSettings
& hws
, Bus
& bus
);
16 static Hardware
*buildEeprom(HardwareSettings
& hws
, Bus
& bus
);
17 static Hardware
*buildPort(HardwareSettings
& hws
, Bus
& bus
);
18 static Hardware
*buildTimer8(HardwareSettings
& hws
, Bus
& bus
);
19 static Hardware
*buildTimer16(HardwareSettings
& hws
, Bus
& bus
);
20 static Hardware
*buildTimerIrq(HardwareSettings
& hws
, Bus
& bus
);
25 #endif /*AVR_HARDWAREFACTORY_H*/