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

MCPWM_COUNT_CFG_Type Struct Reference
[MCPWM_Public_Types]

MCPWM Count Control Configuration type definition. More...

#include <lpc17xx_mcpwm.h>

Data Fields

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

  • ENABLE.

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

  • ENABLE.


Detailed Description

MCPWM Count Control Configuration type definition.

Definition at line 204 of file lpc17xx_mcpwm.h.


Field Documentation

uint32_t counterChannel

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

Definition at line 205 of file lpc17xx_mcpwm.h.

uint32_t countFalling

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

  • ENABLE.

  • DISABLE.

Definition at line 210 of file lpc17xx_mcpwm.h.

uint32_t countRising

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

  • ENABLE.

  • DISABLE.

Definition at line 206 of file lpc17xx_mcpwm.h.