|
|
|
Component
Init_LCD for HCS08
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
-
Clock source select - The LCD module has two possible clock sources. This item is used to select which clock source is the basis for LCD.
LC60, LC36: This item modifies SOURCE bits in the LCDCLKS register Other:This item modifies SOURCE bits in the LCDC0 register
There are 2 options:
- ICGERCLK: ICGERCLK - External clock reference
- ICGOUT/2: ICGOUT/2 - bus clock
-
Settings only for LCD V1
-
Extra prescaler by 16 - This item enables/disables LCD clock prescaler by 16..
This item modifies the DIV16 bit in the LCDCLKS register.
-
Clock source divider - This bit field is used as a clock divider to adjust the LCD clock source to be approximately 32.768 kHz.
This item modifies CLKADJ[5:0] bits in the LCDCLKS register.
-
Base clock prescaler - Waveform base clock prescaler of the LCD driver.
This item modifies
LC60: LCLK[2:0] bits in the LCDCR0 register
Other derivatives: LCLK[2:0] bits in the LCDC0 register
-
LCD module clock - LCD module clock (for information only).
This item is influenced by the following properties: Clock source select, Extra prescaler by 16 (LC60 only), Clock source divider (LC60 only).
-
Base clock - LCD waveform base clock (for information only).
This item is influenced by the following properties: Clock source select, Base clock prescaler, Extra prescaler by 16 (LC60 only), Clock source divider (LC60 only), Duty cycle (LCD ver. 2 only).
-
Charge pump clock adjust - This item adjusts the clock source for the charge pump.
LC60: The item modifies CPCADJ[1:0] bits in the LCDSUPPLY register.
Other: The item modifies LADJ[1:0] bits in the LCDSUPPLY register.
-
Charge pump clock - LCD module Charge Pump Clock (for information only).
This item is influenced by the following properties: Clock source select, Extra prescaler by 16 (LC60 only), Clock source divider (LC60 only), Charge pump clock adjust.
-
Blink rate bits value - This item selects the frequency at which the LCD display blinks when the BLINK is asserted.
The item modifies BRATE[2:0] bits in the LCDBCTL register.
-
Blink rate - LCD display blink rate (for information only).
This item is influenced by the following properties: Clock source select, Extra prescaler by 16 (LC60 only), Clock source divider (LC60 only), Blink rate configuration.
-
Display mode - This item selects the duty cycle of the LCD module driver.
LC60: This item modifies DUTY[1:0] bits in the LCDCLK register
Other: This item modifies DUTY[2:0] bits in the LCDC0 register
-
Duty - Duty value (for information only).
This item is influenced by the following properties: Display mode.
-
Frame frequency - Frame frequency value (for information only).
This item is influenced by the following properties: Clock source select, Base clock prescaler, Extra prescaler by 16 (LC60 only), Clock source divider (LC60 only), Display mode.
-
Stop in Wait mode - Allows or disables the LCD driver and charge pump whenever the MCU goes into wait mode.
This item modifies
LC60: LCDWAI bit in the LCDCR1 register.
Other derivatives: LCDWAI bit in the LCDC1 register.
-
Stop in Stop mode - Allows or disables the LCD driver and charge pump whenever the MCU goes into Stop mode.
This item modifies
LC60: LCDSTP bit in the LCDCR1 register.
Other derivatives: LCDSTP bit in the LCDC1 register.
-
Settings only for LCD V2
-
Full complementary drive - If enabled, GPIO shared with LCD pins will operate as full complementary outputs.
This item modifies FCDEN bit in LCDC1 register.
-
Settings only for LCD V1
-
LCD waveform type - A LCD waveform type. The LCD module provide two different LCD waveform types including one that is recommended for low-power applications.
This item modifies the LPWAVE bit in the LCDCR0 register
-
Drive buffer mode - High Drive Buffer Mode Select.
The item modifies the HDRVBUF bit in the LCDSUPPLY register
-
Settings only if LCD support Charge pump
-
Charge pump - This item enables/disables LCD module charge pump for 1/3 bias.
LC60: The item modifies the LCDCPEN bit in the LCDSUPPLY register.
Other: The item modifies the CPSEL bit in the LCDSUPPLY register.
-
Settings only if LCD support OpAmp bypass control
-
Op Amp control - Determines whether the internal LCD op amp buffer is bypassed.
The item modifies the BBYPASS bit in the LCDSUPPLY register
-
Settings only if LCD support Voltage regulator.
-
Charge pump mode - LC60 derivative: This item configures the internal charge pump to be a voltage doubler (recommended for use with 3-V LCD glass) or a voltage tripler (recommended for use with 5-V LCD glass).
The item modifies the LCDCPMS bit in the LCDSUPPLY register.
Other derivatives: When using Vlcd Vireg inputs, this property configures internal circuits to supply Vll1.
Voltage doubler = Divide input, Vlcd IN = Vlcdext * 2/3, Vireg = 1.0V
Voltage tripler = Not divide input, Vlcd IN = Vlcdext * 3/3, Vireg = 1.67V
The item modifies the HREFSEL bit in the LCDSUPPLY register
-
Settings only for LCD V2
-
Regulated voltage - Enables internal voltage regulator.
This item modifies RVEN bit in LCDRVC register.
-
Regulated voltage trim - The value adjust the regulated voltage value. The regulated input is changed by 1.5 % for each bit.
This item modifies RVTRIM[3:0] bits in LCDRVC register.
-
Voltage supply control - This item configures whether the LCD module power supply is external or internal.
The item modifies VSUPPLY[1:0] bits in the LCDSUPPLY register.
-
Blink mode select - 9S08LC60: This item configures whether to blink either individual LCD segments or the entire LCD panel.
The item modifies the BLKMODE bit in the LCDBCTL register.
Other derivatives: This item configures whether the display is blank during blink period or diplays the alternate display during blink period.
The item modifies the BMODE bit in the LCDBCTL register.
-
Settings only for LCD V1
-
Data register mode select - The item controls access to two different groups of LCDRAM registers for On/Off control or blink control of a LCD segment.
The item modifies the LCDDRMS bit in the LCDCMD register.
-
Pins - Module pins/signals settings
-
Frontplane pins - Frontplane pins which are allocated by this LCD driver.
One Item of the list looks like:
Frontplane pin0 - One frontplane pin.
-
Backplane pin 0 - Backplane pin. The pin is enabled for LCD module and configured as a backplain. This item is modified by Display mode property.
LC60: No write to a register Other derivatives: This item modifies LCDBPEN and LCDPEN register.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Backplane pin 1 - Backplane pin. The pin is enabled for LCD module and configured as a backplain. This item is modified by Display mode property.
LC60: No write to a register Other derivatives: This item modifies LCDBPEN and LCDPEN register.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Backplane pin 2 - Backplane pin. The pin is enabled for LCD module and configured as a backplain. This item is modified by Display mode property.
LC60: No write to a register Other derivatives: This item modifies LCDBPEN and LCDPEN register.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Backplane pin 3 - Backplane pin. The pin is enabled for LCD module and configured as a backplain. This item is modified by Display mode property.
LC60: No write to a register Other derivatives: This item modifies LCDBPEN and LCDPEN register.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Backplane pin 4 - Backplane pin. The pin is enabled for LCD module and configured as a backplain. This item is modified by Display mode property.
LC60: No write to a register Other derivatives: This item modifies LCDBPEN and LCDPEN register.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Backplane pin 5 - Backplane pin. The pin is enabled for LCD module and configured as a backplain. This item is modified by Display mode property.
LC60: No write to a register Other derivatives: This item modifies LCDBPEN and LCDPEN register.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Backplane pin 6 - Backplane pin. The pin is enabled for LCD module and configured as a backplain. This item is modified by Display mode property.
LC60: No write to a register Other derivatives: This item modifies LCDBPEN and LCDPEN register.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Backplane pin 7 - Backplane pin. The pin is enabled for LCD module and configured as a backplain. This item is modified by Display mode property.
LC60: No write to a register Other derivatives: This item modifies LCDBPEN and LCDPEN register.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Settings only for LCD V1
-
Segments - Segments initialization section. Additional registers of the module which are initialized.
-
Interrupts - Interrupts settings of the module.
-
Settings not supported for Freescale RS08 derivatives.
-
Interrupt - Interrupt vector (for information only).
-
Settings only if LCD interrupt allows priority setting.
-
LCD frame frequency interrupt - Enable/disable LCD module frame frequency interrupt.
LC60: This item modifies the LCDIEN bit in the LCDCR1 register.
Other: This item modifies the LCDIEN bit in the LCDC1 register.
-
Settings not supported for Freescale RS08 derivatives.
-
ISR name - Name of the interrupt service routine (ISR) invoked by this interrupt vector.
The user code of the routine should handle all respective interrupt flags correctly. The routine must be implemented in the user code, it is not generated by Processor Expert. Find external prototypes of the ISRs in the component module header file.
-
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
-
LCD module - This item enables LCD module.
LC60: This item modifies LCDEN bit in LCDCR0 register.
Other: This item modifies LCDEN bit in LCDC0 register.
-
Blink command - If enabled, the display starts blinking after initialization.
This item modifies BLINK bit in LCDBCTL register.
-
Blank mode - If enabled, display is blank after initialization.
LC60 derivative:This item modifies BLANK bit in LCDCMD register
Other derivatives: This item modifies BLANK bit in LCDBCTL register
-
Settings only for LCD V2
-
Alternate display - If enabled, output is an alternate display.
This item modifies ALT bit in LCDBCTL register.
|