summaryrefslogtreecommitdiff
path: root/sim/m32c/timer_a.h
blob: abf58833b08a6f9c9aff741850dec7083d842ead (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 ();