MCPcopy Index your code
hub / github.com/endbasic/endbasic / lcd_write_reg

Method lcd_write_reg

st7735s/src/lib.rs:188–191  ·  view source on GitHub ↗

Selects the registers to affect by the next data write.

(pins: &mut P, spi_bus: &mut B, regs: &[u8])

Source from the content-addressed store, hash-verified

186
187 /// Selects the registers to affect by the next data write.
188 fn lcd_write_reg(pins: &mut P, spi_bus: &mut B, regs: &[u8]) -> io::Result<()> {
189 pins.write(OUTPUT_PIN_DC, false)?;
190 lcd_write(spi_bus, regs)
191 }
192
193 /// Writes data to the device. A register should have been selected before.
194 fn lcd_write_data(pins: &mut P, spi_bus: &mut B, data: &[u8]) -> io::Result<()> {

Callers

nothing calls this directly

Calls 2

lcd_writeFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected