PSoC 6 Peripheral Driver Library
Enumerated Types

General Description

Enumerations

enum  cy_en_seglcd_status_t {
  CY_SEGLCD_SUCCESS = 0x0UL,
  CY_SEGLCD_BAD_PARAM = CY_SEGLCD_ID | CY_PDL_STATUS_ERROR | 0x01UL,
  CY_SEGLCD_BAD_PIXEL = CY_SEGLCD_ID | CY_PDL_STATUS_ERROR | 0x02UL,
  CY_SEGLCD_BAD_CHAR = CY_SEGLCD_ID | CY_PDL_STATUS_ERROR | 0x04UL,
  CY_SEGLCD_EXCEED = CY_SEGLCD_ID | CY_PDL_STATUS_WARNING | 0x08UL,
  CY_SEGLCD_CUSTOM = CY_SEGLCD_ID | CY_PDL_STATUS_INFO | 0x10UL
}
 SegLCD driver error codes. More...
 
enum  cy_en_seglcd_speed_t {
  CY_SEGLCD_SPEED_LOW = 0x0UL,
  CY_SEGLCD_SPEED_HIGH = 0x1UL
}
 SegLCD block speed mode. More...
 
enum  cy_en_seglcd_lsclk_t {
  CY_SEGLCD_LSCLK_LF = 0x0UL,
  CY_SEGLCD_LSCLK_MF = 0x1UL
}
 SegLCD block low speed mode clock source selection. More...
 
enum  cy_en_seglcd_wave_t {
  CY_SEGLCD_TYPE_A = 0x0UL,
  CY_SEGLCD_TYPE_B = 0x1UL
}
 SegLCD driving waveform type. More...
 
enum  cy_en_seglcd_drive_t {
  CY_SEGLCD_PWM = 0x0UL,
  CY_SEGLCD_CORRELATION = 0x1UL
}
 SegLCD driving mode configuration. More...
 
enum  cy_en_seglcd_bias_t {
  CY_SEGLCD_BIAS_HALF = 0x0UL,
  CY_SEGLCD_BIAS_THIRD = 0x1UL,
  CY_SEGLCD_BIAS_FOURTH = 0x2UL,
  CY_SEGLCD_BIAS_FIFTH = 0x3UL
}
 SegLCD PWM bias selection. More...
 
enum  cy_en_seglcd_disp_t {
  CY_SEGLCD_BAR = 1U,
  CY_SEGLCD_7SEG = 7U,
  CY_SEGLCD_14SEG = 14U,
  CY_SEGLCD_16SEG = 16U,
  CY_SEGLCD_5X8DM = 40U
}
 SegLCD segment display types. More...
 

Enumeration Type Documentation

◆ cy_en_seglcd_status_t

SegLCD driver error codes.

Enumerator
CY_SEGLCD_SUCCESS 

Returned successful.

CY_SEGLCD_BAD_PARAM 

A bad parameter was passed (display/font pointer is NULL, position is out of display area, etc.)

CY_SEGLCD_BAD_PIXEL 

The specified pixel value is wrong or the pixel is specified as 'not connected' in the display pixMap array.

CY_SEGLCD_BAD_CHAR 

The specified character (or at least one of characters in the specified string) is not supported by the specified font.

CY_SEGLCD_EXCEED 

The string (length) or number (amount of dec/hex digits) exceeds the display limits.

CY_SEGLCD_CUSTOM 

The display/font type is custom (not defined by the cy_en_seglcd_disp_t).

◆ cy_en_seglcd_speed_t

SegLCD block speed mode.

Enumerator
CY_SEGLCD_SPEED_LOW 

Low Speed mode, works in Active, Sleep and DeepSleep power modes.

CY_SEGLCD_SPEED_HIGH 

High Speed mode, works in Active and Sleep power modes.

◆ cy_en_seglcd_lsclk_t

SegLCD block low speed mode clock source selection.

Enumerator
CY_SEGLCD_LSCLK_LF 

Low Frequency source, usually connected to ILO.

CY_SEGLCD_LSCLK_MF 

Middle Frequency source, usually connected to CLK_MF, Medium Frequency Domain Clock.

◆ cy_en_seglcd_wave_t

SegLCD driving waveform type.

Enumerator
CY_SEGLCD_TYPE_A 

Type A - Each frame addresses each COM pin only once with a balanced (DC=0) waveform.

CY_SEGLCD_TYPE_B 

Type B - Each frame addresses each COM pin twice in a sequence with a positive and negative waveform that together are balanced (DC=0).

◆ cy_en_seglcd_drive_t

SegLCD driving mode configuration.

Enumerator
CY_SEGLCD_PWM 

PWM mode.

CY_SEGLCD_CORRELATION 

Digital Correlation mode.

◆ cy_en_seglcd_bias_t

SegLCD PWM bias selection.

Enumerator
CY_SEGLCD_BIAS_HALF 

1/2 Bias.

CY_SEGLCD_BIAS_THIRD 

1/3 Bias.

CY_SEGLCD_BIAS_FOURTH 

1/4 Bias (not supported for CY_SEGLCD_SPEED_LOW mode in MXLCD_ver1).

CY_SEGLCD_BIAS_FIFTH 

1/5 Bias (not supported for CY_SEGLCD_SPEED_LOW mode in MXLCD_ver1).

◆ cy_en_seglcd_disp_t

SegLCD segment display types.

Enumerator
CY_SEGLCD_BAR 

Bar Graph / Dial display.

CY_SEGLCD_7SEG 

Seven-segment display.

CY_SEGLCD_14SEG 

Fourteen-segment display.

CY_SEGLCD_16SEG 

Sixteen-segment display.

CY_SEGLCD_5X8DM 

Five-by-eight dot matrix display.