zephyr::raw

Function k_stack_init

source
pub unsafe extern "C" fn k_stack_init(
    stack: *mut k_stack,
    buffer: *mut usize,
    num_entries: u32,
)
Expand description

@brief Initialize a stack.

This routine initializes a stack object, prior to its first use.

@param stack Address of the stack. @param buffer Address of array used to hold stacked values. @param num_entries Maximum number of values that can be stacked.