old-cross-binutils/sim/m32c/timer_a.h
Mike Frysinger 269e9c185f sim: m32c: enable warnings & clean up a bunch
This doesn't clean up all the warnings, just most of them.
The ones that are left will require some care to unravel.
2015-04-01 02:22:58 -04:00

14 lines
208 B
C

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;
extern void update_timer_a (void);