Kinetis SDK v.1.3 API Reference Manual  Rev. 0
Freescale Semiconductor, Inc.
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
SLCD HAL driver

Overview

This section describes the programming interface of the SLCD HAL driver.

Data Structures

struct  slcd_fault_detect_config_t
 This structure describes SLCD fault detection configuration. More...
 
struct  slcd_work_mode_t
 This union structure describes SLCD work mode configuration. More...
 
struct  slcd_clk_config_t
 This structure describes SLCD clock and frame configuration. More...
 

Enumerations

enum  slcd_load_adjust_t {
  kSLCDLowLoadOrFastestClkSrc = 0U,
  kSLCDLowLoadOrIntermediateClkSrc = 1U,
  kSLCDHighLoadOrIntermediateClkSrc = 2U,
  kSLCDHighLoadOrSlowestClkSrc = 3U
}
 SLCD to handle different LCD glass capacitance. More...
 
enum  slcd_regulated_voltage_trim_t {
  kSLCDRegulatedVolatgeTrim00 = 0U,
  kSLCDRegulatedVolatgeTrim01 = 1U,
  kSLCDRegulatedVolatgeTrim02 = 2U,
  kSLCDRegulatedVolatgeTrim03 = 3U,
  kSLCDRegulatedVolatgeTrim04 = 4U,
  kSLCDRegulatedVolatgeTrim05 = 5U,
  kSLCDRegulatedVolatgeTrim06 = 6U,
  kSLCDRegulatedVolatgeTrim07 = 7U,
  kSLCDRegulatedVolatgeTrim08 = 8U,
  kSLCDRegulatedVolatgeTrim09 = 9U,
  kSLCDRegulatedVolatgeTrim10 = 10U,
  kSLCDRegulatedVolatgeTrim11 = 11U,
  kSLCDRegulatedVolatgeTrim12 = 12U,
  kSLCDRegulatedVolatgeTrim13 = 13U,
  kSLCDRegulatedVolatgeTrim14 = 14U,
  kSLCDRegulatedVolatgeTrim15 = 15U
}
 adjust the regulated voltage to meet the desired contrast More...
 
enum  slcd_alt_clk_div_t {
  kSLCDAltClkDivFactor1 = 0U,
  kSLCDAltClkDivFactor64 = 1U,
  kSLCDAltClkDivFactor256 = 2U,
  kSLCDAltClkDivFactor512 = 3U
}
 SLCD alternate clock divider. More...
 
enum  slcd_clk_src_t {
  kSLCDDefaultClk = 0U,
  kSLCDAlternateClk = 1U
}
 SLCD clock source. More...
 
enum  slcd_alt_clk_src_t {
  kSLCDAltClkSrc1 = 0U,
  kSLCDAltClkSrc2 = 1U
}
 SLCD alternate clock source. More...
 
enum  slcd_clk_prescaler_t {
  kSLCDClkPrescaler00 = 0U,
  kSLCDClkPrescaler01 = 1U,
  kSLCDClkPrescaler02 = 2U,
  kSLCDClkPrescaler03 = 3U,
  kSLCDClkPrescaler04 = 4U,
  kSLCDClkPrescaler05 = 5U,
  kSLCDClkPrescaler06 = 6U,
  kSLCDClkPrescaler07 = 7U
}
 SLCD clock prescaler to generate frame frequency. More...
 
enum  slcd_duty_cyc_t {
  kSLCD1DutyCyc = 0U,
  kSLCD1Div2DutyCyc = 1U,
  kSLCD1Div3DutyCyc = 2U,
  kSLCD1Div4DutyCyc = 3U,
  kSLCD1Div5DutyCyc = 4U,
  kSLCD1Div6DutyCyc = 5U,
  kSLCD1Div7DutyCyc = 6U,
  kSLCD1Div8DutyCyc = 7U
}
 SLCD duty cycle. More...
 
enum  slcd_phase_index_t {
  kSLCDPhaseA = 0U,
  kSLCDPhaseB = 1U,
  kSLCDPhaseC = 2U,
  kSLCDPhaseD = 3U,
  kSLCDPhaseE = 4U,
  kSLCDPhaseF = 5U,
  kSLCDPhaseG = 6U,
  kSLCDPhaseH = 7U
}
 SLCD segement index. More...
 
enum  slcd_blink_mode_t {
  kSLCDBlankDisplay = 0U,
  kSLCDAltDisplay = 1U
}
 SLCD blink mode. More...
 
