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

PWM_TIMERCFG_Type Struct Reference
[PWM_Public_Types]

Configuration structure in PWM TIMER mode. More...

#include <lpc17xx_pwm.h>

Data Fields

uint8_t PrescaleOption
 Prescale option, should be:

  • PWM_TIMER_PRESCALE_TICKVAL: Prescale in absolute value
  • PWM_TIMER_PRESCALE_USVAL: Prescale in microsecond value.

uint32_t PrescaleValue
 Prescale value, 32-bit long, should be matched with PrescaleOption.

Detailed Description

Configuration structure in PWM TIMER mode.

Definition at line 142 of file lpc17xx_pwm.h.


Field Documentation

uint8_t PrescaleOption

Prescale option, should be:

  • PWM_TIMER_PRESCALE_TICKVAL: Prescale in absolute value
  • PWM_TIMER_PRESCALE_USVAL: Prescale in microsecond value.

Definition at line 144 of file lpc17xx_pwm.h.

uint32_t PrescaleValue

Prescale value, 32-bit long, should be matched with PrescaleOption.

Definition at line 149 of file lpc17xx_pwm.h.