mirror of https://github.com/ARMmbed/mbed-os.git
lpc546xx and lpc54114: fix clock
parent
2f8b6dcaa9
commit
c053b70a75
|
@ -41,7 +41,6 @@ void ADC_ClockPower_Configuration(void)
|
|||
POWER_DisablePD(kPDRUNCFG_PD_TEMPS); /* Power on the temperature sensor. */
|
||||
|
||||
/* Enable the clock. */
|
||||
CLOCK_AttachClk(kFRO12M_to_MAIN_CLK);
|
||||
CLOCK_EnableClock(kCLOCK_Adc0);
|
||||
}
|
||||
|
||||
|
|
|
@ -73,8 +73,6 @@ void ADC_ClockPower_Configuration(void)
|
|||
POWER_DisablePD(kPDRUNCFG_PD_VREFP); /* Power on the reference voltage source. */
|
||||
POWER_DisablePD(kPDRUNCFG_PD_TS); /* Power on the temperature sensor. */
|
||||
|
||||
/* Enable the clock. */
|
||||
CLOCK_AttachClk(kFRO12M_to_MAIN_CLK);
|
||||
|
||||
/* CLOCK_AttachClk(kMAIN_CLK_to_ADC_CLK); */
|
||||
/* Sync clock source is not used. Using sync clock source and would be divided by 2.
|
||||
|
|
|
@ -121,8 +121,6 @@ void ADC_ClockPower_Configuration(void)
|
|||
POWER_DisablePD(kPDRUNCFG_PD_VREFP); /* Power on the reference voltage source. */
|
||||
POWER_DisablePD(kPDRUNCFG_PD_TS); /* Power on the temperature sensor. */
|
||||
|
||||
/* Enable the clock. */
|
||||
CLOCK_AttachClk(kFRO12M_to_MAIN_CLK);
|
||||
|
||||
/* CLOCK_AttachClk(kMAIN_CLK_to_ADC_CLK); */
|
||||
/* Sync clock source is not used. Using sync clock source and would be divided by 2.
|
||||
|
|
Loading…
Reference in New Issue