firmware/Temperature/src/FIFO.c
////////////////////////////////////////////////////////
///	\brief This will init the fifo variables and
///	clear the buffer
///
////////////////////////////////////////////////////////
\brief This will init the fifo variables and
clear the buffer
\ brief This will init the fifo variables and clear the buffer
void FIFO_Initialiser(void)
{
	uint32_t BufferIndex;
	WritePosition = 0;
	ReadPosition = 0;
	BufferCurrentSize = 0;
	for( BufferIndex = 0 ; BufferIndex < FIFO_BUFFER_MAX_SIZE; BufferIndex++ )
	{
		Buffer[BufferIndex] = 0;
	}
}
void FIFO_Initialiser ( void ) { uint32_t BufferIndex ; WritePosition = 0 ; ReadPosition = 0 ; BufferCurrentSize = 0 ; for ( BufferIndex = 0 ; BufferIndex < FIFO_BUFFER_MAX_SIZE ; BufferIndex ++ ) { Buffer [ BufferIndex ] = 0 ; } }
\brief This will init the fifo variables and
clear the buffer
\ brief This will init the fifo variables and clear the buffer