SAM4S-EK_FreeRTOS+FAT-SL  1.0
An example project to test the functionality of FreeRTOS+FAT-SL using SD card as data storage medium
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
heap_4.c File Reference
#include <stdlib.h>
#include "FreeRTOS.h"
#include "task.h"

Go to the source code of this file.

Classes

struct  A_BLOCK_LINK
 

Macros

#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE
 
#define heapMINIMUM_BLOCK_SIZE   ( ( size_t ) ( heapSTRUCT_SIZE * 2 ) )
 
#define heapBITS_PER_BYTE   ( ( size_t ) 8 )
 
#define heapADJUSTED_HEAP_SIZE   ( configTOTAL_HEAP_SIZE - portBYTE_ALIGNMENT )
 

Typedefs

typedef struct A_BLOCK_LINK BlockLink_t
 

Functions

void * pvPortMalloc (size_t xWantedSize)
 
void vPortFree (void *pv)
 
size_t xPortGetFreeHeapSize (void)
 
size_t xPortGetMinimumEverFreeHeapSize (void)
 
void vPortInitialiseBlocks (void)
 

Macro Definition Documentation

#define heapADJUSTED_HEAP_SIZE   ( configTOTAL_HEAP_SIZE - portBYTE_ALIGNMENT )

Definition at line 93 of file heap_4.c.

#define heapBITS_PER_BYTE   ( ( size_t ) 8 )

Definition at line 90 of file heap_4.c.

#define heapMINIMUM_BLOCK_SIZE   ( ( size_t ) ( heapSTRUCT_SIZE * 2 ) )

Definition at line 87 of file heap_4.c.

#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE

Definition at line 79 of file heap_4.c.

Typedef Documentation

typedef struct A_BLOCK_LINK BlockLink_t

Function Documentation

void* pvPortMalloc ( size_t  xWantedSize)

Definition at line 147 of file heap_4.c.

void vPortFree ( void *  pv)

Definition at line 294 of file heap_4.c.

void vPortInitialiseBlocks ( void  )

Definition at line 354 of file heap_4.c.

size_t xPortGetFreeHeapSize ( void  )

Definition at line 342 of file heap_4.c.

size_t xPortGetMinimumEverFreeHeapSize ( void  )

Definition at line 348 of file heap_4.c.