Method lrs::atomic::AtomicU16::and_release

Performs a binary and operation on the atomic integer with release semantics.

Syntax

impl AtomicU16 {
    fn and_release(&self, val: u16) -> u16
}

Arguments

NameDescription
val

The value that will be binarily added to the integer.

Return value

Returns the old value.