Go to the documentation of this file. 3 #define TWI_CMD_NONE 0x00 4 #define TWI_CMD_VERSION 0x01 5 #define TWI_CMD_KEYSCAN_INTERVAL 0x02 6 #define TWI_CMD_LED_SET_ALL_TO 0x03 7 #define TWI_CMD_LED_SET_ONE_TO 0x04 8 #define TWI_CMD_COLS_USE_PULLUPS 0x05 9 #define TWI_CMD_LED_SPI_FREQUENCY 0x06 11 #define LED_SPI_FREQUENCY_4MHZ 0x07 12 #define LED_SPI_FREQUENCY_2MHZ 0x06 13 #define LED_SPI_FREQUENCY_1MHZ 0x05 14 #define LED_SPI_FREQUENCY_512KHZ 0x04 15 #define LED_SPI_FREQUENCY_256KHZ 0x03 16 #define LED_SPI_FREQUENCY_128KHZ 0x02 17 #define LED_SPI_FREQUENCY_64KHZ 0x01 18 #define LED_SPI_OFF 0x00 23 #define LED_SPI_FREQUENCY_DEFAULT LED_SPI_FREQUENCY_512KHZ 26 #define TWI_CMD_LED_BASE 0x80 28 #define TWI_REPLY_NONE 0x00 29 #define TWI_REPLY_KEYDATA 0x01