#ifndef USB_CDC_H_
#define USB_CDC_H_

#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include "app_usbd.h"
typedef struct
{
    void (*receive_from_cdc) (uint8_t * data, uint32_t length);
} usb_callback_t; 
uint32_t usb_cdc__init(usb_callback_t usb_cb);
uint32_t usb_cdc__write(const void *p_buf, size_t length);


#endif