📄 rccudef.h
字号:
/**************************************************
*
*
* CVS ID: $Id: rccudef.h,v 1.1 2006/01/31 18:50:18 belardi Exp $
* Author: Maurizio Marcucci [MM] - STM
* Date: $Date: 2006/01/31 18:50:18 $
* Revision: $Revision: 1.1 $
*
* Description:
*
* Accordo+ Hardware registers definition
*
***************************************************
*
* COPYRIGHT (C) ST Microelectronics 2005
* All Rights Reserved
*
***************************************************/
// PLLCONF
typedef struct
{
UInt p :3; // Bit 0-2
UInt :5; // Bit 3-7
UInt pllbyp :1; // Bit 8
UInt plloff :1; // Bit 9
UInt :4; // Bit 10-13
UInt autobyp_en :1; // Bit 14
UInt lock :1; // Bit 15
UInt :16;
} RCCU_PLLCONF_STRUCT;
typedef union
{
RCCU_PLLCONF_STRUCT field;
uint32 all;
}RCCU_PLLCONF_UNION;
// RCCU CLKFLAG
typedef struct
{
UInt swrst_f :1; // Bit 0
UInt wdgrst_f :1; // Bit 1
UInt :3; // Bit 2-4
UInt pllbyp_f :1; // Bit 5
UInt :8; // Bit 6-13
UInt ulock_i :1; // Bit 14
UInt lock_i :1; // Bit 15
UInt :16;
} RCCU_CLKFLAG_STRUCT;
typedef union
{
RCCU_CLKFLAG_STRUCT field;
uint32 all;
} RCCU_CLKFLAG_UNION;
// RCCU CLKCTL
typedef struct
{
UInt swrst :1; // Bit 0
UInt :9; // Bit 1-9
UInt en_clk_13 :1; // Bit 10
UInt en_clk_6 :1; // Bit 11
UInt en_clk_44 :1; // Bit 12
UInt en_clk_2 :1; // Bit 13
UInt en_clk_33 :1; // Bit 14
UInt en_clk_16 :1; // Bit 15
UInt :16;
} RCCU_CLKCTL_STRUCT;
typedef union
{
RCCU_CLKCTL_STRUCT field;
uint32 all;
} RCCU_CLKCTL_UNION;
// RCCU MSKCTL
typedef struct
{
UInt stop_en :1; // Bit 0
UInt wfi_en :1; // Bit 1
UInt :12; // Bit 2
UInt ulock_i_en :1; // Bit 14
UInt lock_i_en :1; // Bit 15
UInt :16;
} RCCU_MASKCTL_STRUCT;
typedef union
{
RCCU_MASKCTL_STRUCT field;
uint32 all;
} RCCU_MASKCTL_UNION;
// RCCU SYSPROT
typedef struct
{
UInt reg_prot :1;
UInt :31;
} RCCU_SYSPROT_STRUCT;
typedef union
{
RCCU_SYSPROT_STRUCT field;
uint32 all;
} RCCU_SYSPROT_UNION;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -