furi_thread_flags_wait

Function furi_thread_flags_wait 

Source
pub unsafe extern "C" fn furi_thread_flags_wait(
    flags: u32,
    options: u32,
    timeout: u32,
) -> u32
Expand description

Wait for some thread flags to be set.

FuriFlag for option and error flags.

§Arguments

  • flags (direction in) - bitmask of thread flags to wait for
  • options (direction in) - combination of option flags determining the behavior of the function
  • timeout (direction in) - maximum time to wait in milliseconds (use FuriWaitForever to wait forever)

§Returns

bitmask combination of received thread and error flags