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.
Data direction | Parameter name | Description |
---|---|---|
[in] |
generator |
Generic Clock Generator index |
The frequency of the generic clock generator, in Hz.