samples/subsys/usb/webusb/src/webusb_serial.c
/**
 * @brief Set the callback function pointer for IRQ.
 *
 * @param dev WebUSB Serial device struct.
 * @param cb  Callback function pointer.
 *
 * @return N/A
 */
@brief Set the callback function pointer for IRQ.
@param dev WebUSB Serial device struct.
@param cb  Callback function pointer.

@return N/A
@brief Set the callback function pointer for IRQ . @param dev WebUSB Serial device struct . @param cb Callback function pointer . @return N / A
static void webusb_serial_irq_callback_set(struct device *dev,
		uart_irq_callback_t cb)
{
	struct webusb_serial_dev_data_t * const dev_data = DEV_DATA(dev);
	dev_data->cb = cb;
}
static void webusb_serial_irq_callback_set ( struct device * dev , uart_irq_callback_t cb ) { struct webusb_serial_dev_data_t * const dev_data = DEV_DATA ( dev ) ; dev_data -> cb = cb ; }
@brief Set the callback function pointer for IRQ.
@brief Set the callback function pointer for IRQ .