
81
Appendix D. Rhio Linrary
D.1 Enumeration Type
EOnOffFlag
Flag for ON, OFF, Operation condition
enum EOnOffFlag
{
EOF_ON,
//ON status
EOF_ON_ADC_LEVEL,
//ADC Level ON status
EOF_OFF,
//OFF status
EOF_NOT,
// Status uncertain status
EOF_ON_DELAY,
//Delay ON waiting status
EOF_OFF_DELAY,
//Delay OFF waiting status
EOF_ONOFF_MACRO,
//Macro(condition) waiting status
EOF_ONOFF_PULSE
//Pulse status
};
SendStatusFlag
Transfer status flag for indicating which command is sent to Rhio10
enum SendStatusFlag
{
ESF_ONOFF,
//ON, OFF control command transfer status
ESF_SET,
//
ESF_SET_MODE,
// Set mode switch command transfer status
ESF_RUN_MODE,
//operation mode change command transfer status
ESF_SET_MACRO,
//Macro Set Command transfer status
ESF_SET_DELAY_PULSE, //Delay/Pulse Set Command transfer status
ESF_SET_ADC,
//ADC Set Command transfer status
ESF_SET_ENABLE,
// Port Enable/Disable Set command transfer
// status
ESF_SET_PWR_STOP,
// Power-out Post Recovery Enable/Disable Set
// Command transfer status