Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LGstaandart by
Diff: system_LPC17xx.c
- Revision:
- 117:eefe61968528
- Parent:
- 116:66f1f0ff2dab
- Child:
- 123:6dd1df6230e9
--- a/system_LPC17xx.c Tue Apr 05 16:52:31 2016 +0000 +++ b/system_LPC17xx.c Wed Apr 06 13:41:25 2016 +0000 @@ -338,7 +338,8 @@ // 01 PCLK_peripheral = CCLK // 10 PCLK_peripheral = CCLK/2 // 11 PCLK_peripheral = CCLK/8, except for CAN1, CAN2, and CAN filtering when “11” selects = CCLK/6. -#define PCLKSEL0_Val 0x00000010//Peripheral clock selection for TIMER1 - CCLK, other peripherals - CCLK/4 +//#define PCLKSEL0_Val 0x00000010//Peripheral clock selection for TIMER1 - CCLK, other peripherals - CCLK/4 +#define PCLKSEL0_Val 0x00000150//Peripheral clock selection for TIMER1 - CCLK, other peripherals - CCLK/4 //Peripheral Clock Selection register 1 // 1:0 PCLK_QEI Peripheral clock selection for the Quadrature Encoder Interface.00 // 3:2 PCLK_GPIOINT Peripheral clock selection for GPIO interrupts. 00