This fork of the MBED Library allows you to use counters on the external counter pins (15/16 for Timer 3, 29/30 for Timer 2) by switching internal timing functions in MBED to utilize Timer 0
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC15XX/objects.h
- Revision:
- 112:a7168c414ef2
- Parent:
- 103:9b881da47c92
- Child:
- 117:e0a7df0a9a56
--- a/targets/hal/TARGET_NXP/TARGET_LPC15XX/objects.h Thu Mar 06 10:00:06 2014 +0000 +++ b/targets/hal/TARGET_NXP/TARGET_LPC15XX/objects.h Fri Mar 07 16:00:07 2014 +0000 @@ -29,6 +29,11 @@ uint32_t ch; }; +struct pwmout_s { + LPC_SCT0_Type* pwm; + uint32_t pwm_ch; +}; + struct serial_s { LPC_USART0_Type *uart; unsigned char index;