49#ifndef __m340timer_H__
50#define __m340timer_H__
52extern void Fifo_Full_benchmark_timer_initialize (
void);
54extern void (*Restart_Fifo_Full_A_Timer)(void);
55extern void (*Restart_Check_A_Timer)(void);
56extern void (*Restart_Fifo_Full_B_Timer)(void);
57extern void (*Restart_Check_B_Timer)(void);
60#define m340_SWR (1<<15)
61#define m340_Polling_Mode (0<<12)
62#define m340_TC_Enabled (1<<12)
63#define m340_TG_Enabled (2<<12)
64#define m340_TG_TC_Enabled (3<<12)
65#define m340_TO_Enabled (4<<12)
66#define m340_TO_TC_Enabled (5<<12)
67#define m340_TG_TG_Enabled (6<<12)
68#define m340_TO_TG_TG_Enabled (7<<12)
69#define m340_TGE (1<<11)
70#define m340_PSE (1<<10)
71#define m340_CPE (1<<9)
72#define m340_CLK (1<<8)
73#define m340_Divide_by_2 (1<<5)
74#define m340_Divide_by_4 (2<<5)
75#define m340_Divide_by_8 (3<<5)
76#define m340_Divide_by_16 (4<<5)
77#define m340_Divide_by_32 (5<<5)
78#define m340_Divide_by_64 (6<<5)
79#define m340_Divide_by_128 (7<<5)
80#define m340_Divide_by_256 (0<<5)
81#define m340_ICOC (0<<2)
82#define m340_SWG (1<<2)
83#define m340_VDCSWG (2<<2)
84#define m340_VWSSPG (3<<2)
85#define m340_PWM (4<<2)
89#define m340_Disabled 0
90#define m340_Toggle_Mode 1
91#define m340_Zero_Mode 2
92#define m340_One_Mode 3
95#define m340_IRQ (1<<15)
96#define m340_TO (1<<14)
97#define m340_TG (1<<13)
98#define m340_TC (1<<12)
99#define m340_TGL (1<<11)
100#define m340_ON (1<<10)
101#define m340_OUT (1<<9)
102#define m340_COM (1<<8)