Renesas H8S Instrukcja Użytkownika Strona 22

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 26
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 21
Direct Drive LCD Design Guide
4.1.8 LCDGetActiveFrame
Request which memory frame is currently displayed
Format
uI16 LCDGetActiveFrame(void);
Parameters
none
Return Values
Index of active frame raster.
Properties
Prototyped in file ”DirectLCD.h”
Implemented in file “DirectLCD_SBF.c” for H8S family or “DirectLCD_XBCFT.c” for H8SX family.
Description
Request which memory frame is currently displayed. Note that this function only returns valid information
when LCDSetActiveRaster is used to control the display content (as opposed to LCDSetLineSource).
Note that LCDSetActiveRaster, LCDSetRasterOffset and LCDSetLineSource are similar in function and
interact.
Example
uI16 frame_request;
……
frame_request = LCDGetActiveFrame(); /* switch buffers */
if (frame_request == 0)
LCDSetActiveRaster(1);
else
LCDSetActiveRaster(0);
21
Przeglądanie stron 21
1 2 ... 17 18 19 20 21 22 23 24 25 26

Komentarze do niniejszej Instrukcji

Brak uwag