Kaleidoscope
Macros
wire-protocol-constants.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TWI_CMD_NONE   0x00
 
#define TWI_CMD_VERSION   0x01
 
#define TWI_CMD_KEYSCAN_INTERVAL   0x02
 
#define TWI_CMD_LED_SET_ALL_TO   0x03
 
#define TWI_CMD_LED_SET_ONE_TO   0x04
 
#define TWI_CMD_COLS_USE_PULLUPS   0x05
 
#define TWI_CMD_LED_SPI_FREQUENCY   0x06
 
#define LED_SPI_FREQUENCY_4MHZ   0x07
 
#define LED_SPI_FREQUENCY_2MHZ   0x06
 
#define LED_SPI_FREQUENCY_1MHZ   0x05
 
#define LED_SPI_FREQUENCY_512KHZ   0x04
 
#define LED_SPI_FREQUENCY_256KHZ   0x03
 
#define LED_SPI_FREQUENCY_128KHZ   0x02
 
#define LED_SPI_FREQUENCY_64KHZ   0x01
 
#define LED_SPI_OFF   0x00
 
#define LED_SPI_FREQUENCY_DEFAULT   LED_SPI_FREQUENCY_512KHZ
 
#define TWI_CMD_LED_BASE   0x80
 
#define TWI_REPLY_NONE   0x00
 

Macro Definition Documentation

◆ LED_SPI_FREQUENCY_128KHZ

#define LED_SPI_FREQUENCY_128KHZ   0x02

◆ LED_SPI_FREQUENCY_1MHZ

#define LED_SPI_FREQUENCY_1MHZ   0x05

◆ LED_SPI_FREQUENCY_256KHZ

#define LED_SPI_FREQUENCY_256KHZ   0x03

◆ LED_SPI_FREQUENCY_2MHZ

#define LED_SPI_FREQUENCY_2MHZ   0x06

◆ LED_SPI_FREQUENCY_4MHZ

#define LED_SPI_FREQUENCY_4MHZ   0x07

◆ LED_SPI_FREQUENCY_512KHZ

#define LED_SPI_FREQUENCY_512KHZ   0x04

◆ LED_SPI_FREQUENCY_64KHZ

#define LED_SPI_FREQUENCY_64KHZ   0x01

◆ LED_SPI_FREQUENCY_DEFAULT

#define LED_SPI_FREQUENCY_DEFAULT   LED_SPI_FREQUENCY_512KHZ

◆ LED_SPI_OFF

#define LED_SPI_OFF   0x00

◆ TWI_CMD_COLS_USE_PULLUPS

#define TWI_CMD_COLS_USE_PULLUPS   0x05

◆ TWI_CMD_KEYSCAN_INTERVAL

#define TWI_CMD_KEYSCAN_INTERVAL   0x02

◆ TWI_CMD_LED_BASE

#define TWI_CMD_LED_BASE   0x80

◆ TWI_CMD_LED_SET_ALL_TO

#define TWI_CMD_LED_SET_ALL_TO   0x03

◆ TWI_CMD_LED_SET_ONE_TO

#define TWI_CMD_LED_SET_ONE_TO   0x04

◆ TWI_CMD_LED_SPI_FREQUENCY

#define TWI_CMD_LED_SPI_FREQUENCY   0x06

◆ TWI_CMD_NONE

#define TWI_CMD_NONE   0x00

◆ TWI_CMD_VERSION

#define TWI_CMD_VERSION   0x01

◆ TWI_REPLY_NONE

#define TWI_REPLY_NONE   0x00