AIROC™ BTSDK v4.9 - Documentation | ||||
Defines a driver to facilitate interfacing with the CPU clock. More...
Enumerations | |
enum | wiced_cpu_clk_freq_t { WICED_CPU_CLK_48MHZ =2, WICED_CPU_CLK_96MHZ } |
Clock Frequency. More... | |
Functions | |
wiced_bool_t | wiced_update_cpu_clock (wiced_bool_t enable, wiced_cpu_clk_freq_t freq) |
enables/disables the given cpu clock frequency. More... | |
Defines a driver to facilitate interfacing with the CPU clock.
Use this to update the CPU clock frequency. Care should be taken by an App that it doesn't disable a frequency not set by it.
enum wiced_cpu_clk_freq_t |
wiced_bool_t wiced_update_cpu_clock | ( | wiced_bool_t | enable, |
wiced_cpu_clk_freq_t | freq | ||
) |
enables/disables the given cpu clock frequency.
the actual clock frequency is selected appropriately within the driver.
enable | - enable or disable clock frequency. |
freq | - clock frequency to enable/disable. |
Usage:The application should call the API with argument enable set to WICED_TRUE to request the FW to set the clock speed to the desired value. When the application is done with its work at this clock speed and wants to return to the previous speed, it shall call the API with the argument enable set to WICED_FALSE and set the argument freq to the same frequency that it earlier requested to be set.