21.6.2.16.1 Function system_gclk_gen_get_hz()

Retrieves the clock frequency of a Generic Clock generator.

uint32_t system_gclk_gen_get_hz( const uint8_t generator)

Determines the clock frequency (in Hz) of a specified Generic Clock generator, used as a source to a Generic Clock Channel module.

Table 21-55. Parameters
Data directionParameter nameDescription

[in]

generator

Generic Clock Generator index

Returns

The frequency of the generic clock generator, in Hz.