Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wiced_external_pa.h File Reference

> More...

Macros

#define WICED_GPIO_NOT_USED   MAX_NUM_OF_GPIO
 

Enumerations

enum  wiced_hal_epa_mode_t {
  EPA_MODE_OFF, EPA_MODE_NORMAL, EPA_MODE_WITH_CSD, EPA_MODE_RX_ONLY,
  EPA_MODE_A2DP_ONLY, EPA_MODE_A2DP_ONLY_WITH_BYP
}
 

Functions

wiced_result_t wiced_external_pa_configure (wiced_bt_gpio_numbers_t ctx_pin, wiced_bt_gpio_numbers_t crx_pin, wiced_bt_gpio_numbers_t csd_byp_pin, wiced_hal_epa_mode_t epa_mode)
 Normally the Front End Module (FEM) control signals would be defined in the platform_gpio_pins structure and the corresponding functions (WICED_EPA_CTX, WICED_EPA_CRX, and WICED_EPA_CSD) and are always enabled. More...
 

Detailed Description

>

Provides the API definitions for the External PA interface driver.

Disclaimer: UNLESS OTHERWISE EXPRESSLY AGREED WITH INFINEON, THIS SOFTWARE IS PROVIDED AS-IS, WITH NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ALL WARRANTIES OF NON-INFRINGEMENT OF THIRD-PARTY RIGHTS AND IMPLIED WARRANTIES SUCH AS WARRANTIES OF FITNESS FOR A SPECIFIC USE/PURPOSE OR MERCHANTABILITY. Infineon reserves the right to make changes to the Software without notice. You are responsible for properly designing, programming, and testing the functionality and safety of your intended application of the Software, as well as complying with any legal requirements related to its use. Infineon does not guarantee that the Software will be free from intrusion, data theft or loss, or other breaches ("Security Breaches"), and Infineon shall have no liability arising out of any Security Breaches. Unless otherwise explicitly approved by Infineon, the Software may not be used in any application where a failure of the Product or any consequences of the use thereof can reasonably be expected to result in personal injury.

Function Documentation

wiced_result_t wiced_external_pa_configure ( wiced_bt_gpio_numbers_t  ctx_pin,
wiced_bt_gpio_numbers_t  crx_pin,
wiced_bt_gpio_numbers_t  csd_byp_pin,
wiced_hal_epa_mode_t  epa_mode 
)

Normally the Front End Module (FEM) control signals would be defined in the platform_gpio_pins structure and the corresponding functions (WICED_EPA_CTX, WICED_EPA_CRX, and WICED_EPA_CSD) and are always enabled.

The wiced_external_pa library provides application developers more dynamic control of the FEM control signals. The wiced_external_pa_configure api configures, enables, disables external power amplifier control logic signals CTX, CRX(if used), and CSD/BYP(if used). See wiced_hal_epa_mode_t definition for more details. Must use LHL gpios.

Parameters
[in]ctx_pin: Tx control signal of external power amplifier.
[in]crx_pin: Rx control signal of external power amplifier if used. Use WICED_GPIO_NOT_USED if not used.
[in]csd_byp_pin: CSD or BYP control signal of external power amplifier if used. Use WICED_GPIO_NOT_USED if not used.
Returns
: WICED_SUCCESS, WICED_ERROR