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

PWM_MATCHCFG_Type Struct Reference

PWM_MATCHCFG_Type Struct Reference
[PWM_Public_Types]

PWM Match channel configuration structure. More...

#include <lpc17xx_pwm.h>

Data Fields

uint8_t MatchChannel
 Match channel, should be in range from 0..6.
uint8_t IntOnMatch
 Interrupt On match, should be:

  • ENABLE: Enable this function.

uint8_t StopOnMatch
 Stop On match, should be:

  • ENABLE: Enable this function.

uint8_t ResetOnMatch
 Reset On match, should be:

  • ENABLE: Enable this function.


Detailed Description

PWM Match channel configuration structure.

Definition at line 170 of file lpc17xx_pwm.h.


Field Documentation

uint8_t IntOnMatch

Interrupt On match, should be:

  • ENABLE: Enable this function.

  • DISABLE: Disable this function.

Definition at line 173 of file lpc17xx_pwm.h.

uint8_t MatchChannel

Match channel, should be in range from 0..6.

Definition at line 171 of file lpc17xx_pwm.h.

uint8_t ResetOnMatch

Reset On match, should be:

  • ENABLE: Enable this function.

  • DISABLE: Disable this function.

Definition at line 181 of file lpc17xx_pwm.h.

uint8_t StopOnMatch

Stop On match, should be:

  • ENABLE: Enable this function.

  • DISABLE: Disable this function.

Definition at line 177 of file lpc17xx_pwm.h.