21.6.2.7.4 Function system_clock_source_is_ready()
Checks if a clock source is ready.
bool system_clock_source_is_ready( const enum system_clock_source clk_source)
Checks if a given clock source is ready to be used.
Data direction | Parameter name | Description |
---|---|---|
[in] |
clock_source |
Clock source to check if ready |
Returns
Ready state of the given clock source.
Return value | Description |
---|---|
true |
Clock source is enabled and ready |
false |
Clock source is disabled or not yet ready |