• Home
  • QUESTIONS & ANSWERS
  • Integrated Circuits (ICs)
  • What steps should be taken to initialize the keyboard?

    * Question

    What steps should be taken to initialize the keyboard?


    *
    Answer

    1 Mask the keyboard interrupt by setting the keyboard status and the IMASKK bit of the control register.

    2 Start the KB1 pin by setting the appropriate KBIEx bit in the Enable Interrupt Register.

    3 Write the ACKK bit in the keyboard status and control registers to clear any dummy interrupts.

    4 Clear the IMASKK bit.


    COMMENTS

    WORDPRESS: 0
    DISQUS: 0