enum  slcd_blink_rate_t {
  kSLCDBlinkRate00 = 0U,
  kSLCDBlinkRate01 = 1U,
  kSLCDBlinkRate02 = 2U,
  kSLCDBlinkRate03 = 3U,
  kSLCDBlinkRate04 = 4U,
  kSLCDBlinkRate05 = 5U,
  kSLCDBlinkRate06 = 6U,
  kSLCDBlinkRate07 = 7U
}
 SLCD blink rate. More...
 
enum  slcd_power_supply_option_t {
  kSLCDPowerReserved0 = 0U,
  kSLCDPowerReserved1 = 1U,
  kSLCDPowerInternalVll3AndChargePump = 2U,
  kSLCDPowerReserved2 = 3U,
  kSLCDPowerExternalVll3AndResistorNetWork = 4U,
  kSLCDPowerReserved3 = 5U,
  kSLCDPowerExternalVll3AndChargePump = 6U,
  kSLCDPowerVll1AndChargePump = 7U
}
 This structure describes SLCD power supply configuration. More...
 
enum  slcd_fault_detect_clk_prescaler_t {
  kSLCDFaultSampleFreq1BusClk = 0U,
  kSLCDFaultSampleFreq1Div2BusClk = 1U,
  kSLCDFaultSampleFreq1Div4BusClk = 2U,
  kSLCDFaultSampleFreq1Div8BusClk = 3U,
  kSLCDFaultSampleFreq1Div16BusClk = 4U,
  kSLCDFaultSampleFreq1Div32BusClk = 5U,
  kSLCDFaultSampleFreq1Div64BusClk = 6U,
  kSLCDFaultSampleFreq1Div128BusClk = 7U
}
 SLCD fault detect clock prescaler. More...
 
enum  slcd_fault_detect_sample_win_width_t {
  kSLCDFaultDetectWinWidth4SampleClk = 0U,
  kSLCDFaultDetectWinWidth8SampleClk = 1U,
  kSLCDFaultDetectWinWidth16SampleClk = 2U,
  kSLCDFaultDetectWinWidth32SampleClk = 3U,
  kSLCDFaultDetectWinWidth64SampleClk = 4U,
  kSLCDFaultDetectWinWidth128SampleClk = 5U,
  kSLCDFaultDetectWinWidth256SampleClk = 6U,
  kSLCDFaultDetectWinWidth512SampleClk = 7U
}
 SLCD fault detect sample window width. More...
 
enum  slcd_int_type_t {
  kSLCDFrameFreqInt = 1U,
  kSLCDFaultDetectionCompleteInt = 2U,
  kSLCDEnableAllInt = 3U
}
 This enum structure describes SLCD interrupt configuration. More...
 
enum  slcd_status_t {
  kStatus_SLCD_Success = 0x0U,
  kStatus_SLCD_NullArgument = 0x1U,
  kStatus_SLCD_Fail = 0x2U
}
 SLCD status return codes. More...
 

SLCD HAL.

SLCD

static void SLCD_HAL_Enable (LCD_Type *base)
 Enables the SLCD module operation. More...
 
static void SLCD_HAL_Disable (LCD_Type *base)
 Disables the SLCD module operation. More...
 
static void SLCD_HAL_SetDutyCyc (LCD_Type *base, slcd_duty_cyc_t dutyCyc)
 Configures the SLCD duty cycle. More...
 
static void SLCD_HAL_SetBlinkCmd (LCD_Type *base, bool enable)
 Configures the SLCD blink command. More...
 
static void SLCD_HAL_SetAltDisplayModeCmd (LCD_Type *base, bool enable)
 Configures the SLCD display mode. More...
 
static void SLCD_HAL_SetBlankDisplayModeCmd (LCD_Type *base, bool enable)
 Configures the SLCD blank mode. More...
 
static void SLCD_HAL_SetFaultDetectCmd (LCD_Type *base, bool enable)
 Configures the SLCD fault detection enable. More...
 
static bool SLCD_HAL_GetFaultDetectCompleteFlag (LCD_Type *base)
 Returns the SLCD fault detect complete flag. More...
 
static void SLCD_HAL_ClearFaultDetectCompleteFlag (LCD_Type *base)
 Clears the SLCD fault detect complete flag. More...
 
static uint32_t SLCD_HAL_GetFaultDetectCounter (LCD_Type *base)
 Returns the SLCD fault detect counter. More...
 
static void SLCD_HAL_SetPinsEnableCmd (LCD_Type *base, uint8_t highReg, uint32_t data)
 Configures all SLCD pins enabled states. More...
 
static void SLCD_HAL_SetBackPlanePinsEnableCmd (LCD_Type *base, uint8_t highReg, uint32_t data)
 Configures all SLCD pins type in high back plane register. More...
 
static void SLCD_HAL_SetPinWaveForm (LCD_Type *base, uint8_t pinIndex, uint8_t waveForm)
 Configures the SLCD pin waveform phase. More...
 
static void SLCD_HAL_SetBackPlanePhase (LCD_Type *base, uint8_t pinIndex, slcd_phase_index_t phase)
 Configures the SLCD pin waveform phase. More...
 
static void SLCD_HAL_SetPinWaveFormPhaseCmd (LCD_Type *base, uint8_t pinIndex, slcd_phase_index_t phaseIndex, bool enable)
 Configures the SLCD pin waveform one phase. More...
 
void SLCD_HAL_VoltageAndPowerSupplyConfig (LCD_Type *base, slcd_power_supply_option_t powerSupply, slcd_load_adjust_t loadAdjust, slcd_regulated_voltage_trim_t trim)
 Configures the SLCD voltage and power supply. More...
 
void SLCD_HAL_ClockConfig (LCD_Type *base, const slcd_clk_config_t *clkConfigPtr)
 Configures the SLCD clock. More...
 
void SLCD_HAL_BlinkingModeConfig (LCD_Type *base, const slcd_blink_config_t *blinkConfigPtr)
 Configures the SLCD blinking mode. More...
 
void SLCD_HAL_FaultDetectionConfig (LCD_Type *base, const slcd_fault_detect_config_t *faultDetectConfigPtr)
 Configures the SLCD fault detection. More...
 
void SLCD_HAL_SetLowPowerModeConfig (LCD_Type *base, const slcd_work_mode_t *workMode)
 Configures the SLCD running status in doze mode. More...
 
void SLCD_HAL_SetIntCmd (LCD_Type *base, slcd_int_type_t intType, bool enable)
 Configures the SLCD frame frequency interrupt. More...
 
void SLCD_HAL_Init (LCD_Type *base)
 Configures the SLCD to a workable state. More...
 

Data Structure Documentation

struct slcd_blink_config_t

Data Fields

slcd_blink_rate_t blinkRate
 SLCD blinking frequency configuration.
 
slcd_blink_mode_t blinkMode
 Selects the SLCD display mode during blinking period.
 
struct slcd_fault_detect_config_t

Data Fields

bool faultDetectCompleteIntEnabled
 Fault detect complete interrupt enabled or disabled.
 
bool faultDetectBackPlaneEnabled
 True means the type of pin id that fault detected is back plane otherwise front plane.
 
uint8_t faultDetectPinIndex
 Fault detected pin id from 0 to 63.
 
slcd_fault_detect_clk_prescaler_t prescaler
 Fault detected clock prescaler.
 
slcd_fault_detect_sample_win_width_t winWidth
 Fault detected sample window width.
 
struct slcd_work_mode_t

Data Fields

bool kSLCDEnableInDozeMode
 false means enabled in doze mode
 
bool kSLCDEnableInStopMode
 false means enabled in stop mode
 
struct slcd_clk_config_t

Data Fields

slcd_clk_src_t clkSrc
 Clock source.
 
slcd_alt_clk_div_t altClkDiv
 Functions as a clock divider to divide the alternate clock before it is selected as LCD clock source.
 
slcd_clk_prescaler_t clkPrescaler
 Clock prescaler.
 

Enumeration Type Documentation

Enumerator
kSLCDLowLoadOrFastestClkSrc 

Adjust the resistor bias network in low load or selects fastest clock for charge pump.

kSLCDLowLoadOrIntermediateClkSrc 

Adjust the resistor bias network in low load or selects intermediate clock for charge pump.

kSLCDHighLoadOrIntermediateClkSrc 

Adjust the resistor bias network in high load or selects intermediate clock for charge pump.

kSLCDHighLoadOrSlowestClkSrc 

Adjust the resistor bias network in high load or selects slowest clock for charge pump.

Enumerator
kSLCDRegulatedVolatgeTrim00 

Increase the voltage to 0.91 V.

