/* Receives a data byte and store it in the RX data buffer.  */
static void ucpd_rx_data_byte(const struct device *dev)
/* Receives a data byte and store it in the RX data buffer.  */
static void ucpd_rx_data_byte(const struct device *dev)
{
	struct tcpc_data *data = dev->data;
	const struct tcpc_config *const config = dev->config;
	if (data->ucpd_rx_byte_count < UCPD_BUF_LEN) {
		data->ucpd_rx_buffer[data->ucpd_rx_byte_count++] =
			LL_UCPD_ReadData(config->ucpd_port);
	}
}