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_CAPTURECFG_Type Struct Reference

TIM_CAPTURECFG_Type Struct Reference
[TIM Public Types]

Capture Input configuration structure. More...

#include <lpc17xx_timer.h>

Data Fields

uint8_t CaptureChannel
 Capture channel, should be in range from 0..1.
uint8_t RisingEdge
 caption rising edge, should be:

  • ENABLE: Enable rising edge.

uint8_t FallingEdge
 caption falling edge, should be:

  • ENABLE: Enable falling edge.

uint8_t IntOnCaption
 Interrupt On caption, should be:

  • ENABLE: Enable interrupt function.


Detailed Description

Capture Input configuration structure.

Definition at line 274 of file lpc17xx_timer.h.


Field Documentation

uint8_t CaptureChannel

Capture channel, should be in range from 0..1.

Definition at line 275 of file lpc17xx_timer.h.

uint8_t FallingEdge

caption falling edge, should be:

  • ENABLE: Enable falling edge.

  • DISABLE: Disable this function.

Definition at line 281 of file lpc17xx_timer.h.

uint8_t IntOnCaption

Interrupt On caption, should be:

  • ENABLE: Enable interrupt function.

  • DISABLE: Disable this function.

Definition at line 285 of file lpc17xx_timer.h.

uint8_t RisingEdge

caption rising edge, should be:

  • ENABLE: Enable rising edge.

  • DISABLE: Disable this function.

Definition at line 277 of file lpc17xx_timer.h.