📄 irq.asm
字号:
;==============================================================================; Cyan Technology Ltd; Example application software for eCOG1;; FILE - irq.asm; Contains the interrupt vectors and the initial branch to the main code.;; DESCRIPTION; This is an updated vector table that points directly and permanently; to page 1 of flash. Page 1 is reprogrammed by the bootloader to ; contain branch commands to user specified addresses;============================================================================== MODULE irq .ALL; Interrupt vectors are sign-extended 24 bit absolute branch addresses. For; example a vector containing H'1234 will start executing at H'1234 and a; vector containing H'8765 will start executing at H'ff8765.; This interrupt table has been updated to provide redirection for the ISR.; Each interrupt jumps to bootloader code which branches to the user; specified location. ORG H'0000 bra $?bootstart_code ORG H'0004ex_debug DC H'0104ex_tim_wdog_ufl DC H'0106ex_adr_err DC H'0108 ; $address_errorex_reserved DC H'010Aex_tim DC H'010Cex_intact DC H'010Eex_usart_a DC H'0110ex_usart_b DC H'0112ex_uart_a DC H'0114ex_uart_b DC H'0116int_tim_tmr_ufl DC H'0118int_tim_cnt1_ufl DC H'011Aint_tim_cnt2_ufl DC H'011Cint_tim_cnt1_match DC H'011Eint_tim_cnt2_match DC H'0120int_tim_pwm1_ufl DC H'0122int_tim_pwm2_ufl DC H'0124int_tim_pwm1_match DC H'0126int_tim_pwm2_match DC H'0128int_tim_cap_ofl DC H'012Aint_tim_cap1 DC H'012Cint_tim_cap2 DC H'012Eint_tim_cap3 DC H'0130int_tim_cap4 DC H'0132int_tim_cap5 DC H'0134int_tim_cap6 DC H'0136int_tim_ltmr_ufl DC H'0138int_reserved1 DC H'013Aint_reserved2 DC H'013Cint_reserved3 DC H'013Eint_reserved4 DC H'0140int_reserved5 DC H'0142int_reserved6 DC H'0144int_reserved7 DC H'0146int_reserved8 DC H'0148int_usart_a_rx DC H'014Aint_usart_a_tx DC H'014Cint_usart_b_rx DC H'014Eint_usart_b_tx DC H'0150int_sci_tx_done DC H'0152int_sci_tx_err DC H'0154int_sci DC H'0156int_ifr_tx_done DC H'0158int_ifr_rx_done DC H'015Aint_ifr_rx_err DC H'015Cint_ifr_frame_done DC H'015Eint_uart_a_tx_rdy DC H'0160int_uart_a_rx_rdy DC H'0162int_uart_b_tx_rdy DC H'0164int_uart_b_rx_rdy DC H'0166int_ehi DC H'0168int_gpio DC H'016Aint_adc DC H'016C ENDMOD
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -