⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smckxd.inc

📁 SMSC KBC1100键盘控制器原代码
💻 INC
📖 第 1 页 / 共 5 页
字号:
GPIOON         equ      7FCDh    ; GPIO Ouput Register N                  R/W
GPIOIN         equ      7FCEh    ; GPIO Input Register N                  R/-
GPIO_BTCN      equ      7FCFh    ; GPIO Buffer type Configuration N       R/W
GPIO_PUEN      equ      7FD0h    ; GPIO Pull-Up Enable Register N         R/W
GPIO_PDEN      equ      7FD1h    ; GPIO Pull-Down Enable Register N       R/W
GPIODQ         equ      7FDEh    ; GPIO Direction Register Q              R/W
GPIOOQ         equ      7FDFh    ; GPIO Ouput Register Q                  R/W
GPIOIQ         equ      7FE0h    ; GPIO Input Register Q                  R/-
GPIO_BTCQ      equ      7FE1h    ; GPIO Buffer type Configuration Q       R/W
GPIO_PUEQ      equ      7FE2h    ; GPIO Pull-Up Enable Register Q         R/W
GPIO_PDEQ      equ      7FE3h    ; GPIO Pull-Down Enable Register Q       R/W
GPIODR         equ      7FE4h    ; GPIO Direction Register R              R/W
GPIOOR         equ      7FE5h    ; GPIO Ouput Register R                  R/W
GPIOIR         equ      7FE6h    ; GPIO Input Register R                  R/-
GPIO_BTCR      equ      7FE7h    ; GPIO Buffer type Configuration R       R/W
GPIO_PUER      equ      7FE8h    ; GPIO Pull-Up Enable Register R         R/W
GPIO_PDER      equ      7FE9h    ; GPIO Pull-Down Enable Register R       R/W
GPIODS         equ      7FEAh    ; GPIO Direction Register S              R/W
GPIOOS         equ      7FEBh    ; GPIO Ouput Register S                  R/W
GPIOIS         equ      7FECh    ; GPIO Input Register S                  R/-
GPIO_BTCS      equ      7FEDh    ; GPIO Buffer type Configuration S       R/W
GPIO_PUES      equ      7FEEh    ; GPIO Pull-Up Enable Register S         R/W
GPIO_PDES      equ      7FEFh    ; GPIO Pull-Down Enable Register S       R/W
                                                                             
;---------------------------------------------------------------------
; KBC I/F Control
KBC_CDR        equ      7FF1h    ; KBC I/F data Register                  r/-
KBC_DR         equ      7FF1h    ; KBC I/F data Register                  -/W
KBC_STS        equ      7FF2h    ; KBC I/F status Register                r/W
AUX_DR         equ      7FFAh    ; Aux Host Data Register                 -/W

;---------------------------------------------------------------------
; Timer & Week Timer Control
HIB_TC         equ      7FF0h    ; Hibernation Timer Control Register    RR/W
HTIMER         equ      7FF3h    ; Hibernation Timer Register             R/W
CFG0           equ      7FF4h    ; Configuration Register 0               R/W
WTCRL          equ      7FF5h    ; Week Timer Control Register            R/W
WTRLOW         equ      7FF6h    ; Week Timer Reload Low Register         R/W
WTRHIGH        equ      7FF7h    ; Week Timer Reload High Register        R/W
WTDLOW         equ      7FF8h    ; Week Timer Data Low Register           R/W
WTDHIGH        equ      7FF9h    ; Week Timer Data High Register          R/W
GATEA20        equ      7FFBh    ; Gate A20 control Register              R/W
FL_CFG         equ      7FFCh    ; Flash Configuration Register           R/W
PCOBF          equ      7FFDh    ; PCOBF Register                         R/W
SETGA20L       equ      7FFEh    ; Set Gate A20 Register                  -/W
RSTGA20L       equ      7FFFh    ; reset Gate A20 Register                -/W
                                                                            
