Loading...
Searching...
No Matches

Default configuration for epd_bw_spi. More...

Detailed Description

Default configuration for epd_bw_spi.

Author
Silke Hofstra silke.nosp@m.@slx.nosp@m.h.eu

Definition in file epd_bw_spi_params.h.

#include "board.h"
#include "epd_bw_spi.h"
+ Include dependency graph for epd_bw_spi_params.h:

Go to the source code of this file.

#define EPD_BW_SPI_CONTROLLER_IL3829
 Configuration for IL3829 e-paper display controller.
 
#define EPD_BW_SPI_CONTROLLER_SSD1607   EPD_BW_SPI_CONTROLLER_IL3829
 Configuration for SSD1607 e-paper display controller.
 
#define EPD_BW_SPI_CONTROLLER_SSD1673
 Configuration for SSD1673 e-paper display controller.
 
#define EPD_BW_SPI_CONTROLLER_SSD1608
 Configuration for SSD1608 e-paper display controller.
 
#define EPD_BW_SPI_DISPLAY_X   (200)
 Width of the display in pixels.
 
#define EPD_BW_SPI_DISPLAY_Y   (200)
 Height of the display in pixels.
 
#define EPD_BW_SPI_PARAM_SPI   (SPI_DEV(0))
 SPI device the display is connected to.
 
#define EPD_BW_SPI_PARAM_SPI_CLK   (SPI_CLK_5MHZ)
 SPI device clock speed.
 
#define EPD_BW_SPI_PARAM_CS   (SPI_CS_UNDEF)
 SPI Chip select pin.
 
#define EPD_BW_SPI_PARAM_DC   (GPIO_UNDEF)
 Data/command pin of the display.
 
#define EPD_BW_SPI_PARAM_RST   (GPIO_UNDEF)
 Reset pin of the display.
 
#define EPD_BW_SPI_PARAM_BUSY   (GPIO_UNDEF)
 Busy pin of the display.
 
#define EPD_BW_SPI_PARAM_BUSY_VAL   (1)
 Width of the display in pixels.
 
#define EPD_BW_SPI_CONTROLLER   EPD_BW_SPI_CONTROLLER_IL3829
 Display controller.
 
#define EPD_BW_SPI_ENTRY_MODE   EPD_BW_SPI_Y_INC_X_INC
 Data entry mode.
 
#define EPD_BW_SPI_PARTIAL_REFRESH_MAX   (99)
 Maximum number of partial refreshes before a full refresh occurs.
 
#define EPD_BW_SPI_PARAMS
 Parameters to initialize the display with.
 
static const uint8_t epd_bw_spi_il3829_lut_default_full []
 Waveform lookup table for a full display refresh for IL3829.
 
static const uint8_t epd_bw_spi_il3829_lut_default_part []
 Waveform lookup table for a partial display refresh for IL3829.
 
static const epd_bw_spi_params_t epd_bw_spi_params []
 Display driver configuration.
 

Macro Definition Documentation

◆ EPD_BW_SPI_CONTROLLER

#define EPD_BW_SPI_CONTROLLER   EPD_BW_SPI_CONTROLLER_IL3829

Display controller.

See epd_bw_spi_controller_t.

Definition at line 154 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_CONTROLLER_IL3829

#define EPD_BW_SPI_CONTROLLER_IL3829
Value:
{ \
.vcom = 0xA8, \
.size_x = 200, \
.size_y = 300, \
.lut_size = sizeof epd_bw_spi_il3829_lut_default_full, \
}
static const uint8_t epd_bw_spi_il3829_lut_default_full[]
Waveform lookup table for a full display refresh for IL3829.
static const uint8_t epd_bw_spi_il3829_lut_default_part[]
Waveform lookup table for a partial display refresh for IL3829.

Configuration for IL3829 e-paper display controller.

Definition at line 49 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_CONTROLLER_SSD1607

#define EPD_BW_SPI_CONTROLLER_SSD1607   EPD_BW_SPI_CONTROLLER_IL3829

Configuration for SSD1607 e-paper display controller.

Definition at line 61 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_CONTROLLER_SSD1608

#define EPD_BW_SPI_CONTROLLER_SSD1608
Value:
{ \
.vcom = 0xA8, \
.size_x = 240, \
.size_y = 320, \
.lut_size = sizeof epd_bw_spi_il3829_lut_default_full, \
}

Configuration for SSD1608 e-paper display controller.

Definition at line 78 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_CONTROLLER_SSD1673

#define EPD_BW_SPI_CONTROLLER_SSD1673
Value:
{ \
.vcom = 0xA8, \
.size_x = 150, \
.size_y = 250, \
.lut_size = sizeof epd_bw_spi_il3829_lut_default_full, \
}

Configuration for SSD1673 e-paper display controller.

Definition at line 66 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_DISPLAY_X

#define EPD_BW_SPI_DISPLAY_X   (200)

Width of the display in pixels.

Definition at line 91 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_DISPLAY_Y

#define EPD_BW_SPI_DISPLAY_Y   (200)

Height of the display in pixels.

Definition at line 98 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_ENTRY_MODE

#define EPD_BW_SPI_ENTRY_MODE   EPD_BW_SPI_Y_INC_X_INC

Data entry mode.

See epd_bw_spi_entry_mode_t.

Definition at line 161 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_PARAM_BUSY

#define EPD_BW_SPI_PARAM_BUSY   (GPIO_UNDEF)

Busy pin of the display.

Definition at line 140 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_PARAM_BUSY_VAL

#define EPD_BW_SPI_PARAM_BUSY_VAL   (1)

Width of the display in pixels.

Definition at line 147 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_PARAM_CS

#define EPD_BW_SPI_PARAM_CS   (SPI_CS_UNDEF)

SPI Chip select pin.

Definition at line 119 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_PARAM_DC

#define EPD_BW_SPI_PARAM_DC   (GPIO_UNDEF)

Data/command pin of the display.

Definition at line 126 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_PARAM_RST

#define EPD_BW_SPI_PARAM_RST   (GPIO_UNDEF)

Reset pin of the display.

Definition at line 133 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_PARAM_SPI

#define EPD_BW_SPI_PARAM_SPI   (SPI_DEV(0))

SPI device the display is connected to.

Definition at line 105 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_PARAM_SPI_CLK

#define EPD_BW_SPI_PARAM_SPI_CLK   (SPI_CLK_5MHZ)

SPI device clock speed.

Definition at line 112 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_PARAMS

#define EPD_BW_SPI_PARAMS
Value:
.cs_pin = EPD_BW_SPI_PARAM_CS, \
.dc_pin = EPD_BW_SPI_PARAM_DC, \
.rst_pin = EPD_BW_SPI_PARAM_RST, \
.busy_pin = EPD_BW_SPI_PARAM_BUSY, \
.busy_value = EPD_BW_SPI_PARAM_BUSY_VAL, \
.controller = EPD_BW_SPI_CONTROLLER, \
.entry_mode = EPD_BW_SPI_ENTRY_MODE, \
.size_x = EPD_BW_SPI_DISPLAY_X, \
.size_y = EPD_BW_SPI_DISPLAY_Y, \
.partial_refresh_max = \
}
#define EPD_BW_SPI_PARAM_BUSY_VAL
Width of the display in pixels.
#define EPD_BW_SPI_PARAM_CS
SPI Chip select pin.
#define EPD_BW_SPI_PARAM_SPI
SPI device the display is connected to.
#define EPD_BW_SPI_PARAM_DC
Data/command pin of the display.
#define EPD_BW_SPI_CONTROLLER
Display controller.
#define EPD_BW_SPI_PARTIAL_REFRESH_MAX
Maximum number of partial refreshes before a full refresh occurs.
#define EPD_BW_SPI_PARAM_SPI_CLK
SPI device clock speed.
#define EPD_BW_SPI_PARAM_RST
Reset pin of the display.
#define EPD_BW_SPI_ENTRY_MODE
Data entry mode.
#define EPD_BW_SPI_PARAM_BUSY
Busy pin of the display.
#define EPD_BW_SPI_DISPLAY_Y
Height of the display in pixels.
#define EPD_BW_SPI_DISPLAY_X
Width of the display in pixels.

Parameters to initialize the display with.

Definition at line 177 of file epd_bw_spi_params.h.

◆ EPD_BW_SPI_PARTIAL_REFRESH_MAX

#define EPD_BW_SPI_PARTIAL_REFRESH_MAX   (99)

Maximum number of partial refreshes before a full refresh occurs.

This is only used with epd_bw_spi_init_auto and Display device generic API.

Definition at line 170 of file epd_bw_spi_params.h.

Variable Documentation

◆ epd_bw_spi_il3829_lut_default_full

const uint8_t epd_bw_spi_il3829_lut_default_full[]
static
Initial value:
= {
0x50, 0xAA, 0x55, 0xAA, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xFF, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

Waveform lookup table for a full display refresh for IL3829.

Definition at line 32 of file epd_bw_spi_params.h.

◆ epd_bw_spi_il3829_lut_default_part

const uint8_t epd_bw_spi_il3829_lut_default_part[]
static
Initial value:
= {
0x10, 0x18, 0x18, 0x08, 0x18, 0x18, 0x08, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x13, 0x14, 0x44, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }

Waveform lookup table for a partial display refresh for IL3829.

Definition at line 41 of file epd_bw_spi_params.h.

◆ epd_bw_spi_params

const epd_bw_spi_params_t epd_bw_spi_params[]
static
Initial value:
=
{
}
#define EPD_BW_SPI_PARAMS
Parameters to initialize the display with.

Display driver configuration.

Definition at line 196 of file epd_bw_spi_params.h.