📄 mc9s08qd4.inc
字号:
TPMC1SC_MS1A: equ 4 ; Mode Select A for TPM Channel 1
TPMC1SC_MS1B: equ 5 ; Mode Select B for TPM Channel 1
TPMC1SC_CH1IE: equ 6 ; Channel 1 Interrupt Enable
TPMC1SC_CH1F: equ 7 ; Channel 1 Flag
; bit position masks
mTPMC1SC_ELS1A: equ %00000100
mTPMC1SC_ELS1B: equ %00001000
mTPMC1SC_MS1A: equ %00010000
mTPMC1SC_MS1B: equ %00100000
mTPMC1SC_CH1IE: equ %01000000
mTPMC1SC_CH1F: equ %10000000
;*** TPMC1V - TPM Timer Channel 1 Value Register; 0x00000049 ***
TPMC1V: equ $00000049 ;*** TPMC1V - TPM Timer Channel 1 Value Register; 0x00000049 ***
;*** TPMC1VH - TPM Timer Channel 1 Value Register High; 0x00000049 ***
TPMC1VH: equ $00000049 ;*** TPMC1VH - TPM Timer Channel 1 Value Register High; 0x00000049 ***
;*** TPMC1VL - TPM Timer Channel 1 Value Register Low; 0x0000004A ***
TPMC1VL: equ $0000004A ;*** TPMC1VL - TPM Timer Channel 1 Value Register Low; 0x0000004A ***
;*** SRS - System Reset Status Register; 0x00001800 ***
SRS: equ $00001800 ;*** SRS - System Reset Status Register; 0x00001800 ***
; bit numbers for usage in BCLR, BSET, BRCLR and BRSET
SRS_LVD: equ 1 ; Low Voltage Detect
SRS_ILAD: equ 3 ; Illegal Address
SRS_ILOP: equ 4 ; Illegal Opcode
SRS_COP: equ 5 ; Computer Operating Properly (COP) Watchdog
SRS_PIN: equ 6 ; External Reset Pin
SRS_POR: equ 7 ; Power-On Reset
; bit position masks
mSRS_LVD: equ %00000010
mSRS_ILAD: equ %00001000
mSRS_ILOP: equ %00010000
mSRS_COP: equ %00100000
mSRS_PIN: equ %01000000
mSRS_POR: equ %10000000
;*** SBDFR - System Background Debug Force Reset Register; 0x00001801 ***
SBDFR: equ $00001801 ;*** SBDFR - System Background Debug Force Reset Register; 0x00001801 ***
; bit numbers for usage in BCLR, BSET, BRCLR and BRSET
SBDFR_BDFR: equ 0 ; Background Debug Force Reset
; bit position masks
mSBDFR_BDFR: equ %00000001
;*** SOPT1 - System Options Register 1; 0x00001802 ***
SOPT1: equ $00001802 ;*** SOPT1 - System Options Register 1; 0x00001802 ***
; bit numbers for usage in BCLR, BSET, BRCLR and BRSET
SOPT1_RSTPE: equ 0 ; RESET Pin Enable
SOPT1_BKGDPE: equ 1 ; Background Debug Mode Pin Enable
SOPT1_STOPE: equ 5 ; Stop Mode Enable
SOPT1_COPT: equ 6 ; COP Watchdog Timeout
SOPT1_COPE: equ 7 ; COP Watchdog Enable
; bit position masks
mSOPT1_RSTPE: equ %00000001
mSOPT1_BKGDPE: equ %00000010
mSOPT1_STOPE: equ %00100000
mSOPT1_COPT: equ %01000000
mSOPT1_COPE: equ %10000000
;*** SOPT2 - System Options Register 2; 0x00001803 ***
SOPT2: equ $00001803 ;*** SOPT2 - System Options Register 2; 0x00001803 ***
; bit numbers for usage in BCLR, BSET, BRCLR and BRSET
SOPT2_COPCLKS: equ 7 ; COP Watchdog Clock Select
; bit position masks
mSOPT2_COPCLKS: equ %10000000
;*** SDID - System Device Identification Register; 0x00001806 ***
SDID: equ $00001806 ;*** SDID - System Device Identification Register; 0x00001806 ***
;*** SDIDH - System Device Identification Register High; 0x00001806 ***
SDIDH: equ $00001806 ;*** SDIDH - System Device Identification Register High; 0x00001806 ***
; bit numbers for usage in BCLR, BSET, BRCLR and BRSET
SDIDH_ID8: equ 0 ; Part Identification Number 8
SDIDH_ID9: equ 1 ; Part Identification Number 9
SDIDH_ID10: equ 2 ; Part Identification Number 10
SDIDH_ID11: equ 3 ; Part Identification Number 11
SDIDH_REV0: equ 4 ; Revision Number 0
SDIDH_REV1: equ 5 ; Revision Number 1
SDIDH_REV2: equ 6 ; Revision Number 2
SDIDH_REV3: equ 7 ; Revision Number 3
; bit position masks
mSDIDH_ID8: equ %00000001
mSDIDH_ID9: equ %00000010
mSDIDH_ID10: equ %00000100
mSDIDH_ID11: equ %00001000
mSDIDH_REV0: equ %00010000
mSDIDH_REV1: equ %00100000
mSDIDH_REV2: equ %01000000
mSDIDH_REV3: equ %10000000
;*** SDIDL - System Device Identification Register Low; 0x00001807 ***
SDIDL: equ $00001807 ;*** SDIDL - System Device Identification Register Low; 0x00001807 ***
; bit numbers for usage in BCLR, BSET, BRCLR and BRSET
SDIDL_ID0: equ 0 ; Part Identification Number 0
SDIDL_ID1: equ 1 ; Part Identification Number 1
SDIDL_ID2: equ 2 ; Part Identification Number 2
SDIDL_ID3: equ 3 ; Part Identification Number 3
SDIDL_ID4: equ 4 ; Part Identification Number 4
SDIDL_ID5: equ 5 ; Part Identification Number 5
SDIDL_ID6: equ 6 ; Part Identification Number 6
SDIDL_ID7: equ 7 ; Part Identification Number 7
; bit position masks
mSDIDL_ID0: equ %00000001
mSDIDL_ID1: equ %00000010
mSDIDL_ID2: equ %00000100
mSDIDL_ID3: equ %00001000
mSDIDL_ID4: equ %00010000
mSDIDL_ID5: equ %00100000
mSDIDL_ID6: equ %01000000
mSDIDL_ID7: equ %10000000
;*** SRTISC - System RTI Status and Control Register; 0x00001808 ***
SRTISC: equ $00001808 ;*** SRTISC - System RTI Status and Control Register; 0x00001808 ***
; bit numbers for usage in BCLR, BSET, BRCLR and BRSET
SRTISC_RTIS0: equ 0 ; Real-Time Interrupt Delay Select Bit 0
SRTISC_RTIS1: equ 1 ; Real-Time Interrupt Delay Select Bit 1
SRTISC_RTIS2: equ 2 ; Real-Time Interrupt Delay Select Bit 2
SRTISC_RTIE: equ 4 ; Real-Time Interrupt Enable
SRTISC_RTICLKS: equ 5 ; Real-Time Interrupt Clock Select
SRTISC_RTIACK: equ 6 ; Real-Time Interrupt Acknowledge
SRTISC_RTIF: equ 7 ; Real-Time Interrupt Flag
; bit position masks
mSRTISC_RTIS0: equ %00000001
mSRTISC_RTIS1: equ %00000010
mSRTISC_RTIS2: equ %00000100
mSRTISC_RTIE: equ %00010000
mSRTISC_RTICLKS: equ %00100000
mSRTISC_RTIACK: equ %01000000
mSRTISC_RTIF: equ %10000000
;*** SPMSC1 - System Power Management Status and Control 1 Register; 0x00001809 ***
SPMSC1: equ $00001809 ;*** SPMSC1 - System Power Management Status and Control 1 Register; 0x00001809 ***
; bit numbers for usage in BCLR, BSET, BRCLR and BRSET
SPMSC1_BGBE: equ 0 ; Bandgap Buffer Enable
SPMSC1_LVDE: equ 2 ; Low-Voltage Detect Enable
SPMSC1_LVDSE: equ 3 ; Low-Voltage Detect Stop Enable
SPMSC1_LVDRE: equ 4 ; Low-Voltage Detect Reset Enable
SPMSC1_LVDIE: equ 5 ; Low-Voltage Detect Interrrupt Enable
SPMSC1_LVDACK: equ 6 ; Low-Voltage Detect Acknowledge
SPMSC1_LVDF: equ 7 ; Low-Voltage Detect Flag
; bit position masks
mSPMSC1_BGBE: equ %00000001
mSPMSC1_LVDE: equ %00000100
mSPMSC1_LVDSE: equ %00001000
mSPMSC1_LVDRE: equ %00010000
mSPMSC1_LVDIE: equ %00100000
mSPMSC1_LVDACK: equ %01000000
mSPMSC1_LVDF: equ %10000000
;*** SPMSC2 - System Power Management Status and Control 2 Register; 0x0000180A ***
SPMSC2: equ $0000180A ;*** SPMSC2 - System Power Management Status and Control 2 Register; 0x0000180A ***
; bit numbers for usage in BCLR, BSET, BRCLR and BRSET
SPMSC2_PPDC: equ 0 ; Partial Power Down Control
SPMSC2_PPDACK: equ 2 ; Partial Power Down Acknowledge
SPMSC2_PPDF: equ 3 ; Partial Power Down Flag
SPMSC2_LVWV: equ 4 ; Low-Voltage Warning Voltage Select
SPMSC2_LVDV: equ 5 ; Low-Voltage Detect Voltage Select
SPMSC2_LVWACK: equ 6 ; Low-Voltage Warning Acknowledge
SPMSC2_LVWF: equ 7 ; Low-Voltage Warning Flag
; bit position masks
mSPMSC2_PPDC: equ %00000001
mSPMSC2_PPDACK: equ %00000100
mSPMSC2_PPDF: equ %00001000
mSPMSC2_LVWV: equ %00010000
mSPMSC2_LVDV: equ %00100000
mSPMSC2_LVWACK: equ %01000000
mSPMSC2_LVWF: equ %10000000
;*** FCDIV - FLASH Clock Divider Register; 0x00001820 ***
FCDIV: equ $00001820 ;*** FCDIV - FLASH Clock Divider Register; 0x00001820 ***
; bit numbers for usage in BCLR, BSET, BRCLR and BRSET
FCDIV_DIV0: equ 0 ; Divisor for FLASH Clock Divider Bit 0
FCDIV_DIV1: equ 1 ; Divisor for FLASH Clock Divider Bit 1
FCDIV_DIV2: equ 2 ; Divisor for FLASH Clock Divider Bit 2
FCDIV_DIV3: equ 3 ; Divisor for FLASH Clock Divider Bit 3
FCDIV_DIV4: equ 4 ; Divisor for FLASH Clock Divider Bit 4
FCDIV_DIV5: equ 5 ; Divisor for FLASH Clock Divider Bit 5
FCDIV_PRDIV8: equ 6 ; Prescale (Divide) FLASH Clock by 8
FCDIV_DIVLD: equ 7 ; Divisor Loaded Status Flag
; bit position masks
mFCDIV_DIV0: equ %00000001
mFCDIV_DIV1: equ %00000010
mFCDIV_DIV2: equ %00000100
mFCDIV_DIV3: equ %00001000
mFCDIV_DIV4: equ %00010000
mFCDIV_DIV5: equ %00100000
mFCDIV_PRDIV8: equ %01000000
mFCDIV_DIVLD: equ %10000000
;*** FOPT - FLASH Options Register; 0x00001821 ***
FOPT: equ $00001821 ;*** FOPT - FLASH Options Register; 0x00001821 ***
; bit numbers for usage in BCLR, BSET, BRCLR and BRSET
FOPT_SEC00: equ 0 ; Security State Code Bit 0
FOPT_SEC01: equ 1 ; Security State Code Bit 1
FOPT_FNORED: equ 6 ; Vector Redirection Disable
FOPT_KEYEN: equ 7 ; Backdoor Key Mechanism Enable
; bit position masks
mFOPT_SEC00: equ %00000001
mFOPT_SEC01: equ %00000010
mFOPT_FNORED: equ %01000000
mFOPT_KEYEN: equ %10000000
;*** FCNFG - FLASH Configuration Register; 0x00001823 ***
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -