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

📄 interrpt.lst

📁 瑞萨单片机LCD控制
💻 LST
📖 第 1 页 / 共 5 页
字号:
    134          
    135          /**************************************************************************/
    136          /*                                                                        */
    137          /*       Interrupt routine                                                */
    138          /*       for watchdog timer                                               */
    139          /*                                                                        */
    140          /*       Name         :      __watchdog_timer_handler                     */
    141          /*       Date/Author  :      10.04.1997/GA                                */
    142          /*       Parameter    :                                                   */
    143          /*       Return       :                                                   */
    144          /*                                                                        */
    145          /**************************************************************************/
    146          interrupt void __watchdog_timer_handler (void)
    147          {
    148            /* Add code here */
    149          }
   \   000005   FB                   REIT    
   \                     __DBC_handler:
    150          
    151          
    152          /**************************************************************************/
    153          /*                                                                        */
    154          /*       Interrupt routine                                                */
    155          /*       for DBC                                                          */
    156          /*                                                                        */
    157          /*       Name         :      __DBC_handler                                */
    158          /*       Date/Author  :      10.04.1997/GA                                */
    159          /*       Parameter    :                                                   */
    160          /*       Return       :                                                   */
    161          /*                                                                        */
    162          /**************************************************************************/
    163          interrupt void __DBC_handler (void)
    164          {
    165            /* Add code here */
    166          }
   \   000006   FB                   REIT    
   \                     __NMI_handler:
    167          
    168          
    169          /**************************************************************************/
    170          /*                                                                        */
    171          /*       Interrupt routine                                                */
    172          /*       for non mask interrupt                                           */
    173          /*                                                                        */
    174          /*       Name         :      __NMI_handler                                */
    175          /*       Date/Author  :      10.04.1997/GA                                */
    176          /*       Parameter    :                                                   */
    177          /*       Return       :                                                   */
    178          /*                                                                        */
    179          /**************************************************************************/
    180          interrupt void __NMI_handler (void)
    181          {
    182            /* Add code here */
    183          }
   \   000007   FB                   REIT    
   \                     BRK_interrupt:
    184          
    185          
    186          /* Variable interrupt table **************************************************/
    187          
    188          /**************************************************************************/
    189          /*                                                                        */
    190          /*       BRK instruction interrupt routine                                */
    191          /*       routine must be adapted to the user's needs                      */
    192          /*       The program is executed from the address shown in this table,    */
    193          /*       when the contents of the fixed vector address 0xFFFE4 to 0xFFFE7 */
    194          /*       are all 0xFF.                                                    */
    195          /*       Name         :      BRK_interrupt                                */
    196          /*       Date/Author  :      10.04.1997/GA                                */
    197          /*       Parameter    :                                                   */
    198          /*       Return       :                                                   */
    199          /*                                                                        */
    200          /**************************************************************************/
    201          /* Interrupt with using the register bank switch */
    202          interrupt [00] using [ALTERNATE_SET] void near BRK_interrupt (void)
    203          /* Interrupt without using the register bank switch */
    204          //interrupt [00] void near BRK_interrupt (void)
    205          {
    206            /* Add code here */
    207          }
   \   000008   FB                   REIT    
   \                     dma0_interrupt:
    208          
    209          /**************************************************************************/
    210          /*                                                                        */
    211          /*       DMA interrupt routine                                            */
    212          /*       Name         :      dma0_interrupt                               */
    213          /*       Date/Author  :      10.04.1997/GA                                */
    214          /*       Parameter    :                                                   */
    215          /*       Return       :                                                   */
    216          /*                                                                        */
    217          /**************************************************************************/
    218          /* Interrupt with using the register bank switch */
    219          interrupt [44] using [ALTERNATE_SET] void near dma0_interrupt (void)
    220          /* Interrupt without using the register bank switch */
    221          //interrupt [44] void near dma0_interrupt (void)
    222          { 
    223            /* Add code here */
    224          #ifdef SAMPLE_X5
    225              dma1_start ();
    226          #endif /* SAMPLE_X5 */
    227          }
   \   000009   FB                   REIT    
   \                     dma1_interrupt:
    228          
    229          /**************************************************************************/
    230          /*                                                                        */
    231          /*       DMA interrupt routine                                            */
    232          /*       Name         :      dma1_interrupt                               */
    233          /*       Date/Author  :      10.04.1997/GA                                */
    234          /*       Parameter    :                                                   */
    235          /*       Return       :                                                   */
    236          /*                                                                        */
    237          /**************************************************************************/
    238          /* Interrupt with using the register bank switch */
    239          interrupt [48] using [ALTERNATE_SET] void near dma1_interrupt (void)
    240          /* Interrupt without using the register bank switch */
    241          //interrupt [48] void near dma1_interrupt (void)
    242          { 
    243            /* Add code here */
    244          #ifdef SAMPLE_X5
    245              dma0_start ();
    246          #endif /* SAMPLE_X5 */
    247          }
   \   00000A   FB                   REIT    
   \                     key_input_interrupt:
    248          
    249          /**************************************************************************/
    250          /*                                                                        */
    251          /*       Key input interrupt routine                                      */
    252          /*       Name         :      key_input_interrupt                               */
    253          /*       Date/Author  :      10.04.1997/GA                                */
    254          /*       Parameter    :                                                   */
    255          /*       Return       :                                                   */
    256          /*                                                                        */
    257          /**************************************************************************/
    258          /* Interrupt with using the register bank switch */
    259          interrupt [52] using [ALTERNATE_SET] void near key_input_interrupt (void)
    260          /* Interrupt without using the register bank switch */
    261          //interrupt [52] void near key_input_interrupt (void)
    262          {     
    263            /* Add code here */
    264          }
   \   00000B   FB                   REIT    
   \                     a_d_interrupt:
    265          
    266          /**************************************************************************/
    267          /*                                                                        */
    268          /*       A-D interrupt routine                                            */
    269          /*       Name         :      a_d_interrupt                                */
    270          /*       Date/Author  :      10.04.1997/GA                                */
    271          /*       Parameter    :                                                   */
    272          /*       Return       :                                                   */
    273          /*                                                                        */
    274          /**************************************************************************/
    275          /* Interrupt with using the register bank switch */
    276          interrupt [56] using [ALTERNATE_SET] void near a_d_interrupt (void)
    277          /* Interrupt without using the register bank switch */
    278          //interrupt [56] void near a_d_interrupt (void)
    279          {     
    280            /* Add code here */
    281          }
   \   00000C   FB                   REIT    
   \                     uart0tx_interrupt:
    282          
    283          /**************************************************************************/
    284          /*                                                                        */
    285          /*       UART0Tx interrupt routine                                        */
    286          /*       Name         :      uart0tx_interrupt                            */
    287          /*       Date/Author  :      10.04.1997/GA                                */
    288          /*       Parameter    :                                                   */
    289          /*       Return       :                                                   */
    290          /*                                                                        */
    291          /**************************************************************************/
    292          /* Interrupt with using the register bank switch */  
    293          interrupt using [ALTERNATE_SET] void near uart0tx_interrupt (void) 
    294          //interrupt [68] using [ALTERNATE_SET] void near uart0tx_interrupt (void)
    295          /* Interrupt without using the register bank switch */
    296          //interrupt [68] void near uart0tx_interrupt (void)
    297          {    
    298            /* Add code here */
    299          #ifdef SAMPLE_Y3 
    300            SEND_STRING[k] = DATA_STRING[k];
    301            uart_0_put_synchronous_mode (SEND_STRING[k]);
    302            k++;
    303          #endif /* SAMPLE_Y3 */
    304          #ifdef SAMPLE_Y6
    305            SEND_STRING[k] = DATA_STRING[k];
    306            uart_0_put_uart_mode (SEND_STRING[k]);
    307            k++;
    308          #endif /* SAMPLE_Y6 */
    309          }
   \   00000D   FB                   REIT    
   \                     uart0rx_interrupt:
    310          
    311          /**************************************************************************/
    312          /*                                                                        */
    313          /*       UART0Rx interrupt routine                                        */
    314          /*       Name         :      uart0rx_interrupt                            */
    315          /*       Date/Author  :      10.04.1997/GA                                */
    316          /*       Parameter    :                                                   */
    317          /*       Return       :                                                   */
    318          /*                                                                        */
    319          /**************************************************************************/
    320          /* Interrupt with using the register bank switch */
    321          interrupt [72] using [ALTERNATE_SET] void near uart0rx_interrupt (void)
    322          /* Interrupt without using the register bank switch */
    323          //interrupt [72] void near uart0rx_interrupt (void)
    324          { 
    325            /* Add code here */
    326          }
   \   00000E   FB                   REIT    
   \                     timer_a0_interrupt:
    327          
    328          /**************************************************************************/
    329          /*                                                                        */
    330          /*       UART1Tx interrupt routine                                        */
    331          /*       Name         :      uart1tx_interrupt                            */

⌨️ 快捷键说明

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