📄 iolpc2104.h
字号:
} __ir_bits;
/* TIMER control register */
typedef struct {
__REG32 CE :1;
__REG32 CR :1;
__REG32 :30;
} __tcr_bits;
/* TIMER match control register */
typedef struct {
__REG32 MR0INT :1;
__REG32 MR0RES :1;
__REG32 MR0STOP :1;
__REG32 MR1INT :1;
__REG32 MR1RES :1;
__REG32 MR1STOP :1;
__REG32 MR2INT :1;
__REG32 MR2RES :1;
__REG32 MR2STOP :1;
__REG32 MR3INT :1;
__REG32 MR3RES :1;
__REG32 MR3STOP :1;
__REG32 :20;
} __mcr_bits;
/* TIMER0 capture control register */
typedef struct {
__REG32 CAP0RE :1;
__REG32 CAP0FE :1;
__REG32 CAP0INT :1;
__REG32 CAP1RE :1;
__REG32 CAP1FE :1;
__REG32 CAP1INT :1;
__REG32 CAP2RE :1;
__REG32 CAP2FE :1;
__REG32 CAP2INT :1;
__REG32 :23;
} __ccr0_bits;
/* TIMER1 capture control register */
typedef struct {
__REG32 CAP0RE :1;
__REG32 CAP0FE :1;
__REG32 CAP0INT :1;
__REG32 CAP1RE :1;
__REG32 CAP1FE :1;
__REG32 CAP1INT :1;
__REG32 CAP2RE :1;
__REG32 CAP2FE :1;
__REG32 CAP2INT :1;
__REG32 CAP3RE :1;
__REG32 CAP3FE :1;
__REG32 CAP3INT :1;
__REG32 :20;
} __ccr1_bits;
/* TIMER external match register */
typedef struct {
__REG32 EM0 :1;
__REG32 EM1 :1;
__REG32 EM2 :1;
__REG32 EM3 :1;
__REG32 EMC0 :2;
__REG32 EMC1 :2;
__REG32 EMC2 :2;
__REG32 EMC3 :2;
__REG32 :20;
} __emr_bits;
/* PWM interrupt register */
typedef struct {
__REG32 MR0INT :1;
__REG32 MR1INT :1;
__REG32 MR2INT :1;
__REG32 MR3INT :1;
__REG32 :4;
__REG32 MR4INT :1;
__REG32 MR5INT :1;
__REG32 MR6INT :1;
__REG32 :21;
} __pwmir_bits;
/* PWM timer control register */
typedef struct {
__REG32 CE :1;
__REG32 CR :1;
__REG32 :1;
__REG32 PWMEN :1;
__REG32 :28;
} __pwmtcr_bits;
/* PWM match control register */
typedef struct {
__REG32 MR0INT :1;
__REG32 MR0RES :1;
__REG32 MR0STOP :1;
__REG32 MR1INT :1;
__REG32 MR1RES :1;
__REG32 MR1STOP :1;
__REG32 MR2INT :1;
__REG32 MR2RES :1;
__REG32 MR2STOP :1;
__REG32 MR3INT :1;
__REG32 MR3RES :1;
__REG32 MR3STOP :1;
__REG32 MR4INT :1;
__REG32 MR4RES :1;
__REG32 MR4STOP :1;
__REG32 MR5INT :1;
__REG32 MR5RES :1;
__REG32 MR5STOP :1;
__REG32 MR6INT :1;
__REG32 MR6RES :1;
__REG32 MR6STOP :1;
__REG32 :11;
} __pwmmcr_bits;
/* PWM control register */
typedef struct {
__REG32 :1;
__REG32 SEL1 :1;
__REG32 SEL2 :1;
__REG32 SEL3 :1;
__REG32 SEL4 :1;
__REG32 SEL5 :1;
__REG32 SEL6 :1;
__REG32 :2;
__REG32 ENA1 :1;
__REG32 ENA2 :1;
__REG32 ENA3 :1;
__REG32 ENA4 :1;
__REG32 ENA5 :1;
__REG32 ENA6 :1;
__REG32 :17;
} __pwmpcr_bits;
/* PWM latch enable register */
typedef struct {
__REG32 EM0L :1;
__REG32 EM1L :1;
__REG32 EM2L :1;
__REG32 EM3L :1;
__REG32 EM4L :1;
__REG32 EM5L :1;
__REG32 EM6L :1;
__REG32 :25;
} __pwmler_bits;
/* RTC interrupt location register */
typedef struct {
__REG32 RTCCIF :1;
__REG32 RTCALF :1;
__REG32 :30;
} __ilr_bits;
/* RTC clock tick counter register */
typedef struct {
__REG32 :1;
__REG32 COUNTER :15;
__REG32 :16;
} __ctc_bits;
/* RTC clock control register */
typedef struct {
__REG32 CLKEN :1;
__REG32 CTCRST :1;
__REG32 CTTEST :2;
__REG32 :28;
} __rtcccr_bits;
/* RTC counter increment interrupt register */
typedef struct {
__REG32 IMSEC :1;
__REG32 IMMIN :1;
__REG32 IMHOUR :1;
__REG32 IMDOM :1;
__REG32 IMDOW :1;
__REG32 IMDOY :1;
__REG32 IMMON :1;
__REG32 IMYEAR :1;
__REG32 :24;
} __ciir_bits;
/* RTC alarm mask register */
typedef struct {
__REG32 AMRSEC :1;
__REG32 AMRMIN :1;
__REG32 AMRHOUR :1;
__REG32 AMRDOM :1;
__REG32 AMRDOW :1;
__REG32 AMRDOY :1;
__REG32 AMRMON :1;
__REG32 AMRYEAR :1;
__REG32 :24;
} __amr_bits;
/* RTC consolidated time register 0 */
typedef struct {
__REG32 SEC :6;
__REG32 :2;
__REG32 MIN :6;
__REG32 :2;
__REG32 HOUR :5;
__REG32 :3;
__REG32 DOW :3;
__REG32 :5;
} __ctime0_bits;
/* RTC consolidated time register 1 */
typedef struct {
__REG32 DOM :5;
__REG32 :3;
__REG32 MON :4;
__REG32 :4;
__REG32 YEAR :12;
__REG32 :4;
} __ctime1_bits;
/* RTC consolidated time register 2 */
typedef struct {
__REG32 DOY :12;
__REG32 :20;
} __ctime2_bits;
/* RTC second register */
typedef struct {
__REG32 SEC :6;
__REG32 :26;
} __sec_bits;
/* RTC minute register */
typedef struct {
__REG32 MIN :6;
__REG32 :26;
} __min_bits;
/* RTC hour register */
typedef struct {
__REG32 HOUR :5;
__REG32 :27;
} __hour_bits;
/* RTC day of month register */
typedef struct {
__REG32 DOM :5;
__REG32 :27;
} __dom_bits;
/* RTC day of week register */
typedef struct {
__REG32 DOW :3;
__REG32 :29;
} __dow_bits;
/* RTC day of year register */
typedef struct {
__REG32 DOY :9;
__REG32 :23;
} __doy_bits;
/* RTC month register */
typedef struct {
__REG32 MON :4;
__REG32 :28;
} __month_bits;
/* RTC year register */
typedef struct {
__REG32 YEAR :12;
__REG32 :20;
} __year_bits;
/* RTC prescaler value, integer portion register */
typedef struct {
__REG32 VALUE :13;
__REG32 :19;
} __preint_bits;
/* RTC prescaler value, fractional portion register */
typedef struct {
__REG32 VALUE :15;
__REG32 :17;
} __prefrac_bits;
/* Watchdog mode register */
typedef struct {
__REG32 WDEN :1;
__REG32 WDRESET :1;
__REG32 WDTOF :1;
__REG32 WDINT :1;
__REG32 :28;
} __wdmod_bits;
/* Watchdog feed register */
typedef struct {
__REG32 FEED :8;
__REG32 :24;
} __wdfeed_bits;
/* External interrupt register */
typedef struct {
__REG32 EINT0 :1;
__REG32 EINT1 :1;
__REG32 EINT2 :1;
__REG32 :29;
} __extint_bits;
/* External interrupt wakeup register */
typedef struct {
__REG32 EXTWAKE0 :1;
__REG32 EXTWAKE1 :1;
__REG32 EXTWAKE2 :1;
__REG32 :29;
} __extwake_bits;
/* Memory accelerator module control register */
typedef struct {
__REG32 MODECTRL :2;
__REG32 :30;
} __mamcr_bits;
/* Memory accelerator module timing register */
typedef struct {
__REG32 CYCLES :3;
__REG32 :29;
} __mamtim_bits;
/* Memory mapping control register */
typedef struct {
__REG32 MAP :2;
__REG32 :30;
} __memmap_bits;
/* PLL control register */
typedef struct {
__REG32 PLLE :1;
__REG32 PLLC :1;
__REG32 :30;
} __pllcon_bits;
/* PLL config register */
typedef struct {
__REG32 MSEL :5;
__REG32 PSEL :2;
__REG32 :25;
} __pllcfg_bits;
/* PLL status register */
typedef struct {
__REG32 MSEL :5;
__REG32 PSEL :2;
__REG32 :1;
__REG32 PLLE :1;
__REG32 PLLC :1;
__REG32 PLOCK :1;
__REG32 :21;
} __pllstat_bits;
/* PLL feed register */
typedef struct {
__REG32 FEED :8;
__REG32 :24;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -