Infineon Logo AIROC BTSDK v4.6 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

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...
 

Detailed Description

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.

Enumeration Type Documentation

Clock Frequency.

Enumerator
WICED_CPU_CLK_48MHZ 

48Mhz clock frequency

WICED_CPU_CLK_96MHZ 

96Mhz clock frequency

Function Documentation

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.

Parameters
enable- enable or disable clock frequency.
freq- clock frequency to enable/disable.
Returns
wiced_bool_t

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.