?? am_hw_primitive_builder_interrupt.h
字號:
#ifndef AM_HW_PRIMITIVE_BUILDER_INTERRUPT_INCLUDE /* To prevent inadvertently including a header twice */#define AM_HW_PRIMITIVE_BUILDER_INTERRUPT_INCLUDE#ifdef __cplusplus /* allow #include in a C++ file (only put this in .h files) */extern "C" {#endif/* (c) Copyright Motorola 1998, All rights reserved. Motorola Confidential Proprietary Contains confidential proprietary information of Motorola, Inc. Reverse engineering is prohibited. The copyright notice does not imply publication. DESCRIPTION: Header file for AM_HW_Primitive_Builder_interrupt.cc ************** REVISION HISTORY ********************************************** Date Author Reference ======== ======== ========================== 04-11-23 aja099 libff38547_il93g_aja099 - Porting of VST VR 03-06-13 aaa063 LIBdd01040 - Implementation of VST VR functionality 04-02-03 w17860 CR - LIBdd72293 FT:Panic when VoiceRecord was playing and fast forward was pressed - Removed the MCU_DSP_VA_PLAYBACK_OFF from the Interrupt handler for VA playback. This is already handled in the audio manager. 00-12-21 mtaraba CSGce82934 main_comp_hardware.h within engine_audio vob should be removed 00-11-09 qcf001 c CR - CSGce79507 00-09-01 blamers CR - CSGce61298 Complete functionality for VA FF/Rew - Add an offset parameter for VA messaging 00-08-09 mtaraba CR - CSGce55882 Eliminate file gsm.h from audio manager 00-05-08 cfarrel CR - CSGce57355 Provide VA/VR interrupt function for RX/TX0 00-04-14 hchuang CR - CSGce54805 update current prim id to HAPI generic prim id - define SC_PRIM_IDS_INCLUDE 99-03-10 blamers CR - CSGce29457 VR Recognize and VA Count - Created a typedef for the Data Mode and updated the enums to the coding standard. - Moved Bank enum to the source file since it is only used there. 99-02-26 blamers CR - CSGce28847 VA/VR Stream Task Improvements - Added an intialization function 98-12-21 mkloza CR - CSGce26100 VA/VR Interrupt Data Transfer - updated file to follow latest FDI/EEPROM design requirements 98-10-13 mkloza PR - CSGce22795 VA/VR Whitecap - Interrupt data transfer *//************** HEADER FILE INCLUDES ******************************************/#include <SUAPI/suapi.h>#include "audio_conditional_compile_def.h"#if ((AUDIO_GSM == TRUE) || (AUDIO_TDMA == TRUE))#ifndef SC_PRIM_IDS_INCLUDE#define SC_PRIM_IDS_INCLUDE#endif#endif/************** CONSTANTS *****************************************************//************** STRUCTURES, ENUMS, AND TYPEDEFS *******************************//* Data Transfer Modes */enum{ SEEM_FDI_VA_VR_TRANSFER_API_RAM, SEEM_FDI_VA_VR_TRANSFER_RAM_API, SEEM_FDI_VA_VR_TRANSFER_MDI_RAM, SEEM_FDI_VA_VR_TRANSFER_RAM_MDI, SEEM_FDI_NO_TRANSFER};typedef UINT8 AM_TRANSFER_MODE;/* Data Transfer Types */enum{ AM_MCU_DSP_VA_PLAYBACK_DATA, AM_MCU_DSP_VR_MODEL_DATA, AM_DSP_MCU_VA_RECORD_DATA, AM_DSP_MCU_VR_MODEL_DATA};typedef UINT8 AM_TRANSFER_DATA;/* Structure used to control the interrupt */typedef struct{ UINT32 msg_offset; AM_TRANSFER_MODE data_mode; AM_TRANSFER_DATA data_type; UINT8 message_length; UINT8 max_transfer_size; BOOL eom; BOOL is_va_playback_active; }AM_VA_VR_INT_INFO;enum{ AUDIO_TRANSFER_RECOGNIZE, AUDIO_TRANSFER_TRAIN};/************** FUNCTION PROTOTYPES *******************************************/extern void GINT_interrupt(void);extern void AUDIO_VA_VR_transfer_data(void);extern void AM_HW_Primitive_Builder_interrupt_init(void);extern void aud_sdvr_abort_immediate(void);/************** MACROS ********************************************************//************** CLASS DEFINITIONS *********************************************//************** GLOBAL VARIABLES **********************************************//* Global varible used to control the functionality of the interrupt routine */extern AM_VA_VR_INT_INFO am_va_vr_int_info;extern UINT8 audio_gint_interrupt_transfer;extern UINT8 audio_gint_interrupt_first;#ifdef __cplusplus /* allow #include in a C++ file (only put this in .h files) */}#endif#endif /* end of - prevent inadvertently including a header file twice */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -