📄 f2812_reg.h
字号:
};
union GPBDIR_REG {
Uint16 all;
struct GPBDIR_BITS bit;
};
//-----------------------------------
// GPB Qualregister bit definitions
//
//
struct GPBQUAL_BITS { // bits description
Uint16 QUALPRD:8; // 0:7 Qualification Sampling Period
Uint16 rsvd1:8; // 15:8 reserved
};
union GPBQUAL_REG {
Uint16 all;
struct GPBQUAL_BITS bit;
};
//---------------------------------------------------------------------------------------
// GPIO B data register bit definitions
//
//
struct GPBDAT_BITS { // bits description
Uint16 GPIOB0:1; // 0
Uint16 GPIOB1:1; // 1
Uint16 GPIOB2:1; // 2
Uint16 GPIOB3:1; // 3
Uint16 GPIOB4:1; // 4
Uint16 GPIOB5:1; // 5
Uint16 GPIOB6:1; // 6
Uint16 GPIOB7:1; // 7
Uint16 GPIOB8:1; // 8
Uint16 GPIOB9:1; // 9
Uint16 GPIOB10:1; // 10
Uint16 GPIOB11:1; // 11
Uint16 GPIOB12:1; // 12
Uint16 GPIOB13:1; // 13
Uint16 GPIOB14:1; // 14
Uint16 GPIOB15:1; // 15
};
union GPBDAT_REG {
Uint16 all;
struct GPBDAT_BITS bit;
};
//---------------------------------------------------------------------------------------
// GPIO B data set register bit definitions
//
//
struct GPBSET_BITS { // bits description
Uint16 GPIOB0:1; // 0
Uint16 GPIOB1:1; // 1
Uint16 GPIOB2:1; // 2
Uint16 GPIOB3:1; // 3
Uint16 GPIOB4:1; // 4
Uint16 GPIOB5:1; // 5
Uint16 GPIOB6:1; // 6
Uint16 GPIOB7:1; // 7
Uint16 GPIOB8:1; // 8
Uint16 GPIOB9:1; // 9
Uint16 GPIOB10:1; // 10
Uint16 GPIOB11:1; // 11
Uint16 GPIOB12:1; // 12
Uint16 GPIOB13:1; // 13
Uint16 GPIOB14:1; // 14
Uint16 GPIOB15:1; // 15
};
union GPBSET_REG {
Uint16 all;
struct GPBSET_BITS bit;
};
//---------------------------------------------------------------------------------------
// GPIO B data clear register bit definitions
//
//
struct GPBCLEAR_BITS { // bits description
Uint16 GPIOB0:1; // 0
Uint16 GPIOB1:1; // 1
Uint16 GPIOB2:1; // 2
Uint16 GPIOB3:1; // 3
Uint16 GPIOB4:1; // 4
Uint16 GPIOB5:1; // 5
Uint16 GPIOB6:1; // 6
Uint16 GPIOB7:1; // 7
Uint16 GPIOB8:1; // 8
Uint16 GPIOB9:1; // 9
Uint16 GPIOB10:1; // 10
Uint16 GPIOB11:1; // 11
Uint16 GPIOB12:1; // 12
Uint16 GPIOB13:1; // 13
Uint16 GPIOB14:1; // 14
Uint16 GPIOB15:1; // 15
};
union GPBCLEAR_REG {
Uint16 all;
struct GPBCLEAR_BITS bit;
};
//---------------------------------------------------------------------------------------
// GPIO B data toggle register bit definitions
//
//
struct GPBTOGGLE_BITS { // bits description
Uint16 GPIOB0:1; // 0
Uint16 GPIOB1:1; // 1
Uint16 GPIOB2:1; // 2
Uint16 GPIOB3:1; // 3
Uint16 GPIOB4:1; // 4
Uint16 GPIOB5:1; // 5
Uint16 GPIOB6:1; // 6
Uint16 GPIOB7:1; // 7
Uint16 GPIOB8:1; // 8
Uint16 GPIOB9:1; // 9
Uint16 GPIOB10:1; // 10
Uint16 GPIOB11:1; // 11
Uint16 GPIOB12:1; // 12
Uint16 GPIOB13:1; // 13
Uint16 GPIOB14:1; // 14
Uint16 GPIOB15:1; // 15
};
union GPBTOGGLE_REG {
Uint16 all;
struct GPBTOGGLE_BITS bit;
};
//---------------------------------------------------------------------------------
// GPIO D mux control register bit definitions
//
//
struct GPDMUX_BITS { // bits description
Uint16 T1CTRIP_PDPA_GPIOD0:1; // 0
Uint16 T2CTRIP_SOCA_GPIOD1:1; // 1
Uint16 rsvd1:3; // 4:2
Uint16 T3CTRIP_PDPB_GPIOD5:1; // 5
Uint16 T4CTRIP_SOCB_GPIOD6:1; // 6
Uint16 rsvd2:9; // 15:7
};
union GPDMUX_REG {
Uint16 all;
struct GPDMUX_BITS bit;
};
//----------------------------------------------------
// GPIO D Direction control register bit definitions
//
//
struct GPDDIR_BITS { // bits description
Uint16 GPIOD0:1; // 0
Uint16 GPIOD1:1; // 1
Uint16 rsvd1:3; // 4:2
Uint16 GPIOD5:1; // 5
Uint16 GPIOD6:1; // 6
Uint16 rsvd2:9; // 15:7
};
union GPDDIR_REG {
Uint16 all;
struct GPDDIR_BITS bit;
};
//----------------------------------------------------
// GPIO D data register bit definitions
//
//
struct GPDDAT_BITS { // bits description
Uint16 GPIOD0:1; // 0
Uint16 GPIOD1:1; // 1
Uint16 rsvd1:3; // 4:2
Uint16 GPIOD5:1; // 5
Uint16 GPIOD6:1; // 6
Uint16 rsvd2:9; // 15:7
};
union GPDDAT_REG {
Uint16 all;
struct GPDDAT_BITS bit;
};
//----------------------------------------------------
// GPIO D data set register bit definitions
//
//
struct GPDSET_BITS { // bits description
Uint16 GPIOD0:1; // 0
Uint16 GPIOD1:1; // 1
Uint16 rsvd1:3; // 4:2
Uint16 GPIOD5:1; // 5
Uint16 GPIOD6:1; // 6
Uint16 rsvd2:9; // 15:7
};
union GPDSET_REG {
Uint16 all;
struct GPDSET_BITS bit;
};
//----------------------------------------------------
// GPIO D data clear register bit definitions
//
//
struct GPDCLEAR_BITS { // bits description
Uint16 GPIOD0:1; // 0
Uint16 GPIOD1:1; // 1
Uint16 rsvd1:3; // 4:2
Uint16 GPIOD5:1; // 5
Uint16 GPIOD6:1; // 6
Uint16 rsvd2:9; // 15:7
};
union GPDCLEAR_REG {
Uint16 all;
struct GPDCLEAR_BITS bit;
};
//----------------------------------------------------
// GPIO D data toggle register bit definitions
//
//
struct GPDTOGGLE_BITS { // bits description
Uint16 GPIOD0:1; // 0
Uint16 GPIOD1:1; // 1
Uint16 rsvd1:3; // 4:2
Uint16 GPIOD5:1; // 5
Uint16 GPIOD6:1; // 6
Uint16 rsvd2:9; // 15:7
};
union GPDTOGGLE_REG {
Uint16 all;
struct GPDTOGGLE_BITS bit;
};
//----------------------------------
// GPIOD Qualregister bit definitions
//
//
struct GPDQUAL_BITS { // bits description
Uint16 QUALPRD:8; // 0:7 Qualification Sampling Period
Uint16 rsvd1:8; // 15:8 reserved
};
union GPDQUAL_REG {
Uint16 all;
struct GPDQUAL_BITS bit;
};
//---------------------------------------------
// GPIO E mux control register bit definitions
//
//
struct GPEMUX_BITS { // bits description
Uint16 XINT1_XBIO_GPIOE0:1; // 0
Uint16 XINT2_ADCSOC_GPIOE1:1; // 1
Uint16 XNMI_XINT13_GPIOE2:1; // 2
Uint16 rsvd1:12; // 15:3
};
union GPEMUX_REG {
Uint16 all;
struct GPEMUX_BITS bit;
};
//---------------------------------------------------
// GPIO E Direction control register bit definitions
//
//
struct GPEDIR_BITS { // bits description
Uint16 GPIOE0:1; // 0
Uint16 GPIOE1:1; // 1
Uint16 GPIOE2:1; // 2
Uint16 rsvd1:12; // 15:3
};
union GPEDIR_REG {
Uint16 all;
struct GPEDIR_BITS bit;
};
//---------------------------------------------------
// GPIO E data register bit definitions
//
//
struct GPEDAT_BITS { // bits description
Uint16 GPIOE0:1; // 0
Uint16 GPIOE1:1; // 1
Uint16 GPIOE2:1; // 2
Uint16 rsvd1:12; // 15:3
};
union GPEDAT_REG {
Uint16 all;
struct GPEDAT_BITS bit;
};
//---------------------------------------------------
// GPIO E data set register bit definitions
//
//
struct GPESET_BITS { // bits description
Uint16 GPIOE0:1; // 0
Uint16 GPIOE1:1; // 1
Uint16 GPIOE2:1; // 2
Uint16 rsvd1:12; // 15:3
};
union GPESET_REG {
Uint16 all;
struct GPESET_BITS bit;
};
//---------------------------------------------------
// GPIO E data clear register bit definitions
//
//
struct GPECLEAR_BITS { // bits description
Uint16 GPIOE0:1; // 0
Uint16 GPIOE1:1; // 1
Uint16 GPIOE2:1; // 2
Uint16 rsvd1:12; // 15:3
};
union GPECLEAR_REG {
Uint16 all;
struct GPECLEAR_BITS bit;
};
//---------------------------------------------------
// GPIO E data toggle register bit definitions
//
//
struct GPETOGGLE_BITS { // bits description
Uint16 GPIOE0:1; // 0
Uint16 GPIOE1:1; // 1
Uint16 GPIOE2:1; // 2
Uint16 rsvd1:12; // 15:3
};
union GPETOGGLE_REG {
Uint16 all;
struct GPETOGGLE_BITS bit;
};
//-----------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -