mipi_dsi_create_packet
Prev | MIPI DSI Helper Functions Reference | Next

## Name

mipi_dsi_create_packet — create a packet from a message according to the DSI protocol

## Synopsis

`int mipi_dsi_create_packet (` | struct mipi_dsi_packet * packet,
| const struct mipi_dsi_msg * msg`)`;

## Arguments

`packet`

  pointer to a DSI packet structure

`msg`

  message to translate into a packet

## Return

0 on success or a negative error code on failure.

Prev | Up | Next
mipi_dsi_packet_format_is_long | Home | mipi_dsi_generic_write