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

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

TIM_COUNTERCFG_Type Struct Reference

TIM_COUNTERCFG_Type Struct Reference
[TIM_Public_Types]

Configuration structure in COUNTER mode. More...

#include <lpc17xx_timer.h>

Data Fields

uint8_t CounterOption
 Counter Option, should be:

  • TIM_COUNTER_INCAP0: CAPn.0 input pin for TIMERn
  • TIM_COUNTER_INCAP1: CAPn.1 input pin for TIMERn.


Detailed Description

Configuration structure in COUNTER mode.

Definition at line 219 of file lpc17xx_timer.h.


Field Documentation

uint8_t CounterOption

Counter Option, should be:

  • TIM_COUNTER_INCAP0: CAPn.0 input pin for TIMERn
  • TIM_COUNTER_INCAP1: CAPn.1 input pin for TIMERn.

Definition at line 221 of file lpc17xx_timer.h.