;---------------------------------------------------------------------
; External Timer Control
T4CTRL         equ      8018h    ; Timer Control Register 4               R/W
T4CLKECTRL     equ      8019h    ; Timer Clock&Event Control Register 4   R/W
T4RL           equ      801Ah    ; Timer Reload Low Register 4            R/W
T4RH           equ      801Bh    ; Timer Reload High Register 4           R/W
T4CNTL         equ      801Ch    ; Timer Count Low Register 4             R/W
T4CNTH         equ      801Dh    ; Timer Count High Register 4            R/-
T5CTRL         equ      801Eh    ; Timer Control Register 5               R/W
T5CLKECTRL     equ      801Fh    ; Timer Clock&Event Control Register 5   R/W
T5RL           equ      8020h    ; Timer Reload Low Register 5            R/W
T5RH           equ      8021h    ; Timer Reload High Register 5           R/W
T5CNTL         equ      8022h    ; Timer Count Low Register 5             R/-
T5CNTH         equ      8023h    ; Timer Count High Register 5            R/-
T6CTRL         equ      8024h    ; Timer Control Register 6               R/W
T6CLKECTRL     equ      8025h    ; Timer Clock&Event Control Register 6   R/W
T6RL           equ      8026h    ; Timer Reload Low Register 6            R/W
T6RH           equ      8027h    ; Timer Reload High Register 6           R/W
T6CNTL         equ      8028h    ; Timer Count Low Register 6             R/W
T6CNTH         equ      8029h    ; Timer Count High Register 6            R/-
T7CTRL         equ      802Ah    ; Timer Control Register 7               R/-
T7CLKECTRL     equ      802Bh    ; Timer Clock&Event Control Register 7   R/W
T7RL           equ      802Ch    ; Timer Reload Low Register 7            R/W
T7RH           equ      802Dh    ; Timer Reload High Register 7           R/W
T7CNTL         equ      802Eh    ; Timer Count Low Register 7             R/-
T7CNTH         equ      802Fh    ; Timer Count High Register 7            R/-

;---------------------------------------------------------------------
; Filter Control
FILTERBYPASS   equ      8042h    ; Filter Bypass Register                 R/W
FILTERCLKCTRL  equ      8043h    ; Filter Clock Control Register          R/W
TPD0           equ      8044h    ; Timer Power Down Register 0            R/W

