| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
FreeRTOSCommonHooks.c File Reference
`#include "FreeRTOS.h"`
`#include "task.h"`
`#include "FreeRTOSCommonHooks.h"`
`#include "chip.h"`

Go to the source code of this file.

## Functions
void | FreeRTOSDelay (uint32_t ms)
| Delay for the specified number of milliSeconds.
void | vApplicationMallocFailedHook (void)
| FreeRTOS malloc fail hook.
void | vApplicationIdleHook (void)
| FreeRTOS application idle hook.
void | vApplicationStackOverflowHook (xTaskHandle pxTask, signed char *pcTaskName)
| FreeRTOS stack overflow hook.
void | vApplicationTickHook (void)
| FreeRTOS application tick hook.

## Function Documentation

void vApplicationIdleHook | ( | void |  | ) |

FreeRTOS application idle hook.

Returns
  Nothing

Note
  Calls ARM Wait for Interrupt function to idle core

Definition at line 72 of file FreeRTOSCommonHooks.c.

void vApplicationMallocFailedHook | ( | void |  | ) |

FreeRTOS malloc fail hook.

Returns
  Nothing

Note
  This function is alled when a malloc fails to allocate data.

Definition at line 64 of file FreeRTOSCommonHooks.c.

void vApplicationStackOverflowHook | ( | xTaskHandle | pxTask,
|  | signed char * | pcTaskName
| ) |  |

FreeRTOS stack overflow hook.

Parameters

  pxTask | : Task handle that overflowed stack
  pcTaskName | : Task name that overflowed stack

Returns
  Nothing

Note
  This function is alled when a stack overflow occurs.

Definition at line 79 of file FreeRTOSCommonHooks.c.

void vApplicationTickHook | ( | void |  | ) |

FreeRTOS application tick hook.

Returns
  Nothing

Note
  This just returns to the caller.

Definition at line 93 of file FreeRTOSCommonHooks.c.