Driver configuration, 1 lcd direct drive configuration macros, Irect – Renesas H8S User Manual
Page 5: Rive, Onfiguration, Acros, 2.1 driver configuration, Lcd direct drive configuration macros

Direct Drive LCD Design Guide
2.
2.1
Driver Configuration
The LCD Direct Driver is configured through the setting of macro definitions. These macros are illustrated
in the sample code. The following table briefly describes the location of each of these macros and their
location in LCD Direct Drive demonstration code. For examples of each macro usage, refer to the
demonstration code.
LCD Direct Drive Configuration Macros
Macro Name
Description
Units
Demo Location
System Clock Configuration
ICLK_FREQUENCY Clock
frequency of MCU core
Hz
HWSetup.h
PCLK_FREQUENCY
Clock frequency of peripherals
Hz
HWSetup.h
BCLK_FREQUENCY Clock
frequency
of external bus
Hz
HWSetup.h
FRAME_HEIGHT
Lines DirectLCD_CNF.h
FRAME_WIDTH
Dots DirectLCD_CNF.h
V_LINES_INVERT
Select DirectLCD_CNF.h
H_DOT_INVERT
Select DirectLCD_CNF.h
PANEL_ROTATE
Select DirectLCD_CNF.h
LCD_FRAMES
Frames DirectLCD_CNF.h
MAX_FRAME_REGIONS
Regions DirectLCD_CNF.h
SRAM_DD
Select DirectLCD_CNF.h
SRAM_NOMUX_DD
Select DirectLCD_CNF.h
SDRAM_DD
Select DirectLCD_CNF.h
SDRAM_CLUSTER_DD
Select DirectLCD_CNF.h
DOT_CLOCK_FREQUENCY_DATA
Hz DirectLCD_CNF.h
DOT_CLOCK_FREQUENCY_BLANK
Hz DirectLCD_CNF.h
DESIRED_FRAME_RATE
Hz DirectLCD_CNF.h
MINIMUM_MCU_ACCESS_PCT
% DirectLCD_CNF.h
DOT_INVERT
Select DirectLCD_CNF(panel).h
V_LINES_PULSE
Lines DirectLCD_CNF(panel).h
V_LINES_BACK_PORCH
Lines DirectLCD_CNF(panel).h
V_LINES_DISPLAY
Lines DirectLCD_CNF(panel).h
V_LINES_FRONT_PORCH
Lines DirectLCD_CNF(panel).h
H_DOT_PULSE
Dots DirectLCD_CNF(panel).h
H_DOT_BACK_PORCH
Dots DirectLCD_CNF(panel).h
H_DOT_DISPLAY
Dots DirectLCD_CNF(panel).h
H_DOT_FRONT_PORCH
Dots DirectLCD_CNF(panel).h
4