Enumerated Types

group group_seglcd_enums

Enums

enum cy_en_seglcd_status_t

cy_en_seglcd_status_t: SegLCD driver error codes.

Values:

enumerator CY_SEGLCD_SUCCESS

Returned successful.

enumerator CY_SEGLCD_BAD_PARAM

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

enumerator CY_SEGLCD_BAD_PIXEL

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

enumerator CY_SEGLCD_BAD_CHAR

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

enumerator CY_SEGLCD_EXCEED

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

enumerator CY_SEGLCD_CUSTOM

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

enum cy_en_seglcd_speed_t

cy_en_seglcd_speed_t: SegLCD block speed mode.

Values:

enumerator CY_SEGLCD_SPEED_LOW

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

enumerator CY_SEGLCD_SPEED_HIGH

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

enum cy_en_seglcd_lsclk_t

cy_en_seglcd_lsclk_t: SegLCD block low speed mode clock source selection.

Values:

enumerator CY_SEGLCD_LSCLK_LF

Low Frequency source, usually connected to ILO.

enumerator CY_SEGLCD_LSCLK_MF

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

enum cy_en_seglcd_wave_t

cy_en_seglcd_wave_t: SegLCD driving waveform type.

Values:

enumerator CY_SEGLCD_TYPE_A

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

enumerator 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).

enum cy_en_seglcd_drive_t

cy_en_seglcd_drive_t: SegLCD driving mode configuration.

Values:

enumerator CY_SEGLCD_PWM

PWM mode.

enumerator CY_SEGLCD_CORRELATION

Digital Correlation mode.

enum cy_en_seglcd_bias_t

cy_en_seglcd_bias_t: SegLCD PWM bias selection.

Values:

enumerator CY_SEGLCD_BIAS_HALF

1/2 Bias.

enumerator CY_SEGLCD_BIAS_THIRD

1/3 Bias.

enumerator CY_SEGLCD_BIAS_FOURTH

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

enumerator CY_SEGLCD_BIAS_FIFTH

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

enum cy_en_seglcd_disp_t

cy_en_seglcd_disp_t: SegLCD segment display types.

Values:

enumerator CY_SEGLCD_BAR

Bar Graph / Dial display.

enumerator CY_SEGLCD_7SEG

Seven-segment display.

enumerator CY_SEGLCD_14SEG

Fourteen-segment display.

enumerator CY_SEGLCD_16SEG

Sixteen-segment display.

enumerator CY_SEGLCD_5X8DM

Five-by-eight dot matrix display.