    lcduint_t rx = w ? (x + w - 1) : (m_base.width() - 1);
    this->start();
    spiDataMode(0);
    this->send(0x2A);
    spiDataMode(1);  // According to datasheet all args must be passed in data mode
    this->send(0);
    // Take into account bug in il9163 controller
    this->send(x + (m_rotation == 3 ? 32 : 0));
    this->send(0);
    this->send((rx < m_base.width() ? rx : (m_base.width() - 1))
                       + (m_rotation == 3 ? 32 : 0));
    spiDataMode(0);
    this->send(0x2B);
    spiDataMode(1);  // According to datasheet all args must be passed in data mode
    this->send(0);
    // Take into account bug in il9163 controller
    this->send(y + (m_rotation == 2 ? 32: 0));
    this->send(0);
    this->send(m_base.height() - 1 + (m_rotation == 2 ? 32: 0));
    spiDataMode(0);
    this->send(0x2C);
    spiDataMode(1);
