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.
Dependents: Freedman_v2 Nucleo_i2c_OLED_BME280_copy
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC408X/rtc_api.c
- Revision:
- 462:e03396e14338
- Parent:
- 15:4892fe388435
--- a/targets/hal/TARGET_NXP/TARGET_LPC408X/rtc_api.c Mon Feb 02 16:00:07 2015 +0000
+++ b/targets/hal/TARGET_NXP/TARGET_LPC408X/rtc_api.c Tue Feb 03 13:15:07 2015 +0000
@@ -28,7 +28,6 @@
* Clock Control Register
* RTC_CCR[0] : Enable - 0 = Disabled, 1 = Enabled
* RTC_CCR[1] : Reset - 0 = Normal, 1 = Reset
- * RTC_CCR[4] : Clock Source - 0 = Prescaler, 1 = 32k Xtal
*
* The RTC may already be running, so we should set it up
* without impacting if it is the case
@@ -37,7 +36,6 @@
LPC_SC->PCONP |= 0x200; // Ensure power is on
LPC_RTC->CCR = 0x00;
-// clock source on 2368 is special test mode on 1768!
LPC_RTC->CCR |= 1 << 0; // Ensure the RTC is enabled
}
