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_MATCHCFG_Type Struct Reference
[TIM_Public_Types]
Match channel configuration structure. More...
#include <lpc17xx_timer.h>
Data Fields | |
uint8_t | MatchChannel |
Match channel, should be in range from 0..3. | |
uint8_t | IntOnMatch |
Interrupt On match, should be:
| |
uint8_t | StopOnMatch |
Stop On match, should be:
| |
uint8_t | ResetOnMatch |
Reset On match, should be:
| |
uint8_t | ExtMatchOutputType |
External Match Output type, should be:
| |
uint32_t | MatchValue |
Reserved. |
Detailed Description
Match channel configuration structure.
Definition at line 230 of file lpc17xx_timer.h.
Field Documentation
uint8_t ExtMatchOutputType |
External Match Output type, should be:
- 0: Do nothing for external output pin if match
- 1: Force external output pin to low if match
- 2: Force external output pin to high if match
- 3: Toggle external output pin if match.
Definition at line 246 of file lpc17xx_timer.h.
uint8_t IntOnMatch |
Interrupt On match, should be:
- ENABLE: Enable this function.
- DISABLE: Disable this function.
Definition at line 233 of file lpc17xx_timer.h.
uint8_t MatchChannel |
Match channel, should be in range from 0..3.
Definition at line 231 of file lpc17xx_timer.h.
uint32_t MatchValue |
Reserved.
Definition at line 253 of file lpc17xx_timer.h.
uint8_t ResetOnMatch |
Reset On match, should be:
- ENABLE: Enable this function.
- DISABLE: Disable this function.
Definition at line 241 of file lpc17xx_timer.h.
uint8_t StopOnMatch |
Stop On match, should be:
- ENABLE: Enable this function.
- DISABLE: Disable this function.
Definition at line 237 of file lpc17xx_timer.h.
Generated on Tue Jul 12 2022 17:06:04 by 1.7.2