AIROC™ BTSDK v4.9 - Documentation | ||||
Enumerations | |
enum | wiced_cpu_clk_freq_t { WICED_CPU_CLK_24MHZ, WICED_CPU_CLK_32MHZ, WICED_CPU_CLK_48MHZ, WICED_CPU_CLK_96MHZ } |
Defines a driver to facilitate interfacing with the CPU clock. More... | |
Functions | |
wiced_bool_t | wiced_update_cpu_clock (wiced_bool_t enable, wiced_cpu_clk_freq_t freq) |
Function wiced_update_cpu_clock. More... | |
enum wiced_cpu_clk_freq_t |
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.Clock Frequency
Enumerator | |
---|---|
WICED_CPU_CLK_24MHZ |
24Mhz clock frequency |
WICED_CPU_CLK_32MHZ |
32Mhz clock frequency |
WICED_CPU_CLK_48MHZ |
48Mhz clock frequency |
WICED_CPU_CLK_96MHZ |
96Mhz clock frequency |
wiced_bool_t wiced_update_cpu_clock | ( | wiced_bool_t | enable, |
wiced_cpu_clk_freq_t | freq | ||
) |
Function wiced_update_cpu_clock.
Enables/Disables the given cpu clock frequency. the actual clock frequency is selected appropriately within the driver.
[in] | enable | :enable or disable clock frequency. |
[in] | 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.