📄 srvchn.h
字号:
/**************************************************
*
* srvchn.h
*
* CVS ID: $Id: srvchn.h,v 1.10 2006/10/09 15:09:16 dellorto Exp $
* Author: Fabio Dell'Orto [FD] - STM
* Date: $Date: 2006/10/09 15:09:16 $
* Revision: $Revision: 1.10 $
*
* Description:
*
*
***************************************************
*
* COPYRIGHT (C) ST Microelectronics 2005
* All Rights Reserved
*
***************************************************
*
* STM CVS Log:
*
* $Log: srvchn.h,v $ * Revision 1.10 2006/10/09 15:09:16 dellorto * no message *
* Revision 1.9 2006/09/18 09:55:25 belardi
* Corrected CVS keyword usage
*
* Revision 1.8 2006/09/18 09:25:37 belardi
* Added Log CVS keyword into file header
*
*
***************************************************/
#ifndef __SRVCHN_H
#define __SRVCHN_H
typedef struct
{
UInt analog : 1;
UInt spdif : 1;
UInt i2s : 1;
UInt attenuation_on : 1;
UInt audio_init : 1;
UInt audio_initialized : 1;
} OIF_MODE_STRUCT;
typedef struct
{
UInt mute_request : 1;
UInt mute_start : 1;
UInt ad_mute_status : 1;
UInt i2s_mute_status : 1;
UInt spdif_mute_status : 1;
// UInt mute1_on : 1;
// UInt mute2_on : 1;
UInt audio_on : 1;
} OIF_MUTE_STRUCT;
#define IS_OIF_MUTED() ((oif_mute_control.ad_mute_status) ? 1 : 0)
void audio_init(t_bool config_changed);
void acq_init(void);
void ecc_init(void);
void oif_init(void);
void clv_init(void);
void mute_on(void);
void mute_off(void);
RETVAL check_access_msf(void);
RETVAL check_active_msf(void);
void clear_ecc_error_cntr(void);
void audio_off(void);
void audio_on(void);
extern OIF_MODE_STRUCT oif_mode;
extern OIF_MUTE_STRUCT oif_mute_control;
#ifdef APM_PICKUP
extern uint8 oif_ttm_speed;
extern uint8 oif_requested_speed;
#endif
#endif /* __SRVCHN_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -