We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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