📄 wuidef.h
字号:
/************************************************** * * * CVS ID: $Id: wuidef.h,v 1.2 2006/04/26 17:59:52 kutik Exp $ * Author: Maurizio Marcucci [MM] - STM * Date: $Date: 2006/04/26 17:59:52 $ * Revision: $Revision: 1.2 $ * * Description: * * Accordo+ Hardware registers definition * *************************************************** * * COPYRIGHT (C) ST Microelectronics 2005 * All Rights Reserved * ***************************************************/typedef struct{ UInt ExtInt0 : 1; // Bit 0 IRQ0, GPIOA0 UInt ExtInt1 : 1; // Bit 1 IRQ0, GPIOA1 UInt ExtInt2 : 1; // Bit 2 IRQ0, GPIOA2 UInt ExtInt3 : 1; // Bit 3 IRQ0, GPIOA3 UInt ExtInt4 : 1; // Bit 4 IRQ1, GPIOA4 UInt ExtInt5 : 1; // Bit 5 IRQ1, GPIOA5 UInt ExtInt6 : 1; // Bit 6 IRQ1, GPIOA6 UInt ExtInt7 : 1; // Bit 7 IRQ1, GPIOA7 UInt ExtInt8 : 1; // Bit 8 IRQ2, GPIOA8 UInt SpiSsi : 1; // Bit 9 IRQ4, GPIOB0 UInt I2cCrq : 1; // Bit10 IRQ3 ,GPIOB1 UInt I2cClk : 1; // Bit11 IRQ3 ,GPIOB2 UInt I2cSda : 1; // Bit12 IRQ3 ,GPIOB3 UInt Sci0Rx : 1; // Bit13 IRQ4 ,GPIOB4 UInt Sci1Rx : 1; // Bit14 IRQ4 ,GPIOB5 UInt ApbInt : 1; // Bit15 IRQ4 ,GPIOB4 UInt : 16;} WAKE_UP_LINES_STRUCT;typedef union{ WAKE_UP_LINES_STRUCT field; uint32 all; } WUMR_UNION;typedef union{ WAKE_UP_LINES_STRUCT field; uint32 all; } WUTR_UNION;typedef union{ WAKE_UP_LINES_STRUCT field; uint32 all; } WUPR_UNION;typedef struct { UInt WkupInt : 1; // Bit 0 UInt IntEn : 1; // Bit 1 UInt Stop : 1; // Bit 2 UInt : 13; // Bit 3-15 UInt : 16;} WUCTRL_STRUCT;typedef union{ WUCTRL_STRUCT field; uint32 all;} WUCTRL_UNION;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -