|
|
|
Component
Init_LCD for HC08
Liquid Crystal Display (LCD)
Properties:
-
Component name - Name of the component.
-
Device - Selection of the LCD device module
-
Settings - Common LCD module settings
-
Clock settings - Clock/timing settings of the module
-
Base clock prescaler - Base clock of the LCD driver.
This item modifies LCLK[2:0] bits in the LCDCLK register
-
Base clock - LCD waveform base clock (for information only).
This item is influenced by the following properties: Base clock prescaler.
-
Duty - LCD waveform duty (for information only) is dependent on the number of backplanes used.
This item is influenced by the following properties: Display mode.
-
Cycle frame period - LCD cycle frame (for information only), the value is calculated using formula:
Cycle frame = 1 / (Base clock * Duty)
This item is influenced by the following properties: Base clock, Display mode
-
Display mode - Mode of the LCD driver which select LCD driver output waveforms. The mode of "X frontplanes x 4 backplanes" uses the first frontplane pin as the fourth backplane pin.
This item modifies DUTY[1:0] bits in the LCDCLK register
-
Number of used frontplanes - Number of used frontplanes for driving LCD modifies the list of frontplanes pins used by the component.
All derivatives: This item modifies the PCEH and PCEL bits in the CONFIG2 register.
LJ24/LK24: This item modifies also the PEE bit in the CONFIG2 register.
LV8/LT8: This item modifies also the PEE, PDE bits in the CONFIG2 register.
-
Number of used backplanes - Number of used backplanes for driving LCD. This item modifies number of backplanes pins.
-
Current mode - Current mode of the LCD output pins select the value of the resistors in resistor ladder for LCD voltages.
This item modifies LC, FC bits in the LCDCR register.
There are 3 options:
- high current: 37 kOhm resistors
- low current: 146 kOhm resistors
- fast charge: 37/146 kOhm resistors
-
Fast charge duty cycle - Fast charge duty cycle determine the duty cycle of the fast charge duration. For selected period in each cycle frame are resistor values reduced to default.
This item modifies FCCTL[1:0] bits in the LCDCLK register
-
Contrast - This property controls the bias voltage and consequently the contrast of the display. Maximum contrast is set for value 0, minimum contrast for value 15.
This item modifies LCCON[3:0] bits in the LCDCR register.
-
Pins - Module pins/signals settings
-
Initialization - Initialization options of the module
-
Call Init method - The Init method of the component may be called after power-on or reset (in initialization code) by PE.
yes - The Init method is called by PE
no - The Init method is not called by PE, it should be called in user's code
-
Enable LCD module - This item enables LCD module.
This item modifies LCDE bit in LCDCR register.
|