summaryrefslogtreecommitdiff
path: root/sim/m32c/timer_a.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m32c/timer_a.h')
-rw-r--r--sim/m32c/timer_a.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sim/m32c/timer_a.h b/sim/m32c/timer_a.h
new file mode 100644
index 00000000000..e1e7f216bf2
--- /dev/null
+++ b/sim/m32c/timer_a.h
@@ -0,0 +1,12 @@
+typedef struct
+{
+ int count;
+ int reload;
+ int prescale;
+ int tcspr;
+ unsigned char bsr;
+ unsigned char mode;
+ unsigned char ic;
+} Timer_A;
+
+extern Timer_A timer_a;