Go to the documentation of this file.
18 #define MCFTIMER_TMR 0x00
19 #define MCFTIMER_TRR 0x04
20 #define MCFTIMER_TCR 0x08
21 #define MCFTIMER_TCN 0x0C
22 #if defined(CONFIG_M532x) || defined(CONFIG_M5441x)
23 #define MCFTIMER_TER 0x03
25 #define MCFTIMER_TER 0x11
32 #define MCFTIMER_TMR_PREMASK 0xff00
33 #define MCFTIMER_TMR_DISCE 0x0000
34 #define MCFTIMER_TMR_ANYCE 0x00c0
35 #define MCFTIMER_TMR_FALLCE 0x0080
36 #define MCFTIMER_TMR_RISECE 0x0040
37 #define MCFTIMER_TMR_ENOM 0x0020
38 #define MCFTIMER_TMR_DISOM 0x0000
39 #define MCFTIMER_TMR_ENORI 0x0010
40 #define MCFTIMER_TMR_DISORI 0x0000
41 #define MCFTIMER_TMR_RESTART 0x0008
42 #define MCFTIMER_TMR_FREERUN 0x0000
43 #define MCFTIMER_TMR_CLKTIN 0x0006
44 #define MCFTIMER_TMR_CLK16 0x0004
45 #define MCFTIMER_TMR_CLK1 0x0002
46 #define MCFTIMER_TMR_CLKSTOP 0x0000
47 #define MCFTIMER_TMR_ENABLE 0x0001
48 #define MCFTIMER_TMR_DISABLE 0x0000
53 #define MCFTIMER_TER_CAP 0x01
54 #define MCFTIMER_TER_REF 0x02