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.

Table 21-24. Parameters
Data directionParameter nameDescription

[in]

clock_source

Clock source to check if ready

Returns

Ready state of the given clock source.

Table 21-25. Return Values
Return valueDescription

true

Clock source is enabled and ready

false

Clock source is disabled or not yet ready