Missing files for SWo

git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@236 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
mmi
2017-10-05 08:33:15 +00:00
parent c860b5b3b4
commit 3990c23a79
9 changed files with 481 additions and 19 deletions

View File

@@ -0,0 +1,39 @@
/* -----------------------------------------------------------------------------
* Observer.h (c) 2013 Micro-Key bv
* -----------------------------------------------------------------------------
* Micro-Key bv
* Industrieweg 28, 9804 TG Noordhorn
* Postbus 92, 9800 AB Zuidhorn
* The Netherlands
* Tel: +31 594 503020
* Fax: +31 594 505825
* Email: support@microkey.nl
* Web: www.microkey.nl
* -----------------------------------------------------------------------------
* Description: Observer design pattern
* -----------------------------------------------------------------------------
* $Id$
* -----------------------------------------------------------------------------
*/
#ifndef _OBSERVER_H_
#define _OBSERVER_H_
/* --------------*
* Include files *
* --------------*
*/
#include "stm32f10x.h"
/* ------------------*
* Type definitions. *
* ------------------*
*/
/**
* The Observable class (which is a function pointer)
*/
typedef ErrorStatus (*Observer)(const void* const data);
#endif