This is the vcdMaker demo project. See http://vcdmaker.org for details. vcdMaker is supposed to help engineers to debug their applications and systems. It transforms text log files into the VCD format which can be easily displayed as a waveform.

Dependencies:   mbed vcdLogger vcdSignal

Committer:
ketjow
Date:
Sat Feb 20 20:48:44 2016 +0000
Revision:
1:446154224f92
Parent:
0:9a59cffaafad
vcdMaker Demo release 1.0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ketjow 1:446154224f92 1 /*!
ketjow 1:446154224f92 2 @file serialLogger.hpp
ketjow 1:446154224f92 3
ketjow 1:446154224f92 4 The header of the serial logger class.
ketjow 1:446154224f92 5
ketjow 1:446154224f92 6 @par Full Description
ketjow 1:446154224f92 7 The header of the serial logger class.
ketjow 1:446154224f92 8
ketjow 1:446154224f92 9 @if REVISION_HISTORY_INCLUDED
ketjow 1:446154224f92 10 @par Edit History
ketjow 1:446154224f92 11 @li [0] wojciech.rynczuk@wp.pl 20-JAN-2015 Initial file revision.
ketjow 1:446154224f92 12 @endif
ketjow 1:446154224f92 13
ketjow 1:446154224f92 14 @ingroup Logger
ketjow 1:446154224f92 15
ketjow 1:446154224f92 16 @par Copyright (c) MMXV Wojciech Rynczuk
ketjow 1:446154224f92 17
ketjow 1:446154224f92 18 Distributed under MIT License
ketjow 1:446154224f92 19
ketjow 1:446154224f92 20 */
ketjow 1:446154224f92 21
ketjow 0:9a59cffaafad 22 #ifndef _SERIALLOGGER_HPP_
ketjow 0:9a59cffaafad 23 #define _SERIALLOGGER_HPP_
ketjow 0:9a59cffaafad 24
ketjow 0:9a59cffaafad 25 #include "mbed.h"
ketjow 0:9a59cffaafad 26 #include "logger.hpp"
ketjow 0:9a59cffaafad 27
ketjow 0:9a59cffaafad 28 class SerialLogger : public Logger {
ketjow 0:9a59cffaafad 29
ketjow 0:9a59cffaafad 30 public:
ketjow 0:9a59cffaafad 31 SerialLogger(uint32_t n_Lines, uint32_t n_Characters);
ketjow 0:9a59cffaafad 32 ~SerialLogger();
ketjow 0:9a59cffaafad 33
ketjow 0:9a59cffaafad 34 virtual void Printf(const char* line);
ketjow 0:9a59cffaafad 35 virtual void AlarmFull();
ketjow 0:9a59cffaafad 36 virtual uint32_t StartAction();
ketjow 0:9a59cffaafad 37 virtual uint32_t StopAction();
ketjow 0:9a59cffaafad 38
ketjow 0:9a59cffaafad 39 private:
ketjow 0:9a59cffaafad 40 DigitalOut* alarm;
ketjow 0:9a59cffaafad 41 DigitalOut* rec_indicator;
ketjow 0:9a59cffaafad 42 Serial* serialOut;
ketjow 0:9a59cffaafad 43 };
ketjow 0:9a59cffaafad 44 #endif