M2_SETI/T2/tp/T2-TP_suite/iDisplay.h
2022-11-22 15:17:48 +01:00

19 lines
No EOL
461 B
C
Executable file

#ifndef I_DISPLAY_H
#define I_DISPLAY_H
#include "msg.h"
/**
* Displays the message content
* @param mBlock the message pointer
*/
void messageDisplay(volatile MSG_BLOCK* mBlock);
/**
* Prints the number of produced and consumed messages. It prints also the difference.
* @param producedCount the number of produced messages
* @param consumedCount the number of consumed messages
*/
void print(unsigned int producedCount, unsigned int consumedCount);
#endif