21.6.2.16.2 Function system_gclk_chan_get_hz()

Retrieves the clock frequency of a Generic Clock channel.

uint32_t system_gclk_chan_get_hz( const uint8_t channel)

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

Table 21-56. Parameters
Data directionParameter nameDescription

[in]

channel

Generic Clock Channel index

Returns

The frequency of the generic clock channel, in Hz.