USB device on Arduino Zero

Greetings, colleagues!

Tell me, does the existing software allow the implementation of the peripheral USB device on Arduino Zero in my design?
Create VID, PID, endpoints, my protocol, etc.?

Ogogon.

Yes, via the “native” USB port.

The Arduino MIDI USB library is an example of a USB device library for native USB device ports. You can create your custom library using this as a template.

Thank you!

I looked at this library. As I understand it, it refers to the basic primitives contained in ArduinoCore-samd/cores/arduino/USB/.

It is unfortunate that there is no documentation for this. Maybe it's somewhere else?

As far as I know, there are no docs on how to write Arduino USB device drivers.