tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/ssd1351/commands.go (about)

     1  package ssd1351
     2  
     3  // Commands
     4  const (
     5  	SET_COLUMN_ADDRESS          = 0x15
     6  	SET_ROW_ADDRESS             = 0x75
     7  	WRITE_RAM                   = 0x5C
     8  	READ_RAM                    = 0x5D
     9  	SET_REMAP_COLORDEPTH        = 0xA0
    10  	SET_DISPLAY_START_LINE      = 0xA1
    11  	SET_DISPLAY_OFFSET          = 0xA2
    12  	SET_DISPLAY_MODE_ALLOFF     = 0xA4
    13  	SET_DISPLAY_MODE_ALLON      = 0xA5
    14  	SET_DISPLAY_MODE_RESET      = 0xA6
    15  	SET_DISPLAY_MODE_INVERT     = 0xA7
    16  	FUNCTION_SELECTION          = 0xAB
    17  	SLEEP_MODE_DISPLAY_OFF      = 0xAE
    18  	SLEEP_MODE_DISPLAY_ON       = 0xAF
    19  	SET_PHASE_PERIOD            = 0xB1
    20  	ENHANCED_DRIVING_SCHEME     = 0xB2
    21  	SET_FRONT_CLOCK_DIV         = 0xB3
    22  	SET_SEGMENT_LOW_VOLTAGE     = 0xB4
    23  	SET_GPIO                    = 0xB5
    24  	SET_SECOND_PRECHARGE_PERIOD = 0xB6
    25  	GRAY_SCALE_LOOKUP           = 0xB8
    26  	LINEAR_LUT                  = 0xB9
    27  	SET_PRECHARGE_VOLTAGE       = 0xBB
    28  	SET_VCOMH_VOLTAGE           = 0xBE
    29  	SET_CONTRAST                = 0xC1
    30  	MASTER_CONTRAST             = 0xC7
    31  	SET_MUX_RATIO               = 0xCA
    32  	NOP0                        = 0xD1
    33  	NOP1                        = 0xE3
    34  	SET_COMMAND_LOCK            = 0xFD
    35  	HORIZONTAL_SCROLL           = 0x96
    36  	STOP_MOVING                 = 0x9E
    37  	START_MOVING                = 0x9F
    38  )