📄 am_globals.c
字号:
/* * (c) Copyright Motorola 1996, All rights reserved. * Motorola Confidential Proprietary * Contains Confidential Proprietary information of Motorola, Inc. * Reverse engineering is prohibited. * The copyright notice does not imply publication. *//****************************** REVISION HISTORY ******************************Date Author Reference Number======== ======== ================00-11-20 mtaraba CSGce69100 Add support for DAI mode for GSM98-03-26 mkloza PR - CSGce17807 Low Power mode updated - added global UINT8 size am_global variable. Bits of this variable will be used to indicate several different states of AM. Macros set_am_global_bit, clear_am_global_bit and read_am_global_bit will be used to modify and read particular bits. - Previously separate BOOL size variable aud_handsfree_capable will be incorporated now into new UINT8 size am_global variable.*****************************************************************************//************** INCLUDES ******************************************************/#include <SUAPI/suapi.h>#include <string.h>#include <audio/am_globals.h>/************** LOCAL CONSTANTS ***********************************************//************** LOCAL STRUCTURES, ENUMS, AND TYPEDEFS *************************//************** LOCAL FUNCTION PROTOTYPES *************************************//************** LOCAL MACROS **************************************************//************** LOCAL VARIABLES ***********************************************//* global variable which stores several bits of information about current AM state */UINT8 am_global = (0x01 << AM_AUDIO_DEEP_SLEEP_CAPABLE);TD_AUD_TONE_REQ_TONE_TYPE_T audio_dai_mode = DL_AUDIO_TONE_TYPE_DAI_NORMAL;/************** FUNCTION DEFINITIONS ******************************************/void *memcpy_b (void *dest_ptr, const void *source_ptr, size_t count){ memcpy(dest_ptr, source_ptr, count); return (dest_ptr);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -