[][src]Function cmsis_rtos2::cmsis_os2::osThreadGetStackSpace

pub unsafe extern "C" fn osThreadGetStackSpace(thread_id: osThreadId_t) -> u32

Get available stack space of a thread based on stack watermark recording during execution. \param[in] thread_id thread ID obtained by \ref osThreadNew or \ref osThreadGetId. \return remaining stack space in bytes.