home

AVGA configuration


Each AVGA module can be configured within its header file in the area marked USER CONFIGURABLE SECTION. For easy project porting and arrangement, there are three global config files in the avga root. The modules has their USER CONFIGURABLE SECTIONs contained within theese files with superior priority.


1. config_hw.h

This file contains all part-specific configuration. All necessary registers are accessed through definitions there. The only file that needs to be changed when porting an AVGA project from one HW paltform (MCU) to another.



2. config_screen.h

File specifies the screen configuration. For example resolution, native tile dimensions, picture to screen offset, scrolling, screen mapping can be set there.



3. config_utils.h

Common file for configuring the utils.



Each option is described in detail using comments in the files.