zephyr::raw

Type Alias k_spinlock_key_t

source
pub type k_spinlock_key_t = z_spinlock_key;
Expand description

@brief Spinlock key type

This type defines a “key” value used by a spinlock implementation to store the system interrupt state at the time of a call to k_spin_lock(). It is expected to be passed to a matching k_spin_unlock().

This type is opaque and should not be inspected by application code.

Aliased Type§

struct k_spinlock_key_t {
    pub key: i32,
}

Fields§

§key: i32