diff options
Diffstat (limited to 'lwis_device_test.h')
-rw-r--r-- | lwis_device_test.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lwis_device_test.h b/lwis_device_test.h index c3236e2..93b19b7 100644 --- a/lwis_device_test.h +++ b/lwis_device_test.h @@ -15,14 +15,23 @@ #include "lwis_commands.h" #include "lwis_device.h" +#define SCRATCH_TEST_DEV_MEMORY_SIZE 32 +#define TEST_DEVICE_IRQ_CNT 1 +#define TEST_DEVICE_FAKE_INJECTION_IRQ 999 + /* * struct lwis_test_device * The device majorly control/handle requests from test clients. */ struct lwis_test_device { struct lwis_device base_dev; + /* + * For testing purposes, scratch memory is used as register space in + * test device. + */ + uint8_t scratch_mem[SCRATCH_TEST_DEV_MEMORY_SIZE]; }; int lwis_test_device_deinit(void); -#endif /* LWIS_DEVICE_TEST_H_ */
\ No newline at end of file +#endif /* LWIS_DEVICE_TEST_H_ */ |