diff options
author | Joel Bodenmann <joel@embedded.pro> | 2017-02-18 16:32:57 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@embedded.pro> | 2017-02-18 16:32:57 +0100 |
commit | d3e995549655106a24d1089add89c1f674aa5d60 (patch) | |
tree | 0f398a7584d25136ba2aac3dfc1775d1dca20ec6 /drivers/gdisp/AlteraFramereader/readme.txt | |
parent | 8411fd1f036baa58d7b23253e64c3b0f016c2671 (diff) | |
download | uGFX-d3e995549655106a24d1089add89c1f674aa5d60.tar.gz uGFX-d3e995549655106a24d1089add89c1f674aa5d60.tar.bz2 uGFX-d3e995549655106a24d1089add89c1f674aa5d60.zip |
Adding Altera Frame Reader IP Core display driver
Diffstat (limited to 'drivers/gdisp/AlteraFramereader/readme.txt')
-rw-r--r-- | drivers/gdisp/AlteraFramereader/readme.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/gdisp/AlteraFramereader/readme.txt b/drivers/gdisp/AlteraFramereader/readme.txt new file mode 100644 index 00000000..87777be4 --- /dev/null +++ b/drivers/gdisp/AlteraFramereader/readme.txt @@ -0,0 +1,27 @@ +This driver can be used for the "Frame Reader IP Core" that comes with the "Video and Image Processing Suite" package +from Altera/Intel/Quartus. + +This driver takes advantage of the double buffering feature offered by the "Frame Reader IP Core". The following commands +can be used through the gdispControl() API to manage the two frame buffers: + + gdispControl(GDISP_CONTROL_BUFFERS_ENABLE, 0); // Enabel the two framebuffers (Disabled by default) + gdispControl(GDISP_CONTROL_BUFFERS_DISABLE, 0); // Disable the two framebuffers (Disabled by default) + gdispControl(GDISP_CONTROL_BUFFERS_SWAP, 0); // Swap the framebuffers (if enabled) + +The double buffering is taken care of completely by the driver. It sets the framebuffer pointers correctly so that it's +transparent to the application. There's no need to handle the two framebuffers manually through the multiple displays +support offered by uGFX. Using GDISP_CONTROL_BUFFERS_SWAP will swap the framebuffers on the actual hardware as well +as swap the framebuffer pointers for the default GDisplay to draw to the other framebuffer. + + +To use this driver: + +1. Add in your gfxconf.h: + a) #define GFX_USE_GDISP TRUE + +2. To your makefile add the following lines: + include $(GFXLIB)/gfx.mk + include $(GFXLIB)/drivers/gdisp/AlteraFramereader/driver.mk + +3. Add a board_alteraframereader.h to you project directory (or board directory) + base on one of the templates found in this drivers directory. |