Oliver Wenzel / Mbed 2 deprecated mbed_amf_controlsystem_iO

Dependencies:   mbed-rtos mbed

Fork of mbed_amf_controlsystem by Matti Borchers

Misc/SerialOutputLogger.h

Committer:
mborchers
Date:
2016-02-05
Revision:
13:34f7f783ad24

File content as of revision 13:34f7f783ad24:

#ifndef SERIAL_OUTPUT_LOGGER_H_
#define SERIAL_OUTPUT_LOGGER_H_

#include <mbed.h>
#include "Periphery/SupportSystem.h"

class SerialOutputLogger {

private:
    Serial *serialPort;
    IMU_RegisterDataBuffer_t *imuRegisterDataBuffer;
    RadioDecoder_RegisterDataBuffer_t *radioDecoderRegisterDataBuffer;
public:
    SerialOutputLogger(Serial *serialPort, IMU_RegisterDataBuffer_t *imuRegisterDataBuffer, RadioDecoder_RegisterDataBuffer_t *radioDecoderRegisterDataBuffer);
    void writeRadioDecoderDataLog(bool csv);    
    void writeImuDataLog(bool csv);
};

#endif