Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Auxiliary Clock (ACLK)

Defines a driver to facilitate interfacing with the auxiliary clock. More...

Modules

 Group_ACLK_enum
 

Functions

void wiced_hal_aclk_enable (uint32_t frequency, uint32_t clkSrc, uint32_t baseFreqSel)
 Configures, enables, and starts the aclk to be active on a preconfigured GPIO pin. More...
 
void wiced_hal_aclk_disable (uint32_t clkSrc)
 Disables the desired auxilary clock source. More...
 

Detailed Description

Defines a driver to facilitate interfacing with the auxiliary clock.

Use this driver to output a clock to a GPIO pin for external use. Two clock sources are avaliable: clk0 or clk1, as well as two base frequencies used to calulate the prescaler : 1 MHz or 24 MHz. Note that the desired GPIO pin must have already been configured to output for aclk. See the HW muxing section in the Kit Guide or HW User Manual for your device for more information.

Function Documentation

void wiced_hal_aclk_disable ( uint32_t  clkSrc)

Disables the desired auxilary clock source.

Parameters
clkSrc- Clock source to disable (aclk0 or aclk1).
Returns
none
void wiced_hal_aclk_enable ( uint32_t  frequency,
uint32_t  clkSrc,
uint32_t  baseFreqSel 
)

Configures, enables, and starts the aclk to be active on a preconfigured GPIO pin.

(!) Note that the desired GPIO pin must have already been configured to output for aclk. See the HW muxing section in the HW User Manual or Kit Guide for your device for more information.

Parameters
frequency- Desired frequency to output; 0 is the same as disable.
clkSrc- ACLK0 or ACLK1
baseFreqSel- ACLK_FREQ_24_MHZ.
Returns
none