ipsdisplay2  2.1.0.0
Macros
IPS Display 2 Registers Settings

Settings for registers of IPS Display 2 Click driver. More...

Macros

#define IPSDISPLAY2_MADCTL_DEFAULT   0x00
 IPS Display 2 MADCTL command setting. More...
 
#define IPSDISPLAY2_MADCTL_MY   0x80
 
#define IPSDISPLAY2_MADCTL_MX   0x40
 
#define IPSDISPLAY2_MADCTL_MV   0x20
 
#define IPSDISPLAY2_MADCTL_ML   0x10
 
#define IPSDISPLAY2_MADCTL_RGB   0x08
 
#define IPSDISPLAY2_MADCTL_MH   0x04
 
#define IPSDISPLAY2_COLMOD_RGB_65K   0x50
 IPS Display 2 COLMOD command setting. More...
 
#define IPSDISPLAY2_COLMOD_RGB_262K   0x60
 
#define IPSDISPLAY2_COLMOD_RGB_MASK   0x70
 
#define IPSDISPLAY2_COLMOD_CTRL_12BIT_PIXEL   0x03
 
#define IPSDISPLAY2_COLMOD_CTRL_16BIT_PIXEL   0x05
 
#define IPSDISPLAY2_COLMOD_CTRL_18BIT_PIXEL   0x06
 
#define IPSDISPLAY2_COLMOD_CTRL_16M_TRUNCATED   0x07
 
#define IPSDISPLAY2_COLMOD_CTRL_MASK   0x07
 
#define IPSDISPLAY2_PORCTRL_0_BPA_DEFAULT   0x0C
 IPS Display 2 PORCTRL command setting. More...
 
#define IPSDISPLAY2_PORCTRL_0_BPA_MASK   0x7F
 
#define IPSDISPLAY2_PORCTRL_1_FPA_DEFAULT   0x0C
 
#define IPSDISPLAY2_PORCTRL_1_FPA_MASK   0x7F
 
#define IPSDISPLAY2_PORCTRL_2_PSEN_DISABLE   0x00
 
#define IPSDISPLAY2_PORCTRL_2_PSEN_ENABLE   0x01
 
#define IPSDISPLAY2_PORCTRL_3_BPB_DEFAULT   0x30
 
#define IPSDISPLAY2_PORCTRL_3_BPB_MASK   0xF0
 
#define IPSDISPLAY2_PORCTRL_3_FPB_DEFAULT   0x03
 
#define IPSDISPLAY2_PORCTRL_3_FPB_MASK   0x0F
 
#define IPSDISPLAY2_PORCTRL_4_BPC_DEFAULT   0x30
 
#define IPSDISPLAY2_PORCTRL_4_BPC_MASK   0xF0
 
#define IPSDISPLAY2_PORCTRL_4_FPC_DEFAULT   0x03
 
#define IPSDISPLAY2_PORCTRL_4_FPC_MASK   0x0F
 
#define IPSDISPLAY2_GCTRL_VGHS_DEFAULT   0x30
 IPS Display 2 GCTRL command setting. More...
 
#define IPSDISPLAY2_GCTRL_VGHS_MASK   0x70
 
#define IPSDISPLAY2_GCTRL_VGLS_DEFAULT   0x05
 
#define IPSDISPLAY2_GCTRL_VGLS_MASK   0x07
 
#define IPSDISPLAY2_VCOMS_VCOM_DEFAULT   0x3A
 IPS Display 2 VCOMS command setting. More...
 
#define IPSDISPLAY2_VCOMS_VCOM_MASK   0x3F
 
#define IPSDISPLAY2_LCMCTRL_XMY   0x40
 IPS Display 2 LCMCTRL command setting. More...
 
#define IPSDISPLAY2_LCMCTRL_XBGR   0x20
 
#define IPSDISPLAY2_LCMCTRL_XINV   0x10
 
#define IPSDISPLAY2_LCMCTRL_XMX   0x08
 
#define IPSDISPLAY2_LCMCTRL_XMH   0x04
 
#define IPSDISPLAY2_LCMCTRL_XMV   0x02
 
#define IPSDISPLAY2_LCMCTRL_XGS   0x01
 
#define IPSDISPLAY2_VDVVRHEN_CMDEN_DISABLE   0x00
 IPS Display 2 VDVVRHEN command setting. More...
 
#define IPSDISPLAY2_VDVVRHEN_CMDEN_ENABLE   0x01
 
#define IPSDISPLAY2_VRHS_DEFAULT   0x19
 IPS Display 2 VRHS command setting. More...
 
#define IPSDISPLAY2_VRHS_MASK   0x3F
 
#define IPSDISPLAY2_VDVSET_DEFAULT   0x20
 IPS Display 2 VDVSET command setting. More...
 
#define IPSDISPLAY2_VDVSET_MASK   0x3F
 
#define IPSDISPLAY2_FRCTR2_NLA_DEFAULT   0x00
 IPS Display 2 FRCTR2 command setting. More...
 
#define IPSDISPLAY2_FRCTR2_NLA_MASK   0xE0
 
#define IPSDISPLAY2_FRCTR2_RTNA_DEFAULT   0x0F
 
#define IPSDISPLAY2_FRCTR2_RTNA_MASK   0x1F
 
#define IPSDISPLAY2_PWCTRL1_0_DEFAULT   0xA4
 IPS Display 2 PWCTRL1 command setting. More...
 
#define IPSDISPLAY2_PWCTRL1_1_AVDD_DEFAULT   0x80
 
#define IPSDISPLAY2_PWCTRL1_1_AVDD_MASK   0xC0
 
#define IPSDISPLAY2_PWCTRL1_1_AVCL_DEFAULT   0x20
 
#define IPSDISPLAY2_PWCTRL1_1_AVCL_MASK   0x30
 
#define IPSDISPLAY2_PWCTRL1_1_VDS_DEFAULT   0x01
 
#define IPSDISPLAY2_PWCTRL1_1_VDS_MASK   0x03
 
#define IPSDISPLAY2_PVGAMCTRL_0_V63P_DEFAULT   0xD0
 IPS Display 2 PVGAMCTRL command setting. More...
 
#define IPSDISPLAY2_PVGAMCTRL_0_V63P_MASK   0xF0
 
#define IPSDISPLAY2_PVGAMCTRL_0_V0P_DEFAULT   0x00
 
#define IPSDISPLAY2_PVGAMCTRL_0_V0P_MASK   0x0F
 
#define IPSDISPLAY2_PVGAMCTRL_1_V1P_DEFAULT   0x08
 
#define IPSDISPLAY2_PVGAMCTRL_1_V1P_MASK   0x3F
 
#define IPSDISPLAY2_PVGAMCTRL_2_V2P_DEFAULT   0x0E
 
#define IPSDISPLAY2_PVGAMCTRL_2_V2P_MASK   0x3F
 
#define IPSDISPLAY2_PVGAMCTRL_3_V4P_DEFAULT   0x09
 
#define IPSDISPLAY2_PVGAMCTRL_3_V4P_MASK   0x1F
 
#define IPSDISPLAY2_PVGAMCTRL_4_V6P_DEFAULT   0x09
 
#define IPSDISPLAY2_PVGAMCTRL_4_V6P_MASK   0x1F
 
#define IPSDISPLAY2_PVGAMCTRL_5_J0P_DEFAULT   0x00
 
#define IPSDISPLAY2_PVGAMCTRL_5_J0P_MASK   0x30
 
#define IPSDISPLAY2_PVGAMCTRL_5_J13P_DEFAULT   0x05
 
#define IPSDISPLAY2_PVGAMCTRL_5_J13P_MASK   0x0F
 
#define IPSDISPLAY2_PVGAMCTRL_6_V20P_DEFAULT   0x31
 
#define IPSDISPLAY2_PVGAMCTRL_6_V20P_MASK   0x7F
 
#define IPSDISPLAY2_PVGAMCTRL_7_V36P_DEFAULT   0x30
 
#define IPSDISPLAY2_PVGAMCTRL_7_V36P_MASK   0x70
 
#define IPSDISPLAY2_PVGAMCTRL_7_V27P_DEFAULT   0x03
 
#define IPSDISPLAY2_PVGAMCTRL_7_V27P_MASK   0x07
 
#define IPSDISPLAY2_PVGAMCTRL_8_V43P_DEFAULT   0x48
 
#define IPSDISPLAY2_PVGAMCTRL_8_V43P_MASK   0x7F
 
#define IPSDISPLAY2_PVGAMCTRL_9_J1P_DEFAULT   0x10
 
#define IPSDISPLAY2_PVGAMCTRL_9_11P_MASK   0x30
 
#define IPSDISPLAY2_PVGAMCTRL_9_V50P_DEFAULT   0x07
 
#define IPSDISPLAY2_PVGAMCTRL_9_V50P_MASK   0x0F
 
#define IPSDISPLAY2_PVGAMCTRL_10_V57P_DEFAULT   0x14
 
#define IPSDISPLAY2_PVGAMCTRL_10_V57P_MASK   0x1F
 
#define IPSDISPLAY2_PVGAMCTRL_11_V59P_DEFAULT   0x15
 
#define IPSDISPLAY2_PVGAMCTRL_11_V59P_MASK   0x1F
 
#define IPSDISPLAY2_PVGAMCTRL_12_V61P_DEFAULT   0x31
 
#define IPSDISPLAY2_PVGAMCTRL_12_V61P_MASK   0x3F
 
#define IPSDISPLAY2_PVGAMCTRL_13_V62P_DEFAULT   0x34
 
#define IPSDISPLAY2_PVGAMCTRL_13_V62P_MASK   0x3F
 
#define IPSDISPLAY2_NVGAMCTRL_0_V63N_DEFAULT   0xD0
 IPS Display 2 NVGAMCTRL command setting. More...
 
#define IPSDISPLAY2_NVGAMCTRL_0_V63N_MASK   0xF0
 
#define IPSDISPLAY2_NVGAMCTRL_0_V0N_DEFAULT   0x00
 
#define IPSDISPLAY2_NVGAMCTRL_0_V0N_MASK   0x0F
 
#define IPSDISPLAY2_NVGAMCTRL_1_V1N_DEFAULT   0x08
 
#define IPSDISPLAY2_NVGAMCTRL_1_V1N_MASK   0x3F
 
#define IPSDISPLAY2_NVGAMCTRL_2_V2N_DEFAULT   0x0E
 
#define IPSDISPLAY2_NVGAMCTRL_2_V2N_MASK   0x3F
 
#define IPSDISPLAY2_NVGAMCTRL_3_V4N_DEFAULT   0x09
 
#define IPSDISPLAY2_NVGAMCTRL_3_V4N_MASK   0x1F
 
#define IPSDISPLAY2_NVGAMCTRL_4_V6N_DEFAULT   0x09
 
#define IPSDISPLAY2_NVGAMCTRL_4_V6N_MASK   0x1F
 
#define IPSDISPLAY2_NVGAMCTRL_5_J0N_DEFAULT   0x10
 
#define IPSDISPLAY2_NVGAMCTRL_5_J0N_MASK   0x30
 
#define IPSDISPLAY2_NVGAMCTRL_5_J13N_DEFAULT   0x05
 
#define IPSDISPLAY2_NVGAMCTRL_5_J13N_MASK   0x0F
 
#define IPSDISPLAY2_NVGAMCTRL_6_V20N_DEFAULT   0x31
 
#define IPSDISPLAY2_NVGAMCTRL_6_V20N_MASK   0x7F
 
#define IPSDISPLAY2_NVGAMCTRL_7_V36N_DEFAULT   0x30
 
#define IPSDISPLAY2_NVGAMCTRL_7_V36N_MASK   0x70
 
#define IPSDISPLAY2_NVGAMCTRL_7_V27N_DEFAULT   0x03
 
#define IPSDISPLAY2_NVGAMCTRL_7_V27N_MASK   0x07
 
#define IPSDISPLAY2_NVGAMCTRL_8_V43N_DEFAULT   0x48
 
#define IPSDISPLAY2_NVGAMCTRL_8_V43N_MASK   0x7F
 
#define IPSDISPLAY2_NVGAMCTRL_9_J1N_DEFAULT   0x10
 
#define IPSDISPLAY2_NVGAMCTRL_9_11N_MASK   0x30
 
#define IPSDISPLAY2_NVGAMCTRL_9_V50N_DEFAULT   0x07
 
#define IPSDISPLAY2_NVGAMCTRL_9_V50N_MASK   0x0F
 
#define IPSDISPLAY2_NVGAMCTRL_10_V57N_DEFAULT   0x14
 
#define IPSDISPLAY2_NVGAMCTRL_10_V57N_MASK   0x1F
 
#define IPSDISPLAY2_NVGAMCTRL_11_V59N_DEFAULT   0x15
 
#define IPSDISPLAY2_NVGAMCTRL_11_V59N_MASK   0x1F
 
#define IPSDISPLAY2_NVGAMCTRL_12_V61N_DEFAULT   0x31
 
#define IPSDISPLAY2_NVGAMCTRL_12_V61N_MASK   0x3F
 
#define IPSDISPLAY2_NVGAMCTRL_13_V62N_DEFAULT   0x34
 
#define IPSDISPLAY2_NVGAMCTRL_13_V62N_MASK   0x3F
 
#define IPSDISPLAY2_RES_WIDTH   240
 IPS Display 2 resolution setting. More...
 
#define IPSDISPLAY2_RES_HEIGHT   240
 
#define IPSDISPLAY2_NUM_PIXELS   ( ( uint16_t ) IPSDISPLAY2_RES_WIDTH * IPSDISPLAY2_RES_HEIGHT )
 
#define IPSDISPLAY2_POS_WIDTH_MIN   0
 IPS Display 2 position and coordinates setting. More...
 
#define IPSDISPLAY2_POS_WIDTH_MAX   ( IPSDISPLAY2_RES_WIDTH - 1 )
 
#define IPSDISPLAY2_POS_HEIGHT_MIN   0
 
#define IPSDISPLAY2_POS_HEIGHT_MAX   ( IPSDISPLAY2_RES_HEIGHT - 1 )
 
#define IPSDISPLAY2_POS_OFFSET_LEFT   0
 
#define IPSDISPLAY2_POS_OFFSET_RIGHT   0
 
#define IPSDISPLAY2_POS_OFFSET_UP   0
 
#define IPSDISPLAY2_POS_OFFSET_DOWN   80
 
#define IPSDISPLAY2_FONT_WIDTH   6
 IPS Display 2 font setting. More...
 
#define IPSDISPLAY2_FONT_HEIGHT   12
 
#define IPSDISPLAY2_FONT_TEXT_SPACE   1
 
#define IPSDISPLAY2_FONT_ASCII_OFFSET   32
 
#define IPSDISPLAY2_FONT_WIDTH_MSB   0x80
 
#define IPSDISPLAY2_ROTATION_VERTICAL_0   0
 IPS Display 2 rotation setting. More...
 
#define IPSDISPLAY2_ROTATION_VERTICAL_180   1
 
#define IPSDISPLAY2_ROTATION_HORIZONTAL_0   2
 
#define IPSDISPLAY2_ROTATION_HORIZONTAL_180   3
 
#define IPSDISPLAY2_COLOR_BLACK   0x0000
 IPS Display 2 RGB565 colors definition. More...
 
#define IPSDISPLAY2_COLOR_WHITE   0xFFFF
 
#define IPSDISPLAY2_COLOR_RED   0xF800
 
#define IPSDISPLAY2_COLOR_LIME   0x07E0
 
#define IPSDISPLAY2_COLOR_BLUE   0x001F
 
#define IPSDISPLAY2_COLOR_YELLOW   0xFFE0
 
#define IPSDISPLAY2_COLOR_CYAN   0x07FF
 
#define IPSDISPLAY2_COLOR_MAGENTA   0xF81F
 
#define IPSDISPLAY2_COLOR_SILVER   0xBDF7
 
#define IPSDISPLAY2_COLOR_GRAY   0x8410
 
#define IPSDISPLAY2_COLOR_MAROON   0x8000
 
#define IPSDISPLAY2_COLOR_OLIVE   0x8400
 
#define IPSDISPLAY2_COLOR_GREEN   0x0400
 
#define IPSDISPLAY2_COLOR_PURPLE   0x8010
 
#define IPSDISPLAY2_COLOR_TEAL   0x0410
 
#define IPSDISPLAY2_COLOR_NAVY   0x0010
 
#define IPSDISPLAY2_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection. More...
 
#define IPSDISPLAY2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of IPS Display 2 Click driver.

Macro Definition Documentation

◆ IPSDISPLAY2_COLMOD_CTRL_12BIT_PIXEL

#define IPSDISPLAY2_COLMOD_CTRL_12BIT_PIXEL   0x03

◆ IPSDISPLAY2_COLMOD_CTRL_16BIT_PIXEL

#define IPSDISPLAY2_COLMOD_CTRL_16BIT_PIXEL   0x05

◆ IPSDISPLAY2_COLMOD_CTRL_16M_TRUNCATED

#define IPSDISPLAY2_COLMOD_CTRL_16M_TRUNCATED   0x07

◆ IPSDISPLAY2_COLMOD_CTRL_18BIT_PIXEL

#define IPSDISPLAY2_COLMOD_CTRL_18BIT_PIXEL   0x06

◆ IPSDISPLAY2_COLMOD_CTRL_MASK

#define IPSDISPLAY2_COLMOD_CTRL_MASK   0x07

◆ IPSDISPLAY2_COLMOD_RGB_262K

#define IPSDISPLAY2_COLMOD_RGB_262K   0x60

◆ IPSDISPLAY2_COLMOD_RGB_65K

#define IPSDISPLAY2_COLMOD_RGB_65K   0x50

IPS Display 2 COLMOD command setting.

Specified setting for COLMOD command of IPS Display 2 Click driver.

◆ IPSDISPLAY2_COLMOD_RGB_MASK

#define IPSDISPLAY2_COLMOD_RGB_MASK   0x70

◆ IPSDISPLAY2_COLOR_BLACK

#define IPSDISPLAY2_COLOR_BLACK   0x0000

IPS Display 2 RGB565 colors definition.

Specified definition for RGB565 colors of IPS Display 2 Click driver.

◆ IPSDISPLAY2_COLOR_BLUE

#define IPSDISPLAY2_COLOR_BLUE   0x001F

◆ IPSDISPLAY2_COLOR_CYAN

#define IPSDISPLAY2_COLOR_CYAN   0x07FF

◆ IPSDISPLAY2_COLOR_GRAY

#define IPSDISPLAY2_COLOR_GRAY   0x8410

◆ IPSDISPLAY2_COLOR_GREEN

#define IPSDISPLAY2_COLOR_GREEN   0x0400

◆ IPSDISPLAY2_COLOR_LIME

#define IPSDISPLAY2_COLOR_LIME   0x07E0

◆ IPSDISPLAY2_COLOR_MAGENTA

#define IPSDISPLAY2_COLOR_MAGENTA   0xF81F

◆ IPSDISPLAY2_COLOR_MAROON

#define IPSDISPLAY2_COLOR_MAROON   0x8000

◆ IPSDISPLAY2_COLOR_NAVY

#define IPSDISPLAY2_COLOR_NAVY   0x0010

◆ IPSDISPLAY2_COLOR_OLIVE

#define IPSDISPLAY2_COLOR_OLIVE   0x8400

◆ IPSDISPLAY2_COLOR_PURPLE

#define IPSDISPLAY2_COLOR_PURPLE   0x8010

◆ IPSDISPLAY2_COLOR_RED

#define IPSDISPLAY2_COLOR_RED   0xF800

◆ IPSDISPLAY2_COLOR_SILVER

#define IPSDISPLAY2_COLOR_SILVER   0xBDF7

◆ IPSDISPLAY2_COLOR_TEAL

#define IPSDISPLAY2_COLOR_TEAL   0x0410

◆ IPSDISPLAY2_COLOR_WHITE

#define IPSDISPLAY2_COLOR_WHITE   0xFFFF

◆ IPSDISPLAY2_COLOR_YELLOW

#define IPSDISPLAY2_COLOR_YELLOW   0xFFE0

◆ IPSDISPLAY2_FONT_ASCII_OFFSET

#define IPSDISPLAY2_FONT_ASCII_OFFSET   32

◆ IPSDISPLAY2_FONT_HEIGHT

#define IPSDISPLAY2_FONT_HEIGHT   12

◆ IPSDISPLAY2_FONT_TEXT_SPACE

#define IPSDISPLAY2_FONT_TEXT_SPACE   1

◆ IPSDISPLAY2_FONT_WIDTH

#define IPSDISPLAY2_FONT_WIDTH   6

IPS Display 2 font setting.

Specified setting for font of IPS Display 2 Click driver.

◆ IPSDISPLAY2_FONT_WIDTH_MSB

#define IPSDISPLAY2_FONT_WIDTH_MSB   0x80

◆ IPSDISPLAY2_FRCTR2_NLA_DEFAULT

#define IPSDISPLAY2_FRCTR2_NLA_DEFAULT   0x00

IPS Display 2 FRCTR2 command setting.

Specified setting for FRCTR2 command of IPS Display 2 Click driver.

◆ IPSDISPLAY2_FRCTR2_NLA_MASK

#define IPSDISPLAY2_FRCTR2_NLA_MASK   0xE0

◆ IPSDISPLAY2_FRCTR2_RTNA_DEFAULT

#define IPSDISPLAY2_FRCTR2_RTNA_DEFAULT   0x0F

◆ IPSDISPLAY2_FRCTR2_RTNA_MASK

#define IPSDISPLAY2_FRCTR2_RTNA_MASK   0x1F

◆ IPSDISPLAY2_GCTRL_VGHS_DEFAULT

#define IPSDISPLAY2_GCTRL_VGHS_DEFAULT   0x30

IPS Display 2 GCTRL command setting.

Specified setting for GCTRL command of IPS Display 2 Click driver.

◆ IPSDISPLAY2_GCTRL_VGHS_MASK

#define IPSDISPLAY2_GCTRL_VGHS_MASK   0x70

◆ IPSDISPLAY2_GCTRL_VGLS_DEFAULT

#define IPSDISPLAY2_GCTRL_VGLS_DEFAULT   0x05

◆ IPSDISPLAY2_GCTRL_VGLS_MASK

#define IPSDISPLAY2_GCTRL_VGLS_MASK   0x07

◆ IPSDISPLAY2_LCMCTRL_XBGR

#define IPSDISPLAY2_LCMCTRL_XBGR   0x20

◆ IPSDISPLAY2_LCMCTRL_XGS

#define IPSDISPLAY2_LCMCTRL_XGS   0x01

◆ IPSDISPLAY2_LCMCTRL_XINV

#define IPSDISPLAY2_LCMCTRL_XINV   0x10

◆ IPSDISPLAY2_LCMCTRL_XMH

#define IPSDISPLAY2_LCMCTRL_XMH   0x04

◆ IPSDISPLAY2_LCMCTRL_XMV

#define IPSDISPLAY2_LCMCTRL_XMV   0x02

◆ IPSDISPLAY2_LCMCTRL_XMX

#define IPSDISPLAY2_LCMCTRL_XMX   0x08

◆ IPSDISPLAY2_LCMCTRL_XMY

#define IPSDISPLAY2_LCMCTRL_XMY   0x40

IPS Display 2 LCMCTRL command setting.

Specified setting for LCMCTRL command of IPS Display 2 Click driver.

◆ IPSDISPLAY2_MADCTL_DEFAULT

#define IPSDISPLAY2_MADCTL_DEFAULT   0x00

IPS Display 2 MADCTL command setting.

Specified setting for MADCTL command of IPS Display 2 Click driver.

◆ IPSDISPLAY2_MADCTL_MH

#define IPSDISPLAY2_MADCTL_MH   0x04

◆ IPSDISPLAY2_MADCTL_ML

#define IPSDISPLAY2_MADCTL_ML   0x10

◆ IPSDISPLAY2_MADCTL_MV

#define IPSDISPLAY2_MADCTL_MV   0x20

◆ IPSDISPLAY2_MADCTL_MX

#define IPSDISPLAY2_MADCTL_MX   0x40

◆ IPSDISPLAY2_MADCTL_MY

#define IPSDISPLAY2_MADCTL_MY   0x80

◆ IPSDISPLAY2_MADCTL_RGB

#define IPSDISPLAY2_MADCTL_RGB   0x08

◆ IPSDISPLAY2_NUM_PIXELS

#define IPSDISPLAY2_NUM_PIXELS   ( ( uint16_t ) IPSDISPLAY2_RES_WIDTH * IPSDISPLAY2_RES_HEIGHT )

◆ IPSDISPLAY2_NVGAMCTRL_0_V0N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_0_V0N_DEFAULT   0x00

◆ IPSDISPLAY2_NVGAMCTRL_0_V0N_MASK

#define IPSDISPLAY2_NVGAMCTRL_0_V0N_MASK   0x0F

◆ IPSDISPLAY2_NVGAMCTRL_0_V63N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_0_V63N_DEFAULT   0xD0

IPS Display 2 NVGAMCTRL command setting.

Specified setting for NVGAMCTRL command of IPS Display 2 Click driver.

◆ IPSDISPLAY2_NVGAMCTRL_0_V63N_MASK

#define IPSDISPLAY2_NVGAMCTRL_0_V63N_MASK   0xF0

◆ IPSDISPLAY2_NVGAMCTRL_10_V57N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_10_V57N_DEFAULT   0x14

◆ IPSDISPLAY2_NVGAMCTRL_10_V57N_MASK

#define IPSDISPLAY2_NVGAMCTRL_10_V57N_MASK   0x1F

◆ IPSDISPLAY2_NVGAMCTRL_11_V59N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_11_V59N_DEFAULT   0x15

◆ IPSDISPLAY2_NVGAMCTRL_11_V59N_MASK

#define IPSDISPLAY2_NVGAMCTRL_11_V59N_MASK   0x1F

◆ IPSDISPLAY2_NVGAMCTRL_12_V61N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_12_V61N_DEFAULT   0x31

◆ IPSDISPLAY2_NVGAMCTRL_12_V61N_MASK

#define IPSDISPLAY2_NVGAMCTRL_12_V61N_MASK   0x3F

◆ IPSDISPLAY2_NVGAMCTRL_13_V62N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_13_V62N_DEFAULT   0x34

◆ IPSDISPLAY2_NVGAMCTRL_13_V62N_MASK

#define IPSDISPLAY2_NVGAMCTRL_13_V62N_MASK   0x3F

◆ IPSDISPLAY2_NVGAMCTRL_1_V1N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_1_V1N_DEFAULT   0x08

◆ IPSDISPLAY2_NVGAMCTRL_1_V1N_MASK

#define IPSDISPLAY2_NVGAMCTRL_1_V1N_MASK   0x3F

◆ IPSDISPLAY2_NVGAMCTRL_2_V2N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_2_V2N_DEFAULT   0x0E

◆ IPSDISPLAY2_NVGAMCTRL_2_V2N_MASK

#define IPSDISPLAY2_NVGAMCTRL_2_V2N_MASK   0x3F

◆ IPSDISPLAY2_NVGAMCTRL_3_V4N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_3_V4N_DEFAULT   0x09

◆ IPSDISPLAY2_NVGAMCTRL_3_V4N_MASK

#define IPSDISPLAY2_NVGAMCTRL_3_V4N_MASK   0x1F

◆ IPSDISPLAY2_NVGAMCTRL_4_V6N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_4_V6N_DEFAULT   0x09

◆ IPSDISPLAY2_NVGAMCTRL_4_V6N_MASK

#define IPSDISPLAY2_NVGAMCTRL_4_V6N_MASK   0x1F

◆ IPSDISPLAY2_NVGAMCTRL_5_J0N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_5_J0N_DEFAULT   0x10

◆ IPSDISPLAY2_NVGAMCTRL_5_J0N_MASK

#define IPSDISPLAY2_NVGAMCTRL_5_J0N_MASK   0x30

◆ IPSDISPLAY2_NVGAMCTRL_5_J13N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_5_J13N_DEFAULT   0x05

◆ IPSDISPLAY2_NVGAMCTRL_5_J13N_MASK

#define IPSDISPLAY2_NVGAMCTRL_5_J13N_MASK   0x0F

◆ IPSDISPLAY2_NVGAMCTRL_6_V20N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_6_V20N_DEFAULT   0x31

◆ IPSDISPLAY2_NVGAMCTRL_6_V20N_MASK

#define IPSDISPLAY2_NVGAMCTRL_6_V20N_MASK   0x7F

◆ IPSDISPLAY2_NVGAMCTRL_7_V27N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_7_V27N_DEFAULT   0x03

◆ IPSDISPLAY2_NVGAMCTRL_7_V27N_MASK

#define IPSDISPLAY2_NVGAMCTRL_7_V27N_MASK   0x07

◆ IPSDISPLAY2_NVGAMCTRL_7_V36N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_7_V36N_DEFAULT   0x30

◆ IPSDISPLAY2_NVGAMCTRL_7_V36N_MASK

#define IPSDISPLAY2_NVGAMCTRL_7_V36N_MASK   0x70

◆ IPSDISPLAY2_NVGAMCTRL_8_V43N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_8_V43N_DEFAULT   0x48

◆ IPSDISPLAY2_NVGAMCTRL_8_V43N_MASK

#define IPSDISPLAY2_NVGAMCTRL_8_V43N_MASK   0x7F

◆ IPSDISPLAY2_NVGAMCTRL_9_11N_MASK

#define IPSDISPLAY2_NVGAMCTRL_9_11N_MASK   0x30

◆ IPSDISPLAY2_NVGAMCTRL_9_J1N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_9_J1N_DEFAULT   0x10

◆ IPSDISPLAY2_NVGAMCTRL_9_V50N_DEFAULT

#define IPSDISPLAY2_NVGAMCTRL_9_V50N_DEFAULT   0x07

◆ IPSDISPLAY2_NVGAMCTRL_9_V50N_MASK

#define IPSDISPLAY2_NVGAMCTRL_9_V50N_MASK   0x0F

◆ IPSDISPLAY2_PORCTRL_0_BPA_DEFAULT

#define IPSDISPLAY2_PORCTRL_0_BPA_DEFAULT   0x0C

IPS Display 2 PORCTRL command setting.

Specified setting for PORCTRL command of IPS Display 2 Click driver.

◆ IPSDISPLAY2_PORCTRL_0_BPA_MASK

#define IPSDISPLAY2_PORCTRL_0_BPA_MASK   0x7F

◆ IPSDISPLAY2_PORCTRL_1_FPA_DEFAULT

#define IPSDISPLAY2_PORCTRL_1_FPA_DEFAULT   0x0C

◆ IPSDISPLAY2_PORCTRL_1_FPA_MASK

#define IPSDISPLAY2_PORCTRL_1_FPA_MASK   0x7F

◆ IPSDISPLAY2_PORCTRL_2_PSEN_DISABLE

#define IPSDISPLAY2_PORCTRL_2_PSEN_DISABLE   0x00

◆ IPSDISPLAY2_PORCTRL_2_PSEN_ENABLE

#define IPSDISPLAY2_PORCTRL_2_PSEN_ENABLE   0x01

◆ IPSDISPLAY2_PORCTRL_3_BPB_DEFAULT

#define IPSDISPLAY2_PORCTRL_3_BPB_DEFAULT   0x30

◆ IPSDISPLAY2_PORCTRL_3_BPB_MASK

#define IPSDISPLAY2_PORCTRL_3_BPB_MASK   0xF0

◆ IPSDISPLAY2_PORCTRL_3_FPB_DEFAULT

#define IPSDISPLAY2_PORCTRL_3_FPB_DEFAULT   0x03

◆ IPSDISPLAY2_PORCTRL_3_FPB_MASK

#define IPSDISPLAY2_PORCTRL_3_FPB_MASK   0x0F

◆ IPSDISPLAY2_PORCTRL_4_BPC_DEFAULT

#define IPSDISPLAY2_PORCTRL_4_BPC_DEFAULT   0x30

◆ IPSDISPLAY2_PORCTRL_4_BPC_MASK

#define IPSDISPLAY2_PORCTRL_4_BPC_MASK   0xF0

◆ IPSDISPLAY2_PORCTRL_4_FPC_DEFAULT

#define IPSDISPLAY2_PORCTRL_4_FPC_DEFAULT   0x03

◆ IPSDISPLAY2_PORCTRL_4_FPC_MASK

#define IPSDISPLAY2_PORCTRL_4_FPC_MASK   0x0F

◆ IPSDISPLAY2_POS_HEIGHT_MAX

#define IPSDISPLAY2_POS_HEIGHT_MAX   ( IPSDISPLAY2_RES_HEIGHT - 1 )

◆ IPSDISPLAY2_POS_HEIGHT_MIN

#define IPSDISPLAY2_POS_HEIGHT_MIN   0

◆ IPSDISPLAY2_POS_OFFSET_DOWN

#define IPSDISPLAY2_POS_OFFSET_DOWN   80

◆ IPSDISPLAY2_POS_OFFSET_LEFT

#define IPSDISPLAY2_POS_OFFSET_LEFT   0

◆ IPSDISPLAY2_POS_OFFSET_RIGHT

#define IPSDISPLAY2_POS_OFFSET_RIGHT   0

◆ IPSDISPLAY2_POS_OFFSET_UP

#define IPSDISPLAY2_POS_OFFSET_UP   0

◆ IPSDISPLAY2_POS_WIDTH_MAX

#define IPSDISPLAY2_POS_WIDTH_MAX   ( IPSDISPLAY2_RES_WIDTH - 1 )

◆ IPSDISPLAY2_POS_WIDTH_MIN

#define IPSDISPLAY2_POS_WIDTH_MIN   0

IPS Display 2 position and coordinates setting.

Specified setting for display position and coordinates of IPS Display 2 Click driver.

◆ IPSDISPLAY2_PVGAMCTRL_0_V0P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_0_V0P_DEFAULT   0x00

◆ IPSDISPLAY2_PVGAMCTRL_0_V0P_MASK

#define IPSDISPLAY2_PVGAMCTRL_0_V0P_MASK   0x0F

◆ IPSDISPLAY2_PVGAMCTRL_0_V63P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_0_V63P_DEFAULT   0xD0

IPS Display 2 PVGAMCTRL command setting.

Specified setting for PVGAMCTRL command of IPS Display 2 Click driver.

◆ IPSDISPLAY2_PVGAMCTRL_0_V63P_MASK

#define IPSDISPLAY2_PVGAMCTRL_0_V63P_MASK   0xF0

◆ IPSDISPLAY2_PVGAMCTRL_10_V57P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_10_V57P_DEFAULT   0x14

◆ IPSDISPLAY2_PVGAMCTRL_10_V57P_MASK

#define IPSDISPLAY2_PVGAMCTRL_10_V57P_MASK   0x1F

◆ IPSDISPLAY2_PVGAMCTRL_11_V59P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_11_V59P_DEFAULT   0x15

◆ IPSDISPLAY2_PVGAMCTRL_11_V59P_MASK

#define IPSDISPLAY2_PVGAMCTRL_11_V59P_MASK   0x1F

◆ IPSDISPLAY2_PVGAMCTRL_12_V61P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_12_V61P_DEFAULT   0x31

◆ IPSDISPLAY2_PVGAMCTRL_12_V61P_MASK

#define IPSDISPLAY2_PVGAMCTRL_12_V61P_MASK   0x3F

◆ IPSDISPLAY2_PVGAMCTRL_13_V62P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_13_V62P_DEFAULT   0x34

◆ IPSDISPLAY2_PVGAMCTRL_13_V62P_MASK

#define IPSDISPLAY2_PVGAMCTRL_13_V62P_MASK   0x3F

◆ IPSDISPLAY2_PVGAMCTRL_1_V1P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_1_V1P_DEFAULT   0x08

◆ IPSDISPLAY2_PVGAMCTRL_1_V1P_MASK

#define IPSDISPLAY2_PVGAMCTRL_1_V1P_MASK   0x3F

◆ IPSDISPLAY2_PVGAMCTRL_2_V2P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_2_V2P_DEFAULT   0x0E

◆ IPSDISPLAY2_PVGAMCTRL_2_V2P_MASK

#define IPSDISPLAY2_PVGAMCTRL_2_V2P_MASK   0x3F

◆ IPSDISPLAY2_PVGAMCTRL_3_V4P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_3_V4P_DEFAULT   0x09

◆ IPSDISPLAY2_PVGAMCTRL_3_V4P_MASK

#define IPSDISPLAY2_PVGAMCTRL_3_V4P_MASK   0x1F

◆ IPSDISPLAY2_PVGAMCTRL_4_V6P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_4_V6P_DEFAULT   0x09

◆ IPSDISPLAY2_PVGAMCTRL_4_V6P_MASK

#define IPSDISPLAY2_PVGAMCTRL_4_V6P_MASK   0x1F

◆ IPSDISPLAY2_PVGAMCTRL_5_J0P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_5_J0P_DEFAULT   0x00

◆ IPSDISPLAY2_PVGAMCTRL_5_J0P_MASK

#define IPSDISPLAY2_PVGAMCTRL_5_J0P_MASK   0x30

◆ IPSDISPLAY2_PVGAMCTRL_5_J13P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_5_J13P_DEFAULT   0x05

◆ IPSDISPLAY2_PVGAMCTRL_5_J13P_MASK

#define IPSDISPLAY2_PVGAMCTRL_5_J13P_MASK   0x0F

◆ IPSDISPLAY2_PVGAMCTRL_6_V20P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_6_V20P_DEFAULT   0x31

◆ IPSDISPLAY2_PVGAMCTRL_6_V20P_MASK

#define IPSDISPLAY2_PVGAMCTRL_6_V20P_MASK   0x7F

◆ IPSDISPLAY2_PVGAMCTRL_7_V27P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_7_V27P_DEFAULT   0x03

◆ IPSDISPLAY2_PVGAMCTRL_7_V27P_MASK

#define IPSDISPLAY2_PVGAMCTRL_7_V27P_MASK   0x07

◆ IPSDISPLAY2_PVGAMCTRL_7_V36P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_7_V36P_DEFAULT   0x30

◆ IPSDISPLAY2_PVGAMCTRL_7_V36P_MASK

#define IPSDISPLAY2_PVGAMCTRL_7_V36P_MASK   0x70

◆ IPSDISPLAY2_PVGAMCTRL_8_V43P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_8_V43P_DEFAULT   0x48

◆ IPSDISPLAY2_PVGAMCTRL_8_V43P_MASK

#define IPSDISPLAY2_PVGAMCTRL_8_V43P_MASK   0x7F

◆ IPSDISPLAY2_PVGAMCTRL_9_11P_MASK

#define IPSDISPLAY2_PVGAMCTRL_9_11P_MASK   0x30

◆ IPSDISPLAY2_PVGAMCTRL_9_J1P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_9_J1P_DEFAULT   0x10

◆ IPSDISPLAY2_PVGAMCTRL_9_V50P_DEFAULT

#define IPSDISPLAY2_PVGAMCTRL_9_V50P_DEFAULT   0x07

◆ IPSDISPLAY2_PVGAMCTRL_9_V50P_MASK

#define IPSDISPLAY2_PVGAMCTRL_9_V50P_MASK   0x0F

◆ IPSDISPLAY2_PWCTRL1_0_DEFAULT

#define IPSDISPLAY2_PWCTRL1_0_DEFAULT   0xA4

IPS Display 2 PWCTRL1 command setting.

Specified setting for PWCTRL1 command of IPS Display 2 Click driver.

◆ IPSDISPLAY2_PWCTRL1_1_AVCL_DEFAULT

#define IPSDISPLAY2_PWCTRL1_1_AVCL_DEFAULT   0x20

◆ IPSDISPLAY2_PWCTRL1_1_AVCL_MASK

#define IPSDISPLAY2_PWCTRL1_1_AVCL_MASK   0x30

◆ IPSDISPLAY2_PWCTRL1_1_AVDD_DEFAULT

#define IPSDISPLAY2_PWCTRL1_1_AVDD_DEFAULT   0x80

◆ IPSDISPLAY2_PWCTRL1_1_AVDD_MASK

#define IPSDISPLAY2_PWCTRL1_1_AVDD_MASK   0xC0

◆ IPSDISPLAY2_PWCTRL1_1_VDS_DEFAULT

#define IPSDISPLAY2_PWCTRL1_1_VDS_DEFAULT   0x01

◆ IPSDISPLAY2_PWCTRL1_1_VDS_MASK

#define IPSDISPLAY2_PWCTRL1_1_VDS_MASK   0x03

◆ IPSDISPLAY2_RES_HEIGHT

#define IPSDISPLAY2_RES_HEIGHT   240

◆ IPSDISPLAY2_RES_WIDTH

#define IPSDISPLAY2_RES_WIDTH   240

IPS Display 2 resolution setting.

Specified setting for display resolution of IPS Display 2 Click driver.

◆ IPSDISPLAY2_ROTATION_HORIZONTAL_0

#define IPSDISPLAY2_ROTATION_HORIZONTAL_0   2

◆ IPSDISPLAY2_ROTATION_HORIZONTAL_180

#define IPSDISPLAY2_ROTATION_HORIZONTAL_180   3

◆ IPSDISPLAY2_ROTATION_VERTICAL_0

#define IPSDISPLAY2_ROTATION_VERTICAL_0   0

IPS Display 2 rotation setting.

Specified setting for rotation of IPS Display 2 Click driver.

◆ IPSDISPLAY2_ROTATION_VERTICAL_180

#define IPSDISPLAY2_ROTATION_VERTICAL_180   1

◆ IPSDISPLAY2_SET_DATA_SAMPLE_EDGE

#define IPSDISPLAY2_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Data sample selection.

This macro sets data samples for SPI modules.

Note
Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with ipsdisplay2_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ IPSDISPLAY2_SET_DATA_SAMPLE_MIDDLE

#define IPSDISPLAY2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ IPSDISPLAY2_VCOMS_VCOM_DEFAULT

#define IPSDISPLAY2_VCOMS_VCOM_DEFAULT   0x3A

IPS Display 2 VCOMS command setting.

Specified setting for VCOMS command of IPS Display 2 Click driver.

◆ IPSDISPLAY2_VCOMS_VCOM_MASK

#define IPSDISPLAY2_VCOMS_VCOM_MASK   0x3F

◆ IPSDISPLAY2_VDVSET_DEFAULT

#define IPSDISPLAY2_VDVSET_DEFAULT   0x20

IPS Display 2 VDVSET command setting.

Specified setting for VDVSET command of IPS Display 2 Click driver.

◆ IPSDISPLAY2_VDVSET_MASK

#define IPSDISPLAY2_VDVSET_MASK   0x3F

◆ IPSDISPLAY2_VDVVRHEN_CMDEN_DISABLE

#define IPSDISPLAY2_VDVVRHEN_CMDEN_DISABLE   0x00

IPS Display 2 VDVVRHEN command setting.

Specified setting for VDVVRHEN command of IPS Display 2 Click driver.

◆ IPSDISPLAY2_VDVVRHEN_CMDEN_ENABLE

#define IPSDISPLAY2_VDVVRHEN_CMDEN_ENABLE   0x01

◆ IPSDISPLAY2_VRHS_DEFAULT

#define IPSDISPLAY2_VRHS_DEFAULT   0x19

IPS Display 2 VRHS command setting.

Specified setting for VRHS command of IPS Display 2 Click driver.

◆ IPSDISPLAY2_VRHS_MASK

#define IPSDISPLAY2_VRHS_MASK   0x3F