Call this function to set rate of a clock.
Note: If the action isn't permitted this function returns an error code.
Prototype
XStatus XPm_ClockSetRate(const enum XPmClock clk, const u32 rate);
Parameters
The following table lists the XPm_ClockSetRate function arguments.
| Type | Name | Description |
|---|---|---|
const enum
XPmClock
|
clk | Identifier of the target clock |
| const u32 | rate | Clock frequency (rate) to be set |