Implement debounce for chip select signal of EEPROM.