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 1. Parameters
Data direction Parameter name Description

[in]

generator

Generic Clock Generator index

Returns

The frequency of the generic clock generator, in Hz.