mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-06-18 16:45:33 -04:00
25 lines
448 B
C
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
|