Type Alias flipperzero_sys::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
Returns:
- number of written bytes
Arguments
ep- endpoint index, hould belong to IN or CONTROL endpointbuf- pointer to data bufferblen- size of data will be written