mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-13 17:05:37 -04:00
Clock Manager: Add API to measure LPC43xx clock inputs against IRC oscillator.
This commit is contained in:
parent
804ebd25aa
commit
30f2bc4149
2 changed files with 28 additions and 0 deletions
|
@ -66,6 +66,8 @@ public:
|
|||
|
||||
void set_reference_ppb(const int32_t ppb);
|
||||
|
||||
uint32_t get_frequency_monitor_measurement_in_hertz();
|
||||
|
||||
private:
|
||||
I2C& i2c0;
|
||||
si5351::Si5351& clock_generator;
|
||||
|
@ -75,6 +77,8 @@ private:
|
|||
|
||||
void enable_gp_clkin_source();
|
||||
void disable_gp_clkin_source();
|
||||
void start_frequency_monitor_measurement(const cgu::CLK_SEL clk_sel);
|
||||
void wait_For_frequency_monitor_measurement_done();
|
||||
|
||||
void enable_xtal_oscillator();
|
||||
void disable_xtal_oscillator();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue