M2_SETI/T2/tp/T2-TP_suite/iDisplay.h

19 lines
461 B
C
Raw Permalink Normal View History

2022-11-22 15:17:48 +01:00
#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