Renesas H8S Manual de usuario Pagina 22

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 26
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 21
1 2 ... 17 18 19 20 21 22 23 24 25 26

Comentarios a estos manuales

Sin comentarios