#include <timer.h>
Definition at line 121 of file timer.h.
Data Fields | |
| int | abetrg:1 |
| abetrg: External trigger selection. 0: TIOB 1: TIOA | |
| int | burst:2 |
| clock_burst: Specify a burst type for the clock. 0: Use the selected clock 1: XC0 is ANDed with the selected clock 2: XC1 is ANDed with the selected clock 3: XC2 is ANDed with the selected clock | |
| int | channel |
| channel: The timer channel to use. Channel 0, 1 or 2 are valid selections | |
| int | clki:1 |
| clock_invert: Use raising (0) or falling edge (1) of the clock | |
| int | cpctrg:1 |
| cpctrg: Compare trigger enable: 0: disabled 1: RC compare resets counter and starts clock | |
| int | etrgedg:2 |
| etrgedg: External trigger selection. 0: none 1: rising edge 2: falling edge 3: each edge | |
| int | ldbdis:1 |
| ldbdis: To disable (1) or not to disable (0) the counter clock when RB loading occurs | |
| int | ldbstop:1 |
| ldbstop: To stop (1) or not to stop (0) when RB loading occurs | |
| int | ldra:2 |
| ldra: RA Loading selection. 0: none 1: Rising TIOA edge 2: Falling TIOA edge 3: Each TIOA edge | |
| int | ldrb:2 |
| ldrb: RB Loading selection. 0: none 1: Rising TIOB edge 2: Falling TIOB edge 3: Each TIOA edge | |
| int | tcclks:3 |
| clock_source: The clock source for the timer. 0: Timer Clock 1 1: Timer Clock 2 2: Timer Clock 3 3: Timer Clock 4 4: Timer Clock 5 5: XC0 6: XC1 7: XC2 | |
abetrg: External trigger selection. 0: TIOB 1: TIOA
Definition at line 161 of file timer.h.
Referenced by init_timer_input().
clock_burst: Specify a burst type for the clock.
0: Use the selected clock
1: XC0 is ANDed with the selected clock
2: XC1 is ANDed with the selected clock
3: XC2 is ANDed with the selected clock
Definition at line 145 of file timer.h.
Referenced by init_timer_input().
channel: The timer channel to use. Channel 0, 1 or 2 are valid selections
Definition at line 124 of file timer.h.
Referenced by init_timer_input().
clock_invert: Use raising (0) or falling edge (1) of the clock
Definition at line 138 of file timer.h.
Referenced by init_timer_input().
cpctrg: Compare trigger enable: 0: disabled 1: RC compare resets counter and starts clock
Definition at line 164 of file timer.h.
Referenced by init_timer_input().
etrgedg: External trigger selection.
0: none
1: rising edge
2: falling edge
3: each edge
Definition at line 158 of file timer.h.
Referenced by init_timer_input().
ldbdis: To disable (1) or not to disable (0) the counter clock when RB loading occurs
Definition at line 151 of file timer.h.
Referenced by init_timer_input().
ldbstop: To stop (1) or not to stop (0) when RB loading occurs
Definition at line 148 of file timer.h.
Referenced by init_timer_input().
ldra: RA Loading selection.
0: none
1: Rising TIOA edge
2: Falling TIOA edge
3: Each TIOA edge
Definition at line 171 of file timer.h.
Referenced by init_timer_input().
ldrb: RB Loading selection.
0: none
1: Rising TIOB edge
2: Falling TIOB edge
3: Each TIOA edge
Definition at line 178 of file timer.h.
Referenced by init_timer_input().
clock_source: The clock source for the timer.
0: Timer Clock 1
1: Timer Clock 2
2: Timer Clock 3
3: Timer Clock 4
4: Timer Clock 5
5: XC0
6: XC1
7: XC2
Definition at line 135 of file timer.h.
Referenced by init_timer_input().
1.4.7