kSLCDRegulatedVolatgeTrim01 

Increase the voltage to 1.01 V.

kSLCDRegulatedVolatgeTrim02 

Increase the voltage to 0.96 V.

kSLCDRegulatedVolatgeTrim03 

Increase the voltage to 1.06 V.

kSLCDRegulatedVolatgeTrim04 

Increase the voltage to 0.93 V.

kSLCDRegulatedVolatgeTrim05 

Increase the voltage to 1.02 V.

kSLCDRegulatedVolatgeTrim06 

Increase the voltage to 0.98 V.

kSLCDRegulatedVolatgeTrim07 

Increase the voltage to 1.08 V.

kSLCDRegulatedVolatgeTrim08 

Increase the voltage to 0.92 V.

kSLCDRegulatedVolatgeTrim09 

Increase the voltage to 1.02 V.

kSLCDRegulatedVolatgeTrim10 

Increase the voltage to 0.97 V.

kSLCDRegulatedVolatgeTrim11 

Increase the voltage to 1.07 V.

kSLCDRegulatedVolatgeTrim12 

Increase the voltage to 0.94 V.

kSLCDRegulatedVolatgeTrim13 

Increase the voltage to 1.05 V.

kSLCDRegulatedVolatgeTrim14 

Increase the voltage to 0.99 V.

kSLCDRegulatedVolatgeTrim15 

Increase the voltage to 1.09 V.

Enumerator
kSLCDAltClkDivFactor1 

No divide for alternate clock.

kSLCDAltClkDivFactor64 

Divide alternate clock with factor 64.

kSLCDAltClkDivFactor256 

Divide alternate clock with factor 256.

kSLCDAltClkDivFactor512 

Divide alternate clock with factor 512.

Enumerator
kSLCDDefaultClk 

Select default clock as lcd clock source.

kSLCDAlternateClk 

Select alternate clock as lcd clock source.

Enumerator
kSLCDAltClkSrc1 

Select default alternate clock.

kSLCDAltClkSrc2 

Select alternate clock source 2.

Enumerator
kSLCDClkPrescaler00 

Prescaler 0.

kSLCDClkPrescaler01 

Prescaler 1.

kSLCDClkPrescaler02 

Prescaler 2.

kSLCDClkPrescaler03 

Prescaler 3.

kSLCDClkPrescaler04 

Prescaler 4.

kSLCDClkPrescaler05 

Prescaler 5.

kSLCDClkPrescaler06 

Prescaler 6.

kSLCDClkPrescaler07 

Prescaler 7.

Enumerator
kSLCD1DutyCyc 

LCD use 1/1 duty cycle.

kSLCD1Div2DutyCyc 

LCD use 1/2 duty cycle.

kSLCD1Div3DutyCyc 

LCD use 1/3 duty cycle.

kSLCD1Div4DutyCyc 

LCD use 1/4 duty cycle.

kSLCD1Div5DutyCyc 

LCD use 1/5 duty cycle.

kSLCD1Div6DutyCyc 

LCD use 1/6 duty cycle.

kSLCD1Div7DutyCyc 

LCD use 1/7 duty cycle.

kSLCD1Div8DutyCyc 

LCD use 1/8 duty cycle.

Enumerator
kSLCDPhaseA 

LCD waveform phase A.

kSLCDPhaseB 

LCD waveform phase B.

kSLCDPhaseC 

LCD waveform phase C.

kSLCDPhaseD 

LCD waveform phase D.

kSLCDPhaseE 

LCD waveform phase E.

kSLCDPhaseF 

LCD waveform phase F.

kSLCDPhaseG 

LCD waveform phase G.

kSLCDPhaseH 

LCD waveform phase H.

Enumerator
kSLCDBlankDisplay 

Display blank during the blink period.

kSLCDAltDisplay 

Display alternate display during the blink period if duty cycle is lower than 5.

Enumerator
kSLCDBlinkRate00 

SLCD blink rate is LCD clock/((2^12))

kSLCDBlinkRate01 

SLCD blink rate is LCD clock/((2^13))

kSLCDBlinkRate02 

SLCD blink rate is LCD clock/((2^14))

kSLCDBlinkRate03 

SLCD blink rate is LCD clock/((2^15))

kSLCDBlinkRate04 

SLCD blink rate is LCD clock/((2^16))

kSLCDBlinkRate05 

SLCD blink rate is LCD clock/((2^17))

