Ready for review
AC97_Init
This function will do everything it needs to do to initialize the AC Link Controller.
short int AC97_Init(
volatile GPIO_REGS*v_pGPIOReg,
BYTE DevId );
short int InitAcLink(
volatile GPIO_REGS*v_pGPIOReg,
BYTE DevId );
Parameters
v_pGPIOReg
Pointer to GPIO-Registers.
DevId
0, reserved for future use.
Return Values
If this function succeeds, the return value is SUCCESS.
If the function fails, the return value is FALSE.
Remarks
This will configure the GPIO's of the XScale-Controller and perform a Cold-Reset on the AC97-Unit. Keep in mind that other drivers/programms that use the AC97-Link (e.g. Touch-driver) won't really appreciate a Cold-Reset! In most cases it is recommended to use AC97_Alloc instead.
Requirements
OS Versions: Windows CE 4.2 and later.
Header: drvlib_app.h
Link Library: drvlib_app.lib