Synergy Software Package User's Manual

Interface for Segment LCD controllers. More...

Data Structures

struct  slcdc_cfg_t
 
struct  slcdc_api_t
 
struct  slcdc_instance_t
 

Macros

#define SLCDC_API_VERSION_MAJOR   (2U)
 

Typedefs

typedef uint8_t slcdc_size_t
 
typedef void slcdc_ctrl_t
 

Enumerations

enum  slcdc_display_state_t { SLCDC_DISPLAY_STATE_CLOSED = 0, SLCDC_DISPLAY_STATE_OPENED = 1 }
 
enum  slcdc_bias_method_t { SLCDC_BIAS_2 = 0, SLCDC_BIAS_3, SLCDC_BIAS_4 }
 
enum  slcdc_time_slice_t {
  SLCDC_STATIC = 0, SLCDC_SLICE_2 = 1, SLCDC_SLICE_3 = 2, SLCDC_SLICE_4 = 3,
  SLCDC_SLICE_8 = 5
}
 
enum  slcdc_wave_form_t { SLCDC_WAVE_A = 0, SLCDC_WAVE_B }
 
enum  slcdc_drive_volt_gen_t { SLCDC_VOLT_EXTERNAL = 0, SLCDC_VOLT_INTERNAL, SLCDC_VOLT_CAPACITOR }
 
enum  slcdc_display_area_control_blink_t { SLCDC_NOT_BLINKING = 0, SLCDC_BLINKING }
 
enum  slcdc_display_area_t { SLCDC_DISP_A = 0, SLCDC_DISP_B, SLCDC_DISP_BLINK }
 
enum  slcdc_display_on_off_t { SLCDC_DISP_OFF = 0, SLCDC_DISP_ON }
 
enum  slcdc_display_enable_disable_t { SLCDC_DISP_DISABLE = 0, SLCDC_DISP_ENABLE }
 
enum  slcdc_display_clock_t { SLCDC_CLOCK_LOCO = 0x00, SLCDC_CLOCK_SOSC = 0x01, SLCDC_CLOCK_MOSC = 0x02, SLCDC_CLOCK_HOCO = 0x03 }
 
enum  slcdc_clk_div_t {
  SLCDC_CLK_DIVISOR_LOCO_4 = 1, SLCDC_CLK_DIVISOR_LOCO_8, SLCDC_CLK_DIVISOR_LOCO_16, SLCDC_CLK_DIVISOR_LOCO_32,
  SLCDC_CLK_DIVISOR_LOCO_64, SLCDC_CLK_DIVISOR_LOCO_128, SLCDC_CLK_DIVISOR_LOCO_256, SLCDC_CLK_DIVISOR_LOCO_512,
  SLCDC_CLK_DIVISOR_LOCO_1024, SLCDC_CLK_DIVISOR_HOCO_256 = 17, SLCDC_CLK_DIVISOR_HOCO_512, SLCDC_CLK_DIVISOR_HOCO_1024,
  SLCDC_CLK_DIVISOR_HOCO_2048, SLCDC_CLK_DIVISOR_HOCO_4096, SLCDC_CLK_DIVISOR_HOCO_8192, SLCDC_CLK_DIVISOR_HOCO_16384,
  SLCDC_CLK_DIVISOR_HOCO_32768, SLCDC_CLK_DIVISOR_HOCO_65536, SLCDC_CLK_DIVISOR_HOCO_131072, SLCDC_CLK_DIVISOR_HOCO_262144,
  SLCDC_CLK_DIVISOR_HOCO_524288
}
 

Detailed Description

Interface for Segment LCD controllers.

Summary

This driver uses the Segment LCD controller (SLCDC) to display data on a Segment LCD.

Implemented by: SLCDC

Related SSP architecture topics:

SLCDC Interface description: Segment LCD Driver

Macro Definition Documentation

◆ SLCDC_API_VERSION_MAJOR

#define SLCDC_API_VERSION_MAJOR   (2U)

Register definitions, common services and error codes.

Typedef Documentation

◆ slcdc_ctrl_t

typedef void slcdc_ctrl_t

SLCDC control block. Allocate an instance specific control block to pass into the SLCDC API calls.

Implemented as
  • slcdc_instance_ctrl_tSLCDC control block

◆ slcdc_size_t

typedef uint8_t slcdc_size_t

Size definition for slcdc

Enumeration Type Documentation

◆ slcdc_bias_method_t

LCD display bias method.

Enumerator
SLCDC_BIAS_2 

1/2 bias method

SLCDC_BIAS_3 

1/3 bias method

SLCDC_BIAS_4 

1/4 bias method

◆ slcdc_clk_div_t

LCD clock settings

Enumerator
SLCDC_CLK_DIVISOR_LOCO_4 

LOCO Clock/4.

SLCDC_CLK_DIVISOR_LOCO_8 

LOCO Clock/8.

SLCDC_CLK_DIVISOR_LOCO_16 

LOCO Clock/16.

SLCDC_CLK_DIVISOR_LOCO_32 

LOCO Clock/32.

SLCDC_CLK_DIVISOR_LOCO_64 

LOCO Clock/64.

SLCDC_CLK_DIVISOR_LOCO_128 

LOCO Clock/128.

SLCDC_CLK_DIVISOR_LOCO_256 

LOCO Clock/256.

SLCDC_CLK_DIVISOR_LOCO_512 

LOCO Clock/512.

SLCDC_CLK_DIVISOR_LOCO_1024 

LOCO Clock/1024.

SLCDC_CLK_DIVISOR_HOCO_256 

HOCO Clock/256.

SLCDC_CLK_DIVISOR_HOCO_512 

HOCO Clock/512.

SLCDC_CLK_DIVISOR_HOCO_1024 

HOCO Clock/1024.

SLCDC_CLK_DIVISOR_HOCO_2048 

HOCO Clock/2048.

SLCDC_CLK_DIVISOR_HOCO_4096 

HOCO Clock/4096.

SLCDC_CLK_DIVISOR_HOCO_8192 

HOCO Clock/8192.

SLCDC_CLK_DIVISOR_HOCO_16384 

HOCO Clock/16384.

SLCDC_CLK_DIVISOR_HOCO_32768 

HOCO Clock/32768.

SLCDC_CLK_DIVISOR_HOCO_65536 

HOCO Clock/65536.

SLCDC_CLK_DIVISOR_HOCO_131072 

HOCO Clock/131072.

SLCDC_CLK_DIVISOR_HOCO_262144 

HOCO Clock/262144.

SLCDC_CLK_DIVISOR_HOCO_524288 

HOCO Clock/524288.

◆ slcdc_display_area_control_blink_t

Display Data Area Control

Enumerator
SLCDC_NOT_BLINKING 

Alternately displaying A-pattern and B-pattern area data.

SLCDC_BLINKING 

Displaying an A-pattern or B-pattern area data.

◆ slcdc_display_area_t

Display Area data

Enumerator
SLCDC_DISP_A 

Displaying an A-pattern area data.

SLCDC_DISP_B 

Displaying an B-pattern area data.

SLCDC_DISP_BLINK 

Alternatively displaying A-pattern and B-pattern area data.

◆ slcdc_display_clock_t

LCD Display clock selection

Enumerator
SLCDC_CLOCK_LOCO 

Display clock source LOCO.

SLCDC_CLOCK_SOSC 

Display clock source SOSC.

SLCDC_CLOCK_MOSC 

Display clock source MOSC.

SLCDC_CLOCK_HOCO 

Display clock source HOCO.

◆ slcdc_display_enable_disable_t

LCD Display output enable

Enumerator
SLCDC_DISP_DISABLE 

Output ground level to segment/common pin.

SLCDC_DISP_ENABLE 

Output enable.

◆ slcdc_display_on_off_t

LCD Display Enable/Disable

Enumerator
SLCDC_DISP_OFF 

Display off.

SLCDC_DISP_ON 

Display on.

◆ slcdc_display_state_t

Display interface operation state

Enumerator
SLCDC_DISPLAY_STATE_CLOSED 

Display closed.

SLCDC_DISPLAY_STATE_OPENED 

Display opened.

◆ slcdc_drive_volt_gen_t

LCD Drive Voltage Generator Select.

Enumerator
SLCDC_VOLT_EXTERNAL 

External resistance division method.

SLCDC_VOLT_INTERNAL 

Internal voltage boosting method.

SLCDC_VOLT_CAPACITOR 

Capacitor split method.

◆ slcdc_time_slice_t

Time slice of LCD display.

Enumerator
SLCDC_STATIC 

Static.

SLCDC_SLICE_2 

2-time slice

SLCDC_SLICE_3 

3-time slice

SLCDC_SLICE_4 

4-time slice

SLCDC_SLICE_8 

8-time slice

◆ slcdc_wave_form_t

LCD display waveform select.

Enumerator
SLCDC_WAVE_A 

Waveform A.

SLCDC_WAVE_B 

Waveform B.