/****************************************************
 *  TouchSensor.h                                         
 *  Created on: 2012/04/17 11:48:19                      
 *  Implementation of the Class TouchSensor       
 *  Original author: hiroyuki.watanabe                     
 ****************************************************/

#if !defined(EA_472332ED_AFDE_4e59_A6FC_BA4B32B20CE1__INCLUDED_)
#define EA_472332ED_AFDE_4e59_A6FC_BA4B32B20CE1__INCLUDED_


#include "kernel.h"
#include "kernel_id.h"

#include "InputPort.h"


// 属性を保持するための構造体の定義
typedef struct TouchSensor
{
	INPUT_PORT inputPort;
} TouchSensor;

void TouchSensor_init(TouchSensor* this, INPUT_PORT a_inputPort);
int TouchSensor_isPressed(TouchSensor* this);

#endif /*!defined(EA_472332ED_AFDE_4e59_A6FC_BA4B32B20CE1__INCLUDED_)*/

