ctr_mcu/branches/0.15(sdk0.9_E3_fix_vol)/jhl_defs.h
N2232 898a08202c 0.15 for E3
TSボードに書き込むと動作はしますが実機との差分で以下の不具合があります。
 (ベースが10.10であり、E3実機専用版と言うことで)
 ・加速度センサが使用できません
 ・音量Volが上下反転しています


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

27 lines
493 B
C

#ifndef __jhl_defs_h__
#define __jhl_defs_h__
typedef unsigned char u8;
typedef signed char s8;
typedef unsigned short u16;
typedef signed short s16;
typedef unsigned char err;
#include "config.h"
#define set_bit( cond, reg, pos ) \
{ \
if( cond ){ \
reg |= pos; \
}else{ \
reg &= ~pos; \
} \
}
#endif