;---------------------------------------------------------------------
; Interrupt Control
INT0S0         equ      8050h    ; Interrupt 0 Source Register 0          R/-WC
INT0S1         equ      8051h    ; Interrupt 0 Source Register 1          R/-WC
INT1S0         equ      8052h    ; Interrupt 1 Source Register 0          R/-WC
INT1S1         equ      8053h    ; Interrupt 1 Source Register 1          R/-WC
INT2S0         equ      8054h    ; Interrupt 2 Source Register 0          R/-WC
INT2S1         equ      8055h    ; Interrupt 2 Source Register 1          R/-WC
INT3S0         equ      8056h    ; Interrupt 3 Source Register 0          R/-WC
INT3S1         equ      8057h    ; Interrupt 3 Source Register 1          R/-WC
INT4S0         equ      8058h    ; Interrupt 4 Source Register 0          R/-WC
INT4S1         equ      8059h    ; Interrupt 4 Source Register 1          R/-WC
INT5S0         equ      805Ah    ; Interrupt 5 Source Register 0          R/-WC
INT5S1         equ      805Bh    ; Interrupt 5 Source Register 1          R/-WC
INT6S0         equ      805Ch    ; Interrupt 6 Source Register 0          R/-WC
INT6S1         equ      805Dh    ; Interrupt 6 Source Register 1          R/-WC
INT0M0         equ      8060h    ; Interrupt 0 Mask Register 0            R/W
INT0M1         equ      8061h    ; Interrupt 0 Mask Register 1            R/W
INT1M0         equ      8062h    ; Interrupt 1 Mask Register 0            R/W
INT1M1         equ      8063h    ; Interrupt 1 Mask Register 1            R/W
INT2M0         equ      8064h    ; Interrupt 2 Mask Register 0            R/W
INT2M1         equ      8065h    ; Interrupt 2 Mask Register 1            R/W
INT3M0         equ      8066h    ; Interrupt 3 Mask Register 0            R/W
INT3M1         equ      8067h    ; Interrupt 3 Mask Register 1            R/W
INT4M0         equ      8068h    ; Interrupt 4 Mask Register 0            R/W
INT4M1         equ      8069h    ; Interrupt 4 Mask Register 1            R/W
INT5M0         equ      806Ah    ; Interrupt 5 Mask Register 0            R/W
INT5M1         equ      806Bh    ; Interrupt 5 Mask Register 1            R/W
INT6M0         equ      806Ch    ; Interrupt 6 Mask Register 0            R/W
INT6M1         equ      806Dh    ; Interrupt 6 Mask Register 1            R/W
INT4ES1A       equ      8070h    ; Interrupt 4 Edge Select 1A Register    R/W
INT4ES1B       equ      8071h    ; Interrupt 4 Edge Select 1B Register    R/W
INT5ES0A       equ      8072h    ; Interrupt 5 Edge Select 0A Register    R/W
INT5ES0B       equ      8073h    ; Interrupt 5 Edge Select 0B Register    R/W
INT5ES1A       equ      8074h    ; Interrupt 5 Edge Select 1A Register    R/W
INT5ES1B       equ      8075h    ; Interrupt 5 Edge Select 1B Register    R/W
FLCTRL         equ      8080h    ; Flash Control Register                 R/W
TOMFLK         equ      8081h    ; TOM_FLK Flash Lock Base Address reg    R/W
APPBLK         equ      8082h    ; APP_FLK Flash Lock Base Address reg    R/W
FLLCTRL        equ      8083h    ; Flash Lock Control Register            R/W

;---------------------------------------------------------------------
; PWM Control
PWM0CTRL       equ      80C0h    ; PWM Control Register 0                 R/W
PWM0PRE        equ      80C1h    ; PWM Prescaler Register 0               R/W
PWM0DC         equ      80C2h    ; PWM Duty Cycle Register 0              R/W
PWM1CTRL       equ      80C4h    ; PWM Control Register 1                 R/W
PWM1PRE        equ      80C5h    ; PWM Prescaler Register 1               R/W
PWM1DC         equ      80C6h    ; PWM Duty Cycle Register 1              R/W
PWM2CTRL       equ      80C8h    ; PWM Control Register 2                 R/W
PWM2PRE        equ      80C9h    ; PWM Prescaler Register 2               R/W
PWM2DC         equ      80CAh    ; PWM Duty Cycle Register 2              R/W
PWM3CTRL       equ      80CCh    ; PWM Control Register 3                 R/W
PWM3PRE        equ      80CDh    ; PWM Prescaler Register 3               R/W
PWM3DC         equ      80CEh    ; PWM Duty Cycle Register 3              R/W
PWM4CTRL       equ      80D0h    ; PWM Control Register 4                 R/W
PWM4PRE        equ      80D1h    ; PWM Prescaler Register 4               R/W
PWM4DC         equ      80D2h    ; PWM Duty Cycle Register 4              R/W
PWM5CTRL       equ      80D4h    ; PWM Control Register 5                 R/W
PWM5PRE        equ      80D5h    ; PWM Prescaler Register 5               R/W
PWM5DC         equ      80D6h    ; PWM Duty Cycle Register 5              R/W
FA             equ      80F0h    ; Frequency Adjustment Register          R/W
CNTCTRL        equ      80F1h    ; Counter Control Register               R/W
FMCNT          equ      80F2h    ; Frequency measurement Counter Register R/-
                                                                            
