Skip to main content

EP_OUT_BUFFER

Static EP_OUT_BUFFER 

Source
static EP_OUT_BUFFER: StaticCell<[u8; 1024]>
Expand description

The S2 peripheral types are invariant in their lifetime, which pins the USB driver to 'static; the embassy-usb buffers therefore must be 'static too. They are initialized exactly once at task start.