ctr_mcu/trunk/pool.h
N2232 eebc9f8aa6 浮動小数点を使っていたところを固定小数点に変更
お知らせLED用のドライバほぼ完成
sqrt()を差し替えてみる...(未デバッグ)
無駄な関数をマクロに


git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@129 013db118-44a6-b54f-8bf7-843cb86687b1
2010-04-21 11:31:44 +00:00

24 lines
421 B
C

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