SOES/applications/xmc4300_slavedemo/utypes.h

37 lines
608 B
C

/*
* Licensed under the GNU General Public License version 2 with exceptions. See
* LICENSE file in the project root for full license information
*/
/** \file
* \brief
* Header file for Application types.
*
* Part of the application, host declarations of application types mapped against
* ServiceData Objects and ProcessData Objects.
*/
#ifndef __utypes_h__
#define __utypes_h__
#include <cc.h>
typedef struct
{
uint8_t state;
uint8_t button;
uint32_t encoder;
} _Rbuffer;
typedef struct
{
uint8_t LED;
} _Wbuffer;
typedef struct
{
uint32_t reset_counter;
} _Cbuffer;
#endif