#include <timer.h>
Definition at line 185 of file timer.h.
Data Fields | |
| int | acpa:2 |
| acpa: RA Compare effect on TIOA. 0: None 1: Set 2: Clear 3: Toggle | |
| int | acpc:2 |
| acpc: RC Compare effect on TIOA. 0: None 1: Set 2: Clear 3: Toggle | |
| int | aeevt:2 |
| aeevt: External Event e ffect on TIOA. 0: None 1: Set 2: Clear 3: Toggle | |
| int | aswtrg:2 |
| aswtrg: Sofware Trigger effect on TIOA. 0: None 1: Set 2: Clear 3: Toggle | |
| int | bcpb:2 |
| bcpb: RB Compare effect on TIOB. 0: None 1: Set 2: Clear 3: Toggle | |
| int | bcpc:2 |
| bcpc: RC Compare effect on TIOB. 0: None 1: Set 2: Clear 3: Toggle | |
| int | beevt:2 |
| beevt: External Event effect on TIOB. 0: None 1: Set 2: Clear 3: Toggle | |
| int | bswtrg:2 |
| bswtrg: Software Trigger effect on TIOB. 0: None 1: Set 2: Clear 3: Toggle | |
| 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 # to use, 0 through 2 is valid | |
| int | clki:1 |
| clock_invert: Use rising (0) or falling (1) edge of the clock | |
| int | cpcdis:1 |
| cpcdis: Counter Clock disabled with RC compare if set, not disabled if cleared | |
| int | cpcstop:1 |
| cpcstop: Counter Clock stopped with RC compare if set, not stopped if cleared | |
| int | eevt:2 |
| eevt: External Event Selection. 0: TIOB 1: XC0 2: XC1 3:XC2 | |
| int | eevtedg:1 |
| eevtedg: External Event Edge Selection. 0: None 1: Rising edge 2: Falling edge 3: Each edge | |
| int | enetrg:1 |
| enetrg: External Event Trigger Enable, set to reset counter and counter clock. | |
| 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 | |
| int | wavsel:2 |
| wavsel: Waveform Selection. 0: Up mode without RC trigger. 1: Up mode with RC trigger. 2: Up/down mode without RC trigger. 3: Up/down mode with RC trigger. | |
acpa: RA Compare effect on TIOA.
0: None
1: Set
2: Clear
3: Toggle
Definition at line 246 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
acpc: RC Compare effect on TIOA.
0: None
1: Set
2: Clear
3: Toggle
Definition at line 253 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
aeevt: External Event e ffect on TIOA.
0: None
1: Set
2: Clear
3: Toggle
Definition at line 260 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
aswtrg: Sofware Trigger effect on TIOA.
0: None
1: Set
2: Clear
3: Toggle
Definition at line 267 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
bcpb: RB Compare effect on TIOB.
0: None
1: Set
2: Clear
3: Toggle
Definition at line 274 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
bcpc: RC Compare effect on TIOB.
0: None
1: Set
2: Clear
3: Toggle
Definition at line 281 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
beevt: External Event effect on TIOB.
0: None
1: Set
2: Clear
3: Toggle
Definition at line 288 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
bswtrg: Software Trigger effect on TIOB.
0: None
1: Set
2: Clear
3: Toggle
Definition at line 295 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
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 209 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
channel: The timer # to use, 0 through 2 is valid
Definition at line 188 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
clock_invert: Use rising (0) or falling (1) edge of the clock
Definition at line 202 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
cpcdis: Counter Clock disabled with RC compare if set, not disabled if cleared
Definition at line 215 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
cpcstop: Counter Clock stopped with RC compare if set, not stopped if cleared
Definition at line 212 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
eevt: External Event Selection.
0: TIOB
1: XC0
2: XC1
3:XC2
Definition at line 229 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
eevtedg: External Event Edge Selection.
0: None
1: Rising edge
2: Falling edge
3: Each edge
Definition at line 222 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
enetrg: External Event Trigger Enable, set to reset counter and counter clock.
Definition at line 232 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
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 199 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
wavsel: Waveform Selection.
0: Up mode without RC trigger.
1: Up mode with RC trigger.
2: Up/down mode without RC trigger.
3: Up/down mode with RC trigger.
Definition at line 239 of file timer.h.
Referenced by init_timer_output(), and timer_delay().
1.4.7