27 lines
418 B
C
27 lines
418 B
C
|
#ifndef ACQUISITION_MANAGER_H
|
||
|
#define ACQUISITION_MANAGER_H
|
||
|
|
||
|
#include "msg.h"
|
||
|
|
||
|
/**
|
||
|
* Initializes the acquisitions
|
||
|
*/
|
||
|
unsigned int acquisitionManagerInit(void);
|
||
|
|
||
|
/**
|
||
|
* Waits that acquisitions terminate
|
||
|
*/
|
||
|
void acquisitionManagerJoin(void);
|
||
|
|
||
|
/**
|
||
|
* Get producer count (debug output)
|
||
|
*/
|
||
|
unsigned int getProducerCount(void);
|
||
|
|
||
|
/**
|
||
|
* Get new message (blocking)
|
||
|
*/
|
||
|
void getMessage(volatile MSG_BLOCK* mBlock);
|
||
|
|
||
|
#endif
|