2025-04-27 07:49:33 -04:00

46 lines
1.5 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//==========================================================================;
//
// TDA9850.H
// WDM TVAudio MiniDriver.
// AIW / AIWPro hardware platform.
// Philips TDA9850 Stereo/SAP decoder Include Module.
// Copyright (c) 1996 - 1998 ATI Technologies Inc. All Rights Reserved.
//
//==========================================================================;
#ifndef _ATIAUDIO_TDA9850_H_
#define _ATIAUDIO_TDA9850_H_
enum
{
AUDIO_TDA9850_Reg_Control1 = 0x04,
AUDIO_TDA9850_Reg_Control2,
AUDIO_TDA9850_Reg_Control3,
AUDIO_TDA9850_Reg_Control4,
AUDIO_TDA9850_Reg_Align1,
AUDIO_TDA9850_Reg_Align2,
AUDIO_TDA9850_Reg_Align3
};
// Control3 register definitions
#define AUDIO_TDA9850_Control_SAP 0x80
#define AUDIO_TDA9850_Control_Stereo 0x40
#define AUDIO_TDA9850_Control_SAP_Mute 0x10
#define AUDIO_TDA9850_Control_Mute 0x08
// Status register definitions
#define AUDIO_TDA9850_Indicator_Stereo 0x20
#define AUDIO_TDA9850_Indicator_SAP 0x40
#define AUDIO_TDA9850_Control1_DefaultValue 0x0F // stereo 16
#define AUDIO_TDA9850_Control2_DefaultValue 0x0F // sap 16
#define AUDIO_TDA9850_Control3_DefaultValue AUDIO_TDA9850_Control_Stereo // stereo, no mute
#define AUDIO_TDA9850_Control4_DefaultValue 0x07 // +2.5
#define AUDIO_TDA9850_Align1_DefaultValue 0x00 // normal gain
#define AUDIO_TDA9850_Align2_DefaultValue 0x00 // normal gain
#define AUDIO_TDA9850_Align3_DefaultValue 0x03 // stereo decoder operation mode / nominal
#endif // _ATIAUDIO_TDA9850_H_