diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-11-27 20:39:28 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-11-27 20:39:28 +0100 |
commit | 5a99092b794373966e444296c57991631e712c70 (patch) | |
tree | 3e2853ab9730ece7398f508238ac2707e485b346 /drivers/gdisp/STM32F429iDiscovery/board_STM32F429iDiscovery_template.h | |
parent | eaf0b19fb8428b9e2e47798294d6ba83a56d186e (diff) | |
parent | f16ee702727a811288749a0722ddb138dd559fa8 (diff) | |
download | uGFX-5a99092b794373966e444296c57991631e712c70.tar.gz uGFX-5a99092b794373966e444296c57991631e712c70.tar.bz2 uGFX-5a99092b794373966e444296c57991631e712c70.zip |
Merge branch 'master' of https://bitbucket.org/Tectu/ugfx
Diffstat (limited to 'drivers/gdisp/STM32F429iDiscovery/board_STM32F429iDiscovery_template.h')
-rw-r--r-- | drivers/gdisp/STM32F429iDiscovery/board_STM32F429iDiscovery_template.h | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/drivers/gdisp/STM32F429iDiscovery/board_STM32F429iDiscovery_template.h b/drivers/gdisp/STM32F429iDiscovery/board_STM32F429iDiscovery_template.h deleted file mode 100644 index e13af4b3..00000000 --- a/drivers/gdisp/STM32F429iDiscovery/board_STM32F429iDiscovery_template.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * This file is subject to the terms of the GFX License. If a copy of - * the license was not distributed with this file, you can obtain one at: - * - * http://ugfx.org/license.html - */ - -#ifndef _GDISP_LLD_BOARD_H -#define _GDISP_LLD_BOARD_H - -static const ltdcConfig driverCfg = { - 240, 320, - 10, 2, - 20, 2, - 10, 4, - 0, - 0x000000, - { - (LLDCOLOR_TYPE *)SDRAM_BANK_ADDR, // frame - 240, 320, // width, height - 240 * LTDC_PIXELBYTES, // pitch - LTDC_PIXELFORMAT, // fmt - 0, 0, // x, y - 240, 320, // cx, cy - LTDC_COLOR_FUCHSIA, // defcolor - 0x980088, // keycolor - LTDC_BLEND_FIX1_FIX2, // blending - 0, // palette - 0, // palettelen - 0xFF, // alpha - LTDC_LEF_ENABLE // flags - }, - LTDC_UNUSED_LAYER_CONFIG -}; - -static GFXINLINE void init_board(GDisplay *g) { - - // As we are not using multiple displays we set g->board to NULL as we don't use it. - g->board = 0; - - switch(g->controllerdisplay) { - case 0: // Set up for Display 0 - // Your init here - break; - } -} - -static GFXINLINE void post_init_board(GDisplay *g) { -} - -static GFXINLINE void set_backlight(GDisplay *g, uint8_t percent) { -} - -static GFXINLINE void acquire_bus(GDisplay *g) { -} - -static GFXINLINE void release_bus(GDisplay *g) { -} - -static GFXINLINE void write_index(GDisplay *g, uint8_t index) { -} - -static GFXINLINE void write_data(GDisplay *g, uint8_t data) { -} - -#endif /* _GDISP_LLD_BOARD_H */ |