39 write(buf,
sizeof(buf));
56 write(buf,
sizeof(buf));
62 const uint8_t* bp = (
const uint8_t*) buf;
65 uint8_t n = (size >
sizeof(tmp) / 4 ?
sizeof(tmp) / 4 : size);
68 for (uint8_t i = 0; i < m;) {
virtual void write8b(uint8_t data)
virtual void write8n(const void *buf, size_t size)
uint8_t en
Enable pulse (P2).
virtual void set_mode(uint8_t flag)
bool write(uint8_t pin, uint8_t value)
port_t m_port
Port setting.
static const uint8_t TMP_MAX
uint8_t rs
Command/Data select (P0).
virtual void set_backlight(uint8_t flag)
bool data_direction(uint8_t ddr)
uint8_t data
Data port (P4..P7).
virtual void write4b(uint8_t data)
uint8_t bt
Back-light (P3).
uint8_t as_uint8
Unsigned byte access.