ctr_mcu/branches/2.22_SDK5(4thNUP)/jhl_defs.h
n2232 0f1c0f308a SNAKE 対応との兼ね合いでバージョン番号の都合が悪いので変更
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@495 013db118-44a6-b54f-8bf7-843cb86687b1
2012-12-05 01:38:19 +00:00

26 lines
535 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 short ux16;
typedef signed short sx16;
#define true 1
#define false 0
#define set_bit( cond, reg, pos ) \
{ \
if( cond ){ \
reg |= pos; \
}else{ \
reg &= ~pos; \
} \
}
#endif