enum BooleanLogic { FALSE = 0, TRUE =1 };
FALSE : false TRUE : true
enum Bool eanSwitch { OFF = 0, ON = 1 };
OFF : Disabled ON : Enabled
enum Judgment { OK = 0, NG = -1 };
OK : Success NG : Failure
enum ps { X, Y, Z, XYZ, XYZS, XYZSS, XY = Z, S = XYZ, Sh = S, Sv = XYZS };
X : First element of the array Y : Second element of the array Z : Third element of the array S : Fourth element of the array Sh : Fourth element of the array Sv : Fifth element of the array XY : For arrays of 2-dimensional information XYZ : For arrays of 3-dimensional information XYZS : For arrays with 3-dimensional information plus a linear scale XYZSS : For arrays with 3-dimensional information plus a secondary scale
enum mtrx { M00, M01, M02, M10, M11, M12, M20, M21, M22, M30, M31, M32, MTRX };
enum tvsz { TV_320x224, TV_320x240, TV_320x256, TV_dummy1, TV_352x224, TV_352x240, TV_352x256, TV_dummy2, TV_640x224, TV_640x240, TV_640x256, TV_dummy3, TV_704x224, TV_704x240, TV_704x256, TV_dummy4, TV_320x448, TV_320x480, TV_320x512, TV_dummy5, TV_352x448, TV_352x480, TV_352x512, TV_dummy6, TV_640x448, TV_640x480, TV_640x512, TV_dummy7, TV_704x448, TV_704x480, TV_704x512, TV_dummy8 };
slInitSystem | slSetTVMode | slSetScrTVMode | slSetSprTVMode |
enum base { SORT_BFR, SORT_MIN, SORT_MAX, SORT_CEN };
SORT_BFR - Use the position of the last displayed polygon SORT_MIN - Use the nearest point among the 4 points SORT_MAX - Use the farthest point among the 4 points SORT_CEN - Use the average position of the 4 points
enum pln { Single_Plane, Dual_Plane };
Single_Plane - Single-sided polygon Dual_Plane - Double-sided polygon (do not see the result of front/back determination)
enum color_rate{ CLRate31_1, CLRate30_2, CLRate29_3, CLRate28_4, CLRate27_5, CLRate26_6, CLRate25_7, CLRate24_8, CLRate23_9, CLRate22_10, CLRate21_11, CLRate20_12, CLRate19_13, CLRate18_14, CLRate17_15, CLRate16_16, CLRate15_17, CLRate14_18, CLRate13_19, CLRate12_20, CLRate11_21, CLRate10_22, CLRate9_23, CLRate8_24, CLRate7_25, CLRate6_26, CLRate5_27, CLRate4_28, CLRate3_29, CLRate2_30, CLRate1_31, CLRate0_32 };
enum SmpcSelect { SMPC_SH2_DIRECT, SMPC_CONTROL };
SMPC_SH2_DIRECT -- SH2 Direct SMPC_CONTROL -- SMPC Control
slGetPortSelect1 | slGetPortSelect2 | slSetPortSelect1 | slSetPortSelect2 |
slGetStatus |
enum SmpcExtLatch { SMPC_EXL_ENA, SMPC_EXL_DIS };
SMPC_EXL_ENA -- Enable external latch input SMPC_EXL_DIS -- Disable external latch input
slGetPortExt1 | slGetPortExt2 | slSetPortExt1 | slSetPortExt2 |
slGetStatus |
enum SmpcResetButton { SMPC_RES_ON, SMPC_RES_OFF };
SMPC_RES_ON -- Reset button ON SMPC_RES_OFF -- Reset button OFF
slCheckReset | slGetStatus |
enum SmpcAreaCode { SMPC_AREA_RSV_0, SMPC_AREA_JP, SMPC_AREA_AJ_NTSC, SMPC_AREA_RSV_3, SMPC_AREA_NA, SMPC_AREA_SA_NTSC, SMPC_AREA_KO, SMPC_AREA_RSV_7, SMPC_AREA_RSV_8, SMPC_AREA_RSV_9, SMPC_AREA_AJ_PAL, SMPC_AREA_RSV_B, SMPC_AREA_EU_PAL, SMPC_AREA_SA_PAL, SMPC_AREA_RSV_E, SMPC_AREA_RSV_F };
SMPC_AREA_RSV_0, -- Use prohibited SMPC_AREA_JP, -- Japan region SMPC_AREA_AJ_NTSC -- Asia NTSC region SMPC_AREA_RSV_3 -- Use prohibited SMPC_AREA_NA -- North America region SMPC_AREA_SA_NTSC -- Latin America NTSC region SMPC_AREA_KO -- South Korea region SMPC_AREA_RSV_7 -- Use prohibited SMPC_AREA_RSV_8 -- Use Prohibited SMPC_AREA_RSV_9 -- Prohibited to use SMPC_AREA_AJ_PAL -- Asia PAL region SMPC_AREA_RSV_B -- Prohibited to use SMPC_AREA_EU_PAL -- Europe PAL region SMPC_AREA_SA_PAL -- Latin America PAL region SMPC_AREA_RSV_E -- Prohibited to use SMPC_AREA_RSV_F -- Prohibited to use
slGetStatus |
enum SmpcOptimize { SMPC_OPT_DIS, SMPC_OPT_ENA };
SMPC_OPT_DIS -- Disable acquisition time optimization SMPC_OPT_ENA -- Enable acquisition time optimization
slGetOptimize | slSetOptimize | slGetStatus |
enum SmpcPortMode { SMPC_PORT_15, SMPC_PORT_255, SMPC_PORT_RSV, SMPC_PORT_ZERO };
SMPC_PORT_15 -- 15 byte mode SMPC_PORT_255 -- 255 byte mode SMPC_PORT_RSV -- Setting prohibited SMPC_PORT_ZERO -- 0 byte mode
slGetPortMode1 | slGetPortMode2 | slSetPortMode1 | slSetPortMode2 |
slGetStatus |
enum SmpcLanguage { SMPC_ENGLISH, SMPC_DEUTSCH, SMPC_FRANCAIS, SMPC_ESPANOL, SMPC_ITALIANO, SMPC_JAPAN };
SMPC_ENGLISH -- English SMPC_DEUTSCH -- German SMPC_FRANCAIS -- French SMPC_ESPANOL -- Spanish SMPC_ITALIANO -- Italian SMPC_JAPAN -- Japanese
slGetLanguage | slSetLanguage | slGetStatus |
enum SmpcSoundEffect { SMPC_EFFECT_OFF, SMPC_EFFECT_ON };
SMPC_EFFECT_OFF -- Sound effect OFF SMPC_EFFECT_ON -- Sound effect ON
slGetSoundEffect | slSetSoundEffect | slGetStatus |
enum SmpcSoundOutput { SMPC_SOUND_MONO, SMPC_SOUND_STEREO };
SMPC_SOUND_MONO -- Mono SMPC_SOUND_STEREO -- Stereo
slGetSoundOutput | slSetSoundOutput | slGetStatus |
enum SmpcHelpWindow { SMPC_HELP_DIS, SMPC_HELP_ENA };
SMPC_HELP_DIS -- Do not display SMPC_HELP_ENA -- Display
slGetHelpWindow | slSetHelpWindow | slGetStatus |
enum SmpcMonth { SMPC_DMY, SMPC_JAN, SMPC_FEB, SMPC_MAR, SMPC_APR, SMPC_MAY, SMPC_JUN, SMPC_JUL, SMPC_AUG, SMPC_SEP, SMPC_OCT, SMPC_NOV, SMPC_DEC };
SMPC_DMY -- Dummy SMPC_JAN -- January SMPC_FEB -- February SMPC_MAR -- March SMPC_APR -- April SMPC_MAY -- May SMPC_JUN -- June SMPC_JUL -- July SMPC_AUG -- August SMPC_SEP -- September SMPC_OCT -- October SMPC_NOV -- November SMPC_DEC -- December
slGetStatus |
enum SmpcCommand { SMPC_MSHON, SMPC_SSHON, SMPC_SSHOFF, SMPC_SNDON, SMPC_SNDOFF, SMPC_CDON, SMPC_CDOFF, SMPC_SYSRES, SMPC_CKC352, SMPC_CKC320, SMPC_NMIREQ, SMPC_RESENA, SMPC_RESDIS, SMPC_GETSTS, SMPC_GETPER, SMPC_SETMEM, SMPC_SETTIM, SMPC_CMDMAX };
SMPC_MSHON -- Master SH2-ON SMPC_SSHON -- Slave SH2-ON SMPC_SSHOFF -- Slave SH2-OFF SMPC_SNDON -- Sound-ON SMPC_SNDOFF -- Sound-OFF SMPC_CDON -- CD-ON SMPC_CDOFF -- CD-OFF SMPC_SYSRES -- Whole system reset SMPC_CKC352 -- Clock change 352 mode SMPC_CKC320 -- Clock change 320 mode SMPC_NMIREQ -- NMI request SMPC_RESENA -- Reset enable SMPC_RESDIS -- Reset disable SMPC_GETSTS -- Get status SMPC_GETPER -- Get peripheral SMPC_SETMEM -- SMPC Memory setting SMPC_SETTIM -- Time setting SMPC_CMDMAX -- Command number maximum value
enum SmpcWaitMode { SMPC_NO_WAIT, SMPC_WAIT };
SMPC_NO_WAIT -- No waiting for command execution to finish SMPC_WAIT -- Waiting for command execution to finish
enum { winFar, winNear };
winFar -- Back window winNear -- Front window