Lines Matching refs:tft
22 TFT_eSPI * tft; member
55 dsc->tft = new TFT_eSPI(hor_res, ver_res); in lv_tft_espi_create()
56 dsc->tft->begin(); /* TFT init */ in lv_tft_espi_create()
57 dsc->tft->setRotation(0); in lv_tft_espi_create()
76 dsc->tft->startWrite(); in flush_cb()
77 dsc->tft->setAddrWindow(area->x1, area->y1, w, h); in flush_cb()
78 dsc->tft->pushColors((uint16_t *)px_map, w * h, true); in flush_cb()
79 dsc->tft->endWrite(); in flush_cb()
96 dsc->tft->setRotation(0); /* Portrait orientation */ in resolution_changed_event_cb()
99 dsc->tft->setRotation(1); /* Landscape orientation */ in resolution_changed_event_cb()
102 dsc->tft->setRotation(2); /* Portrait orientation, flipped */ in resolution_changed_event_cb()
105 dsc->tft->setRotation(3); /* Landscape orientation, flipped */ in resolution_changed_event_cb()