4#include "roo_threads.h"
5#include "roo_threads/thread.h"
78 transport_.beginWriteOnlyTransaction();
84 transport_.endTransaction();
112 if (last_x0_ != x0 || last_x1_ != x1) {
114 transport_.write16x2((x0 + x_offset_), (x1 + x_offset_));
118 if (last_y0_ != y0 || last_y1_ != y1) {
120 transport_.write16x2((y0 + y_offset_), (y1 + y_offset_));
147 transport_.cmdBegin();
161 roo::this_thread::sleep_for(roo_time::Millis(
ms));
169 uint16_t last_x0_, last_x1_, last_y0_, last_y1_;
Represents the orientation of a display device.
bool isLeftToRight() const
Return whether horizontal direction is left-to-right.
bool isTopToBottom() const
Return whether vertical direction is top-to-bottom.
bool isXYswapped() const
Return whether x maps to the vertical direction.
16-bit RGB565 color mode (opaque).
void flush() __attribute__((always_inline))
void setOrientation(Orientation orientation)
void ramWriteAsyncBlit(const roo::byte *data, size_t row_stride_bytes, size_t row_bytes, size_t row_count) __attribute__((always_inline))
void ramFill(const roo::byte *data, size_t pixel_count) __attribute__((always_inline))
void writeCommand(uint8_t c) __attribute__((always_inline))
void ramWrite(const roo::byte *data, size_t pixel_count) __attribute__((always_inline))
void setAddrWindow(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1) __attribute__((always_inline))
void writeCommand(uint8_t c, const std::initializer_list< uint8_t > &d, uint32_t delay_ms=0)
St77xxTarget(Transport transport=Transport())
void startRamWrite() __attribute__((always_inline))
static constexpr ByteOrder byte_order
Defines 140 opaque HTML named colors.
roo_io::ByteOrder ByteOrder