📄 fmstruct.h
字号:
/*
********************************************************************************
* Copyright (C),2004-2007, Fuzhou Rockchip Electronics Co.,Ltd.
* All Rights Reserved
*
*Description: FM Module 结构体定义
*
$Header: FmStruct.h,v 1.35 2007/04/25 05:31:54 ZhengYongzhi Exp $
$Author: ZhengYongzhi $
$Date: 2007/04/25 05:31:54 $
$Revision: 1.9 Release$
********************************************************************************
*/
#ifndef _FMSTRUCT_H
#define _FMSTRUCT_H
//------------------------------------------------------------------------------
typedef union {
struct
{
unsigned int
bReserved: 16;
}bc;
unsigned int word;
} _FM_FLAG;
typedef union {
struct
{
unsigned int bInterface: 1,
bHold: 1,
bMute: 1,
bVol: 1,
bBatt: 1,
bMode: 1,
bCh: 1,
bFmFreq: 1,
bFmGuage: 1,
bFmRegion: 1,
bFmStereo: 1,
bFmMenuSelect: 1,
bReserved: 4;
}bit;
unsigned int word;
}FM_DISPLAY_FLAG;
typedef struct{
FM_DISPLAY_FLAG DisplayFlag;
unsigned int *pHold;
unsigned int *pMute;
unsigned int *pVol;
unsigned int *pBatt;
unsigned int *pMode;
unsigned int *pCh;
unsigned int *pFreq;
unsigned int *pGuage;
unsigned int *pFreqMin;
unsigned int *pFreqMax;
unsigned int *pRegion;
unsigned int *pStereo;
}FM_DISPLAY_STRUCT;
//------------------------------------------------------------------------------
#endif
//******************************************************************************
/*
$Log: FmStruct.h,v $
*
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -