Date: March 20, 2011 This library is created from "LPC17xx CMSIS-Compliant Standard Peripheral Firmware Driver Library (GNU, Keil, IAR) (Jan 28, 2011)", available from NXP's website, under "All microcontrollers support documents" [[http://ics.nxp.com/support/documents/microcontrollers/?type=software]] You will need to follow [[/projects/libraries/svn/mbed/trunk/LPC1768/LPC17xx.h]] while using this library Examples provided here [[/users/frank26080115/programs/LPC1700CMSIS_Examples/]] The beautiful thing is that NXP does not place copyright protection on any of the files in here Only a few modifications are made to make it compile with the mbed online compiler, I fixed some warnings as well. This is untested as of March 20, 2011 Forum post about this library: [[/forum/mbed/topic/2030/]]

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 224 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 227 of file lpc17xx_timer.h.

uint32_t PrescaleValue

Prescale value.

Definition at line 232 of file lpc17xx_timer.h.

uint8_t Reserved[3]

Reserved.

Definition at line 231 of file lpc17xx_timer.h.