ctr_mcu/branches/1.34_1.05nup/pool.h
n2232 55e2818f28 1.34 1.05nupのタグが間違えていたので編集。
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@395 013db118-44a6-b54f-8bf7-843cb86687b1
2011-08-31 07:12:20 +00:00

25 lines
448 B
C

#ifndef _pool_h_
#define _pool_h_
#include "pedometer.h"
#define VREG_C_FREE_SIZE 200
// 空いてるメモリ
typedef struct _st_vreg_c_ext{
unsigned short pedo_log[ PEDOMETER_LOG_SIZE ];
unsigned char vreg_c_free[ VREG_C_FREE_SIZE ];
}st_vreg_c_ext;
typedef union _uni_pool
{
st_vreg_c_ext vreg_c_ext;
u8 self_update_work[ 256 ]; // 256以上はまとめ書きできない
}uni_pool;
extern uni_pool pool;
#endif