kSLCDBlinkRate06 

SLCD blink rate is LCD clock/((2^18))

kSLCDBlinkRate07 

SLCD blink rate is LCD clock/((2^19))

Enumerator
kSLCDPowerReserved0 

Unused right now.

kSLCDPowerReserved1 

Unused right now.

kSLCDPowerInternalVll3AndChargePump 

VLL3 connected to VDD internally and charge pump is used to generate VLL1 and VLL2.

kSLCDPowerReserved2 

Unused right now.

kSLCDPowerExternalVll3AndResistorNetWork 

VLL3 is driven externally and resistor bias network is used to generate VLL1 and VLL2.

kSLCDPowerReserved3 

Unused right now.

kSLCDPowerExternalVll3AndChargePump 

VLL3 is driven externally and charge pump is used to generate VLL1 and VLL2.

kSLCDPowerVll1AndChargePump 

VIREG is connected to VLL1 internally and charge pump is used to generate VLL2 and VLL3.

Enumerator
kSLCDFaultSampleFreq1BusClk 

Fault detect sample clock frequency is 1/1 bus clock.

kSLCDFaultSampleFreq1Div2BusClk 

Fault detect sample clock frequency is 1/2 bus clock.

kSLCDFaultSampleFreq1Div4BusClk 

Fault detect sample clock frequency is 1/4 bus clock.

kSLCDFaultSampleFreq1Div8BusClk 

Fault detect sample clock frequency is 1/8 bus clock.

kSLCDFaultSampleFreq1Div16BusClk 

Fault detect sample clock frequency is 1/16 bus clock.

kSLCDFaultSampleFreq1Div32BusClk 

Fault detect sample clock frequency is 1/32 bus clock.

kSLCDFaultSampleFreq1Div64BusClk 

Fault detect sample clock frequency is 1/64 bus clock.

kSLCDFaultSampleFreq1Div128BusClk 

Fault detect sample clock frequency is 1/128 bus clock.

Enumerator
kSLCDFaultDetectWinWidth4SampleClk 

Sample window width is 4 sample clock cycles.

kSLCDFaultDetectWinWidth8SampleClk 

Sample window width is 8 sample clock cycles.

kSLCDFaultDetectWinWidth16SampleClk 

Sample window width is 16 sample clock cycles.

kSLCDFaultDetectWinWidth32SampleClk 

Sample window width is 32 sample clock cycles.

kSLCDFaultDetectWinWidth64SampleClk 

Sample window width is 64 sample clock cycles.

kSLCDFaultDetectWinWidth128SampleClk 

Sample window width is 128 sample clock cycles.

kSLCDFaultDetectWinWidth256SampleClk 

Sample window width is 256 sample clock cycles.

kSLCDFaultDetectWinWidth512SampleClk 

Sample window width is 512 sample clock cycles.

Enumerator
kSLCDFrameFreqInt 

SLCD frame frequency interrupt is enabled or disabled.

kSLCDFaultDetectionCompleteInt 

SLCD fault detection complete interrupt is enabled or disabled.

kSLCDEnableAllInt 

SLCD both frame frequency and fault detection interrupts are enabled or disabled.

Enumerator
kStatus_SLCD_Success 

Succeed.

kStatus_SLCD_NullArgument 

Argument is NULL.

kStatus_SLCD_Fail 

SLCD failed.

Function Documentation

