Functions
csl_aif2Close.c File Reference

Antenna Interface 2 close function. More...

#include <ti/csl/csl_aif2.h>

Functions

CSL_Status CSL_aif2Close (CSL_Aif2Handle haif2)

Detailed Description

Antenna Interface 2 close function.

===========================================================================


Function Documentation

CSL_Status CSL_aif2Close ( CSL_Aif2Handle  haif2)

============================================================================
CSL_aif2Close

Description
The Close call releases the resources of the peripheral.

Arguments

            haif2Link        Handle to the aif2 instance
     

Return Value CSL_Status

  • CSL_SOK - Close successful
  • CSL_ESYS_BADHANDLE - Invalid handle

Usage Constraints: Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before CSL_aif2Close() can be called. Example

       CSL_aif2Handle haif2Link;
       // Properly initialize and open desired link for use
       haif2Link = CSL_aif2Open(&aif2LinkObj0, CSL_aif2, &aif2Param, &status);
       CSL_aif2Close(haif2Link);
     

=============================================================================

Parameters:
haif2Pointer to the object that holds reference to the instance of aif2 link requested after the CSL_aif2Open(...) call

Copyright 2014, Texas Instruments Incorporated