Function libopencm3_sys::usbd_ep_setup [−][src]
pub unsafe extern "C" fn usbd_ep_setup(
usbd_dev: *mut usbd_device,
addr: u8,
type_: u8,
max_size: u16,
callback: usbd_endpoint_callback
)
Setup an endpoint @param addr Full EP address including direction (e.g. 0x01 or 0x81) @param type Value for bmAttributes (USB_ENDPOINT_ATTR_*)