orcus
Functions
lcd.h File Reference

LCD. More...

#include <stdint.h>

Functions

bool lcdHSync ()
 Check if LCD is currently in hsync period. More...
 
bool lcdVSync ()
 Check if LCD is currently in vsync period. More...
 
void lcdWaitNextHSync ()
 Wait until LCD is in next hsync period. More...
 
void lcdWaitNextVSync ()
 Wait until LCD is in next vsync period. More...
 

Function Documentation

◆ lcdHSync()

bool lcdHSync ( )

Check if LCD is currently in hsync period.

Returns
true if LCD is currently in hsync period, otherwise false

◆ lcdVSync()

bool lcdVSync ( )

Check if LCD is currently in vsync period.

Returns
true if LCD is currently in vsync period, otherwise false

◆ lcdWaitNextHSync()

void lcdWaitNextHSync ( )

Wait until LCD is in next hsync period. If LCD is currently in hsync when this is called, it will wait until it has ended, and then again until the next one begins.

◆ lcdWaitNextVSync()

void lcdWaitNextVSync ( )

Wait until LCD is in next vsync period. If LCD is currently in vsync when this is called, it will wait until it has ended, and then again until the next one begins.