AVR-based (SPI Peripheral) 4x4 matrix keypad controller