Compare commits
3 Commits
1469633a9e
...
b7a476ddef
Author | SHA1 | Date | |
---|---|---|---|
|
b7a476ddef | ||
|
6ea9013592 | ||
|
aa0c411d44 |
@ -191,7 +191,7 @@ void tls_pmu_clk_select(u8 bypass)
|
|||||||
/** NOT PART OF THE OFFICIAL SDK **/
|
/** NOT PART OF THE OFFICIAL SDK **/
|
||||||
bool tls_pmu_32k_calibrate(void)
|
bool tls_pmu_32k_calibrate(void)
|
||||||
{
|
{
|
||||||
/* To start the calibration procedure, the bit 3 needs to be set to 0 and then 1 */
|
/* To start the calibration procedure, the bit 3 needs to be set to 0 and then 1 */
|
||||||
unsigned int pmu_ps_cr = tls_reg_read32(HR_PMU_PS_CR);
|
unsigned int pmu_ps_cr = tls_reg_read32(HR_PMU_PS_CR);
|
||||||
|
|
||||||
/* First make sure the bit 3 is 0 */
|
/* First make sure the bit 3 is 0 */
|
||||||
|
Loading…
Reference in New Issue
Block a user