NXP's driver library for LPC17xx, ported to mbed's online compiler. Not tested! I had to fix a lot of warings and found a couple of pretty obvious bugs, so the chances are there are more. Original: http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip
TIM_Public_Types
[TIM]
Enumeration Type Documentation
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 196 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 177 of file lpc17xx_timer.h.
enum TIM_EXTMATCH_OPT |
Timer/Counter external match option.
- Enumerator:
Definition at line 185 of file lpc17xx_timer.h.
enum TIM_INT_TYPE |
interrupt type
- Enumerator:
Definition at line 146 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 160 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 170 of file lpc17xx_timer.h.
Generated on Tue Jul 12 2022 17:06:03 by 1.7.2