📄 srcdef.h
字号:
/**************************************************
*
*
* CVS ID: $Id: srcdef.h,v 1.1 2006/01/31 18:50:20 belardi Exp $
* Author: Maurizio Marcucci [MM] - STM
* Date: $Date: 2006/01/31 18:50:20 $
* Revision: $Revision: 1.1 $
*
* Description:
*
* Accordo+ Hardware registers definition
*
***************************************************
*
* COPYRIGHT (C) ST Microelectronics 2005
* All Rights Reserved
*
***************************************************/
// SRC_CS register
typedef struct
{
UInt en : 1; // Bit 0
UInt : 3; // Bit 1-3
UInt ielock : 1; // Bit 4
UInt lockcl : 1; // Bit 5
UInt lock : 1; // Bit 6
UInt : 1; // Bit 7
UInt dither_en : 1; // Bit 8
UInt lpf_sel : 2; // Bit 9-10
UInt mute : 1; // Bit 11
UInt ierdf : 1; // Bit 12
UInt iedre : 1; // Bit 13
UInt ofl : 1; // Bit 14
UInt drf : 1; // Bit 15
UInt ofcl : 1; // Bit 16
UInt ufl : 1; // Bit 17
UInt dre : 1; // Bit 18
UInt ufcl : 1; // Bit 19
UInt dedrf : 1; // Bit 20
UInt dedre : 1; // Bit 21
UInt rll_lock : 2; // Bit 22-23
UInt ieofl : 1; // Bit 24
UInt ieufl : 1; // Bit 25
UInt ifsm_rst : 1; // Bit 26
UInt ofsm_rst : 1; // Bit 27
UInt ifsm : 2; // Bit 28-29
UInt ofsm : 2; // Bit 30-31
} SRC_CS_STRUCT;
typedef union
{
SRC_CS_STRUCT field;
uint32 all;
} SRC_CS_UNION;
// SRC_DIV
typedef struct
{
UInt : 2; // Bit 0-1
UInt src_div : 14; // Bit 2-15
UInt : 16; // Bit 16-31
} SRC_DIV_STRUCT;
typedef union
{
SRC_DIV_STRUCT field;
uint32 all;
}SRC_DIV_UNION;
// SRC_TEST
typedef struct
{
UInt drll_threshold : 4; // Bit 0-3
UInt fsinout_test : 1; // Bit 4
UInt : 27;// Bit 5-31
} SRC_TEST_STRUCT;
typedef union
{
SRC_TEST_STRUCT field;
uint32 all;
}SRC_TEST_UNION;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -