Generic clocks are configurable clocks which run outside the system clock domain.
They are often connected to peripherals which have an asynchronous component running independently of the bus clock, e.g. USB controllers, low-power timers and RTCs, etc.
Note that not all platforms have support for generic clocks; on such platforms, this API will not be available.
|
static void | genclk_enable_config (unsigned int id, enum genclk_source src, unsigned int divider) |
| Enable the configuration defined by src and divider for the generic clock identified by id. More...
|
|
static void genclk_enable_config |
( |
unsigned int |
id, |
|
|
enum genclk_source |
src, |
|
|
unsigned int |
divider |
|
) |
| |
|
inlinestatic |
Enable the configuration defined by src and divider for the generic clock identified by id.
- Parameters
-
id | The ID of the generic clock. |
src | The source clock of the generic clock. |
divider | The divider used to generate the generic clock. |