CORDET Framework - C2 Implementation
CrPsMemServLpt.c
Go to the documentation of this file.
1 
22 #define LPTSIZE 4000
23 
28 static char memArray[LPTSIZE];
29 
35 uint32_t* getLptMemStartAddr(uint32_t LptBuffer) /* Adaptation Point */
36 {
37  (void)LptBuffer;
38 
39  return (uint32_t*)memArray;
40 }
41 
47 uint32_t getLptMemSize(uint32_t LptBuffer) /* Adaptation Point */
48 {
49  (void)LptBuffer;
50 
51  return (uint32_t)LPTSIZE;
52 }
#define LPTSIZE
The maximum size in number of bytes of a packet.
uint32_t getLptMemSize(uint32_t LptBuffer)
Getter function to return the size of the Data.
static char memArray[LPTSIZE]
The array holding the packets.
uint32_t * getLptMemStartAddr(uint32_t LptBuffer)
Getter function for the Address of the Data.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved