Functions | |
| void | SelfTests_Init_Stack_Range (uint16_t *stack_address, uint16_t stack_length, uint8_t stack_pattern_blk_size) |
| This function initializes the upper and lower stack areas with the 0xAA and 0x55 patterns. | |
| uint8_t | SelfTests_Stack_Check_Range (uint16_t *stack_address, uint16_t stack_length) |
| This function performs the stack self test. | |
| void SelfTests_Init_Stack_Range | ( | uint16_t * | stack_address, |
| uint16_t | stack_length, | ||
| uint8_t | stack_pattern_blk_size ) |
This function initializes the upper and lower stack areas with the 0xAA and 0x55 patterns.
| stack_address | The pointer to the stack. |
| stack_length | The length of the stack. |
| stack_pattern_blk_size | The number of bytes to fill the pattern. Must be 2^n where n=1 to n=8. (Recommended value for n = 3). |
| uint8_t SelfTests_Stack_Check_Range | ( | uint16_t * | stack_address, |
| uint16_t | stack_length ) |
This function performs the stack self test.
It checks the upper and lower stack areas for the 0xAA and 0x55 patterns.
| stack_address | The pointer to the stack. |
| stack_length | The length of the stack. |