flipperzero_sysType Alias usbd_hw_ep_write
Source pub type usbd_hw_ep_write = Option<unsafe extern "C" fn(ep: u8, buf: *const c_void, blen: u16) -> i32>;
Expand description
Writes data to IN or control endpoint
§Arguments
ep - endpoint index, hould belong to IN or CONTROL endpoint
buf - pointer to data buffer
blen - size of data will be written
§Returns
number of written bytes
enum usbd_hw_ep_write {
None,
Some(unsafe extern "C" fn(_: u8, _: *const c_void, _: u16) -> i32),
}