FreeRTOS C-Addons
1.1.0
C-Addon functionality to FreeRTOS
|
Go to the source code of this file.
Functions | |
void | InitStack (Stack_t *Stack) |
void | PushOnStack (Stack_t *Stack, SlNode_t *Node) |
SlNode_t * | PopOffStack (Stack_t *Stack) |
void InitStack | ( | Stack_t * | Stack | ) |
Initialize a Stack structure you provide.
Stack | Pointer to your stack structure. |
Definition at line 44 of file stack_simple.c.
Pop an item off the stack.
Note that you have to have embedded an SListNode inside your data structure.
Stack | Pointer to your stack structure. |
Definition at line 65 of file stack_simple.c.
Push an item onto the stack.
Note that you have to have embedded an SListNode inside your data structure.
Stack | Pointer to your stack structure. |
Node | The SListNode you want on the stack. |
Definition at line 51 of file stack_simple.c.