Hi there,
How Can I insert the structure of the circular buffer inside the memory pool (mpool)?
/*----------------------------------- This is the memory pool declaration ------------------------------------ */ _declare_box (mpool,sizeof(T_MEAS),4);/* Dynamic Memory pool */
/*----------------------------- This is the circular buffer ----------------------------- */ typedef struct{ u8 *Buffer_Begin; u8 *Buffer_Write; u8 *Buffer_Read; u16 Buffer_Size; u16 Buffer_Count; }buf_x_Buffer;
Can any one help !
Nia