Description: Bug report: CMSIS - Incomplete compilation log
« Back to documentation index
TIM Public Types
Data Structures |
| struct | TIM_TIMERCFG_Type |
| | Configuration structure in TIMER mode. More...
|
| struct | TIM_COUNTERCFG_Type |
| | Configuration structure in COUNTER mode. More...
|
| struct | TIM_MATCHCFG_Type |
| | Match channel configuration structure. More...
|
| struct | TIM_CAPTURECFG_Type |
| | Capture Input configuration structure. More...
|
Enumerations |
| enum | TIM_INT_TYPE {
TIM_MR0_INT = 0,
TIM_MR1_INT = 1,
TIM_MR2_INT = 2,
TIM_MR3_INT = 3,
TIM_CR0_INT = 4,
TIM_CR1_INT = 5
} |
| | interrupt type
More...
|
| enum | TIM_MODE_OPT { TIM_TIMER_MODE = 0,
TIM_COUNTER_RISING_MODE,
TIM_COUNTER_FALLING_MODE,
TIM_COUNTER_ANY_MODE
} |
| | Timer/counter operating mode.
More...
|
| enum | TIM_PRESCALE_OPT { TIM_PRESCALE_TICKVAL = 0,
TIM_PRESCALE_USVAL
} |
| | Timer/Counter prescale option.
More...
|
| enum | TIM_COUNTER_INPUT_OPT { TIM_COUNTER_INCAP0 = 0,
TIM_COUNTER_INCAP1
} |
| | Counter input option.
More...
|
| enum | TIM_EXTMATCH_OPT { TIM_EXTMATCH_NOTHING = 0,
TIM_EXTMATCH_LOW,
TIM_EXTMATCH_HIGH,
TIM_EXTMATCH_TOGGLE
} |
| | Timer/Counter external match option.
More...
|
| enum | TIM_CAP_MODE_OPT { TIM_CAPTURE_NONE = 0,
TIM_CAPTURE_RISING,
TIM_CAPTURE_FALLING,
TIM_CAPTURE_ANY
} |
| | Timer/counter capture mode options.
More...
|
Enumeration Type Documentation
Timer/counter capture mode options.
- Enumerator:
| TIM_CAPTURE_NONE |
No Capture
|
| TIM_CAPTURE_RISING |
Rising capture mode
|
| TIM_CAPTURE_FALLING |
Falling capture mode
|
| TIM_CAPTURE_ANY |
On both edges
|
Definition at line 223 of file lpc17xx_timer.h.
Counter input option.
- Enumerator:
| TIM_COUNTER_INCAP0 |
CAPn.0 input pin for TIMERn
|
| TIM_COUNTER_INCAP1 |
CAPn.1 input pin for TIMERn
|
Definition at line 207 of file lpc17xx_timer.h.
Timer/Counter external match option.
- Enumerator:
| TIM_EXTMATCH_NOTHING |
Do nothing for external output pin if match
|
| TIM_EXTMATCH_LOW |
Force external output pin to low if match
|
| TIM_EXTMATCH_HIGH |
Force external output pin to high if match
|
| TIM_EXTMATCH_TOGGLE |
Toggle external output pin if match
|
Definition at line 214 of file lpc17xx_timer.h.
interrupt type
- Enumerator:
| TIM_MR0_INT |
interrupt for Match channel 0
|
| TIM_MR1_INT |
interrupt for Match channel 1
|
| TIM_MR2_INT |
interrupt for Match channel 2
|
| TIM_MR3_INT |
interrupt for Match channel 3
|
| TIM_CR0_INT |
interrupt for Capture channel 0
|
| TIM_CR1_INT |
interrupt for Capture channel 1
|
Definition at line 180 of file lpc17xx_timer.h.
Timer/counter operating mode.
- Enumerator:
| TIM_TIMER_MODE |
Timer mode
|
| TIM_COUNTER_RISING_MODE |
Counter rising mode
|
| TIM_COUNTER_FALLING_MODE |
Counter falling mode
|
| TIM_COUNTER_ANY_MODE |
Counter on both edges
|
Definition at line 191 of file lpc17xx_timer.h.
Timer/Counter prescale option.
- Enumerator:
| TIM_PRESCALE_TICKVAL |
Prescale in absolute value
|
| TIM_PRESCALE_USVAL |
Prescale in microsecond value
|
Definition at line 200 of file lpc17xx_timer.h.