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_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 258 of file lpc17xx_timer.h.


Field Documentation

uint8_t CaptureChannel

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

Definition at line 259 of file lpc17xx_timer.h.

uint8_t FallingEdge

caption falling edge, should be:

  • ENABLE: Enable falling edge.

  • DISABLE: Disable this function.

Definition at line 265 of file lpc17xx_timer.h.

uint8_t IntOnCaption

Interrupt On caption, should be:

  • ENABLE: Enable interrupt function.

  • DISABLE: Disable this function.

Definition at line 269 of file lpc17xx_timer.h.

uint8_t RisingEdge

caption rising edge, should be:

  • ENABLE: Enable rising edge.

  • DISABLE: Disable this function.

Definition at line 261 of file lpc17xx_timer.h.