Experimental Study on the Keyboard Scanned Algorithm by a Microprocessor-Based Interrupt Control Method

마이크로프로세서 기반 인터럽트 제어방법에 의한 키보드 스캔 알고리즘에 관한 실험적 연구

  • Published : 2010.05.14

Abstract

The method of interrupt control is attempted to recognize the button-pushed result from a keyboard scan through control of 30ms appropriate period instead of key scan control method for a microprocessor system. This experimental study shows the reduced processing load of a microprocessor and prevention of the error by an algorithm when the keyboard buttons are both pushed at the same time as we recognize the result of a keyboard scanning by an interrupt method. In addition, an algorithm is provided to recognize the result of scanning by C programming as the keyboard button of a microprocessor system is pushed.

마이크로프로세서 시스템의 키보드 버튼의 누름 결과를 기존의 입력 스캔 제어방법이 아닌 인터럽트 제어방법으로 시도하였다. 키보드 스캔 결과를 인터럽트 제어 방법으로 제어 시 적절한 30ms의 주기로 인식하도록 함으로써 마이크로프로세서의 작업부하를 줄이는 키보드 버튼 누름 제어 인식 알고리즘을 제시하였다.

Keywords