Name

mipi_dsi_dcs_write_buffer — transmit a DCS command with payload

Synopsis

ssize_t mipi_dsi_dcs_write_buffer (struct mipi_dsi_device * dsi,
 const void * data,
 size_t len);
 

Arguments

dsi

DSI peripheral device

data

buffer containing data to be transmitted

len

size of transmission buffer

Description

This function will automatically choose the right data type depending on the command payload length.

Return

The number of bytes successfully transmitted or a negative error code on failure.