/* ----------------------------------------------------------------------------- * 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$ * ----------------------------------------------------------------------------- */ /** * %Observer implementation * \defgroup Observer Package Observer * \ingroup HAL * @{ */ #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 /** @} */