/** * @file * @brief API for AVR C-Stack Tracking for stack overflow detection * @author Steve Karg * @date 2013 * @copyright SPDX-License-Identifier: MIT */ #ifndef STACK_H #define STACK_H #include #include #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* C stack checking */ void stack_init( void); unsigned stack_size( void); uint8_t stack_byte( unsigned offset); unsigned stack_unused( void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif