Function ctru_sys::iruRecvData

source ·
pub unsafe extern "C" fn iruRecvData(
    buf: *mut u8_,
    size: u32_,
    flag: u8_,
    transfercount: *mut u32_,
    wait: bool
) -> Result
Expand description

Receives IR data.

§Arguments

  • buf - Buffer to receive data to.
  • size - Size of the buffer.
  • flag - Flags to receive data with.
  • transfercount - Pointer to output the number of bytes read to.
  • wait - Whether to wait for the data to be received.