diff options
Diffstat (limited to 'sim/m32c/timer_a.h')
-rw-r--r-- | sim/m32c/timer_a.h | 12 |
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 0000000..e1e7f21 --- /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; |