Skip to main content

pamoja_serial_port_wait

Function pamoja_serial_port_wait 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_serial_port_wait( port: *const PamojaSerialPort, micros: u64, )
Expand description

Waits, as a protocol does to leave the line silent between frames: the process sleeps on the kernel’s device, and anywhere else the wait is only counted.

§Arguments

  • port - the port.
  • micros - how long.

§Safety

port must be a live handle or null.