static void SLCD_HAL_Enable ( LCD_Type *  base)
inlinestatic
Parameters
baseBase address of SLCD peripheral instance.
static void SLCD_HAL_Disable ( LCD_Type *  base)
inlinestatic
Parameters
baseBase address of SLCD peripheral instance.
static void SLCD_HAL_SetDutyCyc ( LCD_Type *  base,
slcd_duty_cyc_t  dutyCyc 
)
inlinestatic
Parameters
baseBase address of SLCD peripheral instance.
dutyCycLCD duty cycle.
static void SLCD_HAL_SetBlinkCmd ( LCD_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseBase address of SLCD peripheral instance.
enableEnable/Disable SLCD blinking mode.
static void SLCD_HAL_SetAltDisplayModeCmd ( LCD_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseBase address of SLCD peripheral instance.
enableEnable/Disable SLCD alternate display mode.
static void SLCD_HAL_SetBlankDisplayModeCmd ( LCD_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseBase address of SLCD peripheral instance.
enableEnable/Disable SLCD blank mode.
static void SLCD_HAL_SetFaultDetectCmd ( LCD_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseBase address of SLCD peripheral instance.
enableEnable/Disable SLCD blank mode.
static bool SLCD_HAL_GetFaultDetectCompleteFlag ( LCD_Type *  base)
inlinestatic

This function indicates that the fault detection is completed.

Parameters
baseBase address of SLCD peripheral instance.
Returns
Fault detect complete flag state.
static void SLCD_HAL_ClearFaultDetectCompleteFlag ( LCD_Type *  base)
inlinestatic

This function clear fault detect complete flag.

Parameters
baseBase address of SLCD peripheral instance.
static uint32_t SLCD_HAL_GetFaultDetectCounter ( LCD_Type *  base)
inlinestatic
Parameters
baseBase address of SLCD peripheral instance.
Returns
Counter value.
static void SLCD_HAL_SetPinsEnableCmd ( LCD_Type *  base,
uint8_t  highReg,
uint32_t  data 
)
inlinestatic
Parameters
baseBase address of SLCD peripheral instance.
highReg0 means low pin register, 1 means high pin register.
dataSLCD pins enabled status.
static void SLCD_HAL_SetBackPlanePinsEnableCmd ( LCD_Type *  base,
uint8_t  highReg,
uint32_t  data 
)
inlinestatic
Parameters
baseBase address of SLCD peripheral instance.
highReg0 means low pin back panel register, 1 means high pin back panel register.
dataALL SLCD back plane enabled status.
static void SLCD_HAL_SetPinWaveForm ( LCD_Type *  base,
uint8_t  pinIndex,
uint8_t  waveForm 
)
inlinestatic
Parameters
baseBase address of SLCD peripheral instance.
pinIndexSLCD waveform number[0 63].
waveFormSLCD pin phase.
static void SLCD_HAL_SetBackPlanePhase ( LCD_Type *  base,
uint8_t  pinIndex,
slcd_phase_index_t  phase 
)
inlinestatic
Parameters
baseBase address of SLCD peripheral instance.
pinIndexSLCD waveform number[0 63].
phaseConfigures SLCD back plane valid phase.
static void SLCD_HAL_SetPinWaveFormPhaseCmd ( LCD_Type *  base,
uint8_t  pinIndex,
slcd_phase_index_t  phaseIndex,
bool  enable 
)
inlinestatic
Parameters
baseBase address of SLCD peripheral instance.
pinIndexSLCD waveform number[0 63].
phaseIndexSLCD pin phase.
enableEnable/Disable the specific phase for a pin.
void SLCD_HAL_VoltageAndPowerSupplyConfig ( LCD_Type *  base,
slcd_power_supply_option_t  powerSupply,
slcd_load_adjust_t  loadAdjust,
slcd_regulated_voltage_trim_t  trim 
)
Parameters
baseBase address of SLCD peripheral instance.
powerSupplySLCD power supply configuration.
loadAdjustSLCD load adjust configuration.
trimthe regulated voltage value.
void SLCD_HAL_ClockConfig ( LCD_Type *  base,
const slcd_clk_config_t clkConfigPtr 
)
Parameters
baseBase address of SLCD peripheral instance.
clkConfigPtrSLCD clock and frame configuration.
void SLCD_HAL_BlinkingModeConfig ( LCD_Type *  base,
const slcd_blink_config_t blinkConfigPtr 
)
Parameters
baseBase address of SLCD peripheral instance.
blinkConfigPtrPointer of configuring SLCD blinking mode.
void SLCD_HAL_FaultDetectionConfig ( LCD_Type *  base,
const slcd_fault_detect_config_t faultDetectConfigPtr 
)
Parameters
baseBase address of SLCD peripheral instance.
faultDetectConfigPtrSLCD fault detection configuration.
void SLCD_HAL_SetLowPowerModeConfig ( LCD_Type *  base,
const slcd_work_mode_t workMode 
)
Parameters
baseBase address of SLCD peripheral instance.
workModeConfigure SLCD work mode in doze/stop mode.
void SLCD_HAL_SetIntCmd ( LCD_Type *  base,
slcd_int_type_t  intType,
bool  enable 
)
Parameters
baseBase address of SLCD peripheral instance.
intTypeSLCD interrupt Configuration.
enableEnable or Disable interrupt.
void SLCD_HAL_Init ( LCD_Type *  base)
Parameters
baseBase address of SLCD peripheral instance.