Date: March 20, 2011 This library is created from "LPC17xx CMSIS-Compliant Standard Peripheral Firmware Driver Library (GNU, Keil, IAR) (Jan 28, 2011)", available from NXP's website, under "All microcontrollers support documents" [[http://ics.nxp.com/support/documents/microcontrollers/?type=software]] You will need to follow [[/projects/libraries/svn/mbed/trunk/LPC1768/LPC17xx.h]] while using this library Examples provided here [[/users/frank26080115/programs/LPC1700CMSIS_Examples/]] The beautiful thing is that NXP does not place copyright protection on any of the files in here Only a few modifications are made to make it compile with the mbed online compiler, I fixed some warnings as well. This is untested as of March 20, 2011 Forum post about this library: [[/forum/mbed/topic/2030/]]

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 236 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 238 of file lpc17xx_timer.h.