This module contains APIs to program and use the AASRC module. The APIs can be used by other drivers to get access to AASRC hardware module and also by applications to convert sample rates of audio streams.
◆ AASRC_init()
This function initializes the AASRC module.
◆ AASRC_deinit()
void AASRC_deinit |
( |
void |
| ) |
|
This function de-initializes the AASRC module.
◆ AASRC_OpenParamsInit()
Function to initialize the AASRC_OpenParams struct to its defaults.
- Parameters
-
drvObj | Pointer to AASRC_Object structure for initialization of OpenParams with default |
◆ AASRC_open()
This function opens a given AASRC IP Core.
- Precondition
- AASRC driver parameters have to be initialized using AASRC_init()
- Parameters
-
instNum | Index of config to use in the AASRC_Config array |
openParams | Pointer to parameters to open the driver with |
- Returns
- A AASRC_Handle on success or a NULL on an error or if it has been opened already
- See also
- AASRC_init()
-
AASRC_close()
◆ AASRC_close()
Function to close a AASRC IP Core specified by the AASRC handle.
- Precondition
- AASRC_open() has to be called first
- Parameters
-
- See also
- AASRC_open()
◆ AASRC_getHandle()
This function returns the handle of an open AASRC Instance from the instance index.
- Precondition
- AASRC controller has been opened using AASRC_open()
- Parameters
-
- Returns
- A AASRC_Handle if it has been opened already or NULL otherwise
- See also
- AASRC_init()
-
AASRC_open()
◆ AASRC_softReset()
Function to soft reset a AASRC IP Core specified by the AASRC handle.
- Precondition
- AASRC_open() has to be called first
- Parameters
-
- See also
- AASRC_open()
◆ gAasrcConfig
Externally defined driver configuration array.
◆ gAasrcInstNum
Externally defined driver configuration array size.
◆ gAasrcConfigChNum
uint8_t gAasrcConfigChNum[] |
|
extern |
Externally defined channel configuration array size
◆ gAasrcRxClkZoneNum
uint8_t gAasrcRxClkZoneNum[] |
|
extern |
Externally defined Rx Clockzone configuration array size
◆ gAasrcTxClkZoneNum
uint8_t gAasrcTxClkZoneNum[] |
|
extern |
Externally defined Tx Clockzone configuration array size