/* Directs the Protocol Layer to construct and transmit a Power Delivery Data message.  */
void prl_send_data_msg(const struct device *dev, const enum pd_packet_type type, const enum pd_data_msg_type msg)
/* Directs the Protocol Layer to construct and transmit a Power Delivery Data message.  */
void prl_send_data_msg(const struct device *dev, const enum pd_packet_type type, const enum pd_data_msg_type msg)
{
	struct usbc_port_data *data = dev->data;
	struct protocol_layer_tx_t *prl_tx = data->prl_tx;
	prl_tx->emsg.type = type;
	prl_tx->msg_type = msg;
	atomic_set_bit(&prl_tx->flags, PRL_FLAGS_MSG_XMIT);
}