2017-06-04 01:22:16 +00:00
|
|
|
//
|
|
|
|
// TestMachine.h
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 03/06/2017.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2017 Thomas Harte. All rights reserved.
|
2017-06-04 01:22:16 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
@class CSTestMachine;
|
|
|
|
|
|
|
|
@protocol CSTestMachineTrapHandler
|
|
|
|
- (void)testMachine:(nonnull CSTestMachine *)testMachine didTrapAtAddress:(uint16_t)address;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface CSTestMachine : NSObject
|
|
|
|
|
|
|
|
@property(nonatomic, weak, nullable) id<CSTestMachineTrapHandler> trapHandler;
|
|
|
|
- (void)addTrapAddress:(uint16_t)trapAddress;
|
|
|
|
|
|
|
|
@end
|