mikroSDK Reference Manual
|
Common TFT Board routines. More...
Macros | |
#define | set_column() |
#define | set_page() |
#define | CS_HIGH (digital_out_high( &pin_cs )) |
#define | CS_LOW (digital_out_low( &pin_cs )) |
#define | WR_HIGH (digital_out_high( &pin_wr )) |
#define | WR_LOW (digital_out_low( &pin_wr )) |
#define | DC_HIGH (digital_out_high( &pin_dc )) |
#define | DC_LOW (digital_out_low( &pin_dc )) |
#define | display_deselect() (CS_HIGH) |
#define | check_touchpad() |
#define check_touchpad | ( | ) |
CS pin handle.
#define CS_HIGH (digital_out_high( &pin_cs )) |
Set CS pin low.
#define CS_LOW (digital_out_low( &pin_cs )) |
Set WR pin high.
#define DC_HIGH (digital_out_high( &pin_dc )) |
Set DC pin low.
#define DC_LOW (digital_out_low( &pin_dc )) |
Deselect display.
#define display_deselect | ( | ) | (CS_HIGH) |
Check if touch was detected.
#define set_column | ( | ) |
< Set display column to write data to. Set display page to write data to.
#define set_page | ( | ) |
Set CS pin high.
#define WR_HIGH (digital_out_high( &pin_wr )) |
Set WR pin low.
#define WR_LOW (digital_out_low( &pin_wr )) |
Set DC pin high.