PSoC 6 Peripheral Driver Library

General Description

Macros

#define CY_SEGLCD_DRV_VERSION_MAJOR   1
 Driver major version.
 
#define CY_SEGLCD_DRV_VERSION_MINOR   0
 Driver minor version.
 
#define CY_SEGLCD_ID   (CY_PDL_DRV_ID(0x40u))
 SegLCD driver ID.
 
#define CY_SEGLCD_NOT_CON   (0xFFFFFFFFUL)
 Specifies the pixel in the display pixel map array which is not connected.
 
#define CY_SEGLCD_PIXEL(segNum, comLine)   (CY_SEGLCD_ITEM(segNum, comLine))
 Makes the pixel identifier from the LCD segment terminal number and the user defined common line number. More...
 
#define CY_SEGLCD_COMMON(comNum, comLine)   (CY_SEGLCD_ITEM(comNum, comLine))
 Makes the common line identifier from the LCD common terminal number and the user defined common line number. More...
 
#define CY_SEGLCD_NUM_BLANK   ((char_t)16)
 Space/blank/empty symbol code for the numeric type of fonts.
 
#define CY_SEGLCD_14SEG_FONTMAP_SIZE   (CY_SYSLIB_DIV_ROUNDUP(CY_SEGLCD_14SEG, CY_SEGLCD_OCTET))
 14-segment fontMap array item size (in bytes)
 
#define CY_SEGLCD_16SEG_FONTMAP_SIZE   (CY_SYSLIB_DIV_ROUNDUP(CY_SEGLCD_16SEG, CY_SEGLCD_OCTET))
 16-segment fontMap array item size (in bytes)
 
#define CY_SEGLCD_5X8DM_FONTMAP_SIZE   (CY_SYSLIB_DIV_ROUNDUP(CY_SEGLCD_5X8DM, CY_SEGLCD_OCTET))
 5x8 dot matrix fontMap array item size (in bytes)
 

Macro Definition Documentation

◆ CY_SEGLCD_PIXEL

#define CY_SEGLCD_PIXEL (   segNum,
  comLine 
)    (CY_SEGLCD_ITEM(segNum, comLine))

Makes the pixel identifier from the LCD segment terminal number and the user defined common line number.

It should be used to display pixel map (pixMap) array definitions for cy_stc_seglcd_disp_t.

◆ CY_SEGLCD_COMMON

#define CY_SEGLCD_COMMON (   comNum,
  comLine 
)    (CY_SEGLCD_ITEM(comNum, comLine))

Makes the common line identifier from the LCD common terminal number and the user defined common line number.

It should be used for commons array definitions for Cy_SegLCD_ClrFrame and Cy_SegLCD_InvFrame.