//-------------------------------------------------------// // Project Code : ALE300K03-21-LGE-GEN2.0-BE-CPU1 // File Name : Ringbuffer.h // Created on : 2022. 12. 10. // Description : // Author : KimJeongWoo // Last modified Date : //-------------------------------------------------------// #ifndef COMMON_RESOURCE_COMMONLIBRARY_INCLUDE_TRACE_H_ #define COMMON_RESOURCE_COMMONLIBRARY_INCLUDE_TRACE_H_ #ifdef __cplusplus extern "C" { #endif //todo 임시 테스트 구조체 struct sRingBuf { float BufLow[512]; unsigned int WrPtr; unsigned int RdPtr; unsigned int Size; }; extern struct sRingBuf RingBuf; extern void InitRingBuf(); extern void WrRingBuf(); extern void SortRingBuf(); #ifdef __cplusplus } #endif /* extern "C" */ #endif /* COMMON_RESOURCE_COMMONLIBRARY_INCLUDE_TRACE_H_ */