Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The function AC97_Write is responsible for writing the data specified by the Data parameter to the codec register specified by the Offset parameter.

short int AC97_Write(      
  BYTE Offset, 
  unsigned short int Data,
  BYTE DevId
);

Parameters

Offset
Offset-parameter of the codec-register.

Data
Data to be written to the specified codec-register.

DevId
0, reserved for future use.

Return Values

If the function succeeds, the return value is SUCCESS.
If the function fails, the return value is FALSE.

Remarks

Don't call AC97_Lock before using this function. It will use the same Mutex to lock access to the AC97-Link!!

Requirements

OS Versions: Windows CE 4.2 and later.
Header: drvlib_app.h
Link Library: drvlib_app.lib

See Also

AC97_Read, AC97_Lock, AC97_Init

  • No labels