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

#if !defined(EA_E78AC287_0A18_4bcd_A402_38189783CBAF__INCLUDED_)
#define EA_E78AC287_0A18_4bcd_A402_38189783CBAF__INCLUDED_


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

#include "InputPort.h"


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

unsigned int GyroSensor_getAngularVelocity(GyroSensor* this);
void GyroSensor_init(GyroSensor* this, INPUT_PORT a_inputPort);
unsigned int GyroSensor_getOffset(GyroSensor* this);

#endif /*!defined(EA_E78AC287_0A18_4bcd_A402_38189783CBAF__INCLUDED_)*/