;---------------------------------------------------------------------
; ADC & DAC Control
ADCCTRL        equ      8200h    ; ADC Control Register                   R/W
ADCENA         equ      8202h    ; ADC Enable Register                    R/W
ADCSTS         equ      8203h    ; ADC Status Register                    R/-
ADCDSIZE       equ      8204h    ; ADC Data Size Register                 R/W
ADC30LSB       equ      8205h    ; ADC 3-0 LSB Register                   R/-
ADC74LSB       equ      8206h    ; ADC 7-4 LSB Register                   R/-
ADC0MSB        equ      8208h    ; ADC 0 MSB Register                     R/-
ADC1MSB        equ      8209h    ; ADC 1 MSB Register                     R/-
ADC2MSB        equ      820Ah    ; ADC 2 MSB Register                     R/-
ADC3MSB        equ      820Bh    ; ADC 3 MSB Register                     R/-
ADC4MSB        equ      820Ch    ; ADC 4 MSB Register                     R/-
ADC5MSB        equ      820Dh    ; ADC 5 MSB Register                     R/-
ADC6MSB        equ      820Eh    ; ADC 6 MSB Register                     R/-
ADC7MSB        equ      820Fh    ; ADC 7 MSB Register                     R/-
DAC0OUT        equ      8210h    ; DAC 0 Output Register                  R/W
DAC1OUT        equ      8211h    ; DAC 1 Output Register                  R/W
DAC2OUT        equ      8212h    ; DAC 2 Output Register                  R/W
DAC3OUT        equ      8213h    ; DAC 3 Output Register                  R/W
DACCTRL        equ      8215h    ; DAC Control Register                   R/W
SENCTRL        equ      8218h    ; Sentinel Alert Control Register        R/W
                                                                           
;---------------------------------------------------------------------
; WDT Timer Control 1
WDTLENG        equ      8219h    ; WDT Length Register                    R/W
WDTCOUN        equ      821Ah    ; WDT Count Register                     R/-
SENDASTA       equ      821Bh    ; Sentinel Alert DAC State Register      R/W
SENGPIOSTA     equ      821Ch    ; Sentinel Alert GPIO State Register     R/W
                                                                           
;---------------------------------------------------------------------
; Budget Sensor Control
BSBC           equ      8226h    ; Budget SensorBus Control Register      R/W
BSBFT          equ      8227h    ; Budget SensorBus FIFO Threhold Reg     R/W
BSBFS          equ      8228h    ; Budget SensorBus FIFO Status Regsiter  R/W
HWPRO_TT_W     equ      822Ah    ; HWPRO_TT Whole Number Register         R/W
HWPRO_TT_F     equ      822Bh    ; HWPRO_TT Fractional Number Register    R/W
SATT_W         equ      822Ch    ; SA_TT Whole Number Register            R/W
SATT_F         equ      822Dh    ; SA_TT Fractional Number Register       R/W
SDWN           equ      822Eh    ; Sensor Data Whole Number Register      R/W
FSD            equ      822Fh    ; Fractional Sensor Data Register        R/W
                                                                           
;---------------------------------------------------------------------
; DBM GPIO Control
DBMGPIODRA     equ      8240h    ; DBM GPIO Direction Register A          R/W
DBMGPIOORA     equ      8241h    ; DBM GPIO Ouput Register A              R/W
DBMGPIOIRA     equ      8242h    ; DBM GPIO Input Register A              R/-
DBMGPIOBUFA    equ      8243h    ; DBM GPIO Buffer type configuration A   R/W
DBMGPIODRB     equ      8244h    ; DBM GPIO Direction Register B          R/W
DBMGPIOORB     equ      8245h    ; DBM GPIO Ouput Register B              R/W
DBMGPIOIRB     equ      8246h    ; DBM GPIO Input Register B              R/-
DBMGPIOBUFB    equ      8247h    ; DBM GPIO Buffer type configuration B   R/W
                                                                            
;---------------------------------------------------------------------
; Pin Multiplexing Control 3
MPX_14         equ      8248h    ; Multipexing Register 14                R/W
MPX_15         equ      8249h    ; Multipexing Register 15                R/W

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -