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

MCPWM_CAPTURE_CFG_Type Struct Reference

MCPWM_CAPTURE_CFG_Type Struct Reference
[MCPWM_Public_Types]

MCPWM Capture Configuration type definition. More...

#include <lpc17xx_mcpwm.h>

Data Fields

uint32_t captureChannel
 Capture Channel Number, should be in range from 0 to 2.
uint32_t captureRising
 Enable/Disable Capture on Rising Edge event, should be:

  • ENABLE.

uint32_t captureFalling
 Enable/Disable Capture on Falling Edge event, should be:

  • ENABLE.

uint32_t timerReset
 Enable/Disable Timer reset function an capture, should be:

  • ENABLE.

uint32_t hnfEnable
 Enable/Disable Hardware noise filter function, should be:

  • ENABLE.


Detailed Description

MCPWM Capture Configuration type definition.

Definition at line 180 of file lpc17xx_mcpwm.h.


Field Documentation

uint32_t captureChannel

Capture Channel Number, should be in range from 0 to 2.

Definition at line 181 of file lpc17xx_mcpwm.h.

uint32_t captureFalling

Enable/Disable Capture on Falling Edge event, should be:

  • ENABLE.

  • DISABLE.

Definition at line 186 of file lpc17xx_mcpwm.h.

uint32_t captureRising

Enable/Disable Capture on Rising Edge event, should be:

  • ENABLE.

  • DISABLE.

Definition at line 182 of file lpc17xx_mcpwm.h.

uint32_t hnfEnable

Enable/Disable Hardware noise filter function, should be:

  • ENABLE.

  • DISABLE.

Definition at line 194 of file lpc17xx_mcpwm.h.

uint32_t timerReset

Enable/Disable Timer reset function an capture, should be:

  • ENABLE.

  • DISABLE.

Definition at line 190 of file lpc17xx_mcpwm.h.