ctr_mcu/branches/IS_capture/pedometer.h
n2232 332ac5a442 ISのキャプチャに対応できるか?
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@560 013db118-44a6-b54f-8bf7-843cb86687b1
2013-09-06 04:47:29 +00:00

37 lines
713 B
C
Raw Permalink Blame History

#ifndef _pedo_
#define _pedo_
#ifdef WIN32
typedef unsigned char bit;
typedef unsigned char u8;
typedef unsigned short u16;
#endif
// =========================================================
extern bit pedolog_read_msb;
// =========================================================
//void hosu_read_end( ); ƒ}ƒNƒ<4E>‰»
#define hosu_read_end() pedolog_read_msb = 0
u8 hosu_read( );
void hosu_increment_if_necessary();
void fill_hosu_hist_hours( u16 );
void clear_hosu_hist();
void pedometer();
// =========================================================
#define PEDOMETER_LOG_SIZE ( 24 * 7 )
// =========================================================
#endif