![]() |
![]() |
#include <ti/csl/csl_aif2.h>
Functions | |
| CSL_aif2GetBaseAddress (CSL_InstNum aif2Num, CSL_Aif2Param *paif2Param, CSL_Aif2BaseAddress *pBaseAddress) | |
| CSL_Aif2Handle | CSL_aif2Open (CSL_Aif2Obj *paif2Obj, CSL_InstNum aif2Num, CSL_Aif2Param *paif2Param, CSL_Status *pStatus) |
| Opens the instance of AIF2 requested. | |
===========================================================================
| CSL_aif2GetBaseAddress | ( | CSL_InstNum | aif2Num, | |
| CSL_Aif2Param * | paif2Param, | |||
| CSL_Aif2BaseAddress * | pBaseAddress | |||
| ) |
============================================================================
CSL_aif2GetBaseAddress
Description
Function to get the base address of the peripheral instance. This function is used for getting the base address of the peripheral instance. This function will be called inside the CSL_aif2Open() function call. This function is open for re-implementing if the user wants to modify the base address of the peripheral object to point to a different location and there by allow CSL initiated write/reads into peripheral. MMR's go to an alternate location.
Arguments
aif2Num Specifies the instance of the bwmngmt to be opened.
paif2Param Module specific parameters.
pBaseAddress Pointer to baseaddress structure containing base
address details.
Return Value CSL_Status
Post Condition
Base Address structure is populated
Affects
1. The status variable
2. Base address structure is modified.
Example
CSL_Status status;
CSL_aif2BaseAddress baseAddress;
...
status = CSL_aif2GetBaseAddress(CSL_AIF2, NULL, &baseAddress);