📄 interrupt_handler.h
字号:
#ifndef __INTERRUPT_HANDLER__H__
#define __INTERRUPT_HANDLER__H__
#include <alt_types.h>
#include "alt_up_ps2_port.h"
/**
* @brief disable the interrupt by setting proper bits to the NIOS II processor and the PS2 port
**/
void disable_interrupt();
/**
* @brief initialize the interrupt by setting proper bits to the NIOS II processor and the PS2 port
**/
void interrupt_init();
/**
* @brief a wrapper function for the interrupt handlers
**/
void interrupt_handler(void);
/**
* @brief the subroutine to be placed at address 20 (interrupt handler)
**/
void the_isr(void);
/**
* @brief the interrupt handler for the PS2 port
**/
void ps2_port_isr();
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -