uc-sdk
|
Classes | |
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... | |
enum TIM_CAP_MODE_OPT |
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 216 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 200 of file lpc17xx_timer.h.
enum TIM_EXTMATCH_OPT |
Timer/Counter external match option.
Definition at line 207 of file lpc17xx_timer.h.
enum TIM_INT_TYPE |
interrupt type
Definition at line 173 of file lpc17xx_timer.h.
enum TIM_MODE_OPT |
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 184 of file lpc17xx_timer.h.
enum TIM_PRESCALE_OPT |
Timer/Counter prescale option.
Enumerator | |
---|---|
TIM_PRESCALE_TICKVAL |
Prescale in absolute value |
TIM_PRESCALE_USVAL |
Prescale in microsecond value |
Definition at line 193 of file lpc17xx_timer.h.