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

TIM_TIMERCFG_Type Struct Reference
[TIM_Public_Types]

Configuration structure in TIMER mode. More...

#include <lpc17xx_timer.h>

Data Fields

uint8_t PrescaleOption
 Timer Prescale option, should be:

  • TIM_PRESCALE_TICKVAL: Prescale in absolute value
  • TIM_PRESCALE_USVAL: Prescale in microsecond value.

uint8_t Reserved [3]
 Reserved.
uint32_t PrescaleValue
 Prescale value.

Detailed Description

Configuration structure in TIMER mode.

Definition at line 207 of file lpc17xx_timer.h.


Field Documentation

uint8_t PrescaleOption

Timer Prescale option, should be:

  • TIM_PRESCALE_TICKVAL: Prescale in absolute value
  • TIM_PRESCALE_USVAL: Prescale in microsecond value.

Definition at line 210 of file lpc17xx_timer.h.

uint32_t PrescaleValue

Prescale value.

Definition at line 215 of file lpc17xx_timer.h.

uint8_t Reserved[3]

Reserved.

Definition at line 214 of file lpc17xx_timer.h.