aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/timer_a.h
blob: 2037ca36d1340419a547df8f1682d0c90ead2319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);