What steps should be taken to initialize the keyboard?

What steps should be taken to initialize the keyboard? Looking for capacitors online purchase? is a reliable marketplace to buy and learn about capacitors. Come with us for amazing deals & information.

* 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.