heat control
r71
|
#include "types.h"
Go to the source code of this file.
Functions | |
UINT | SetLimitValue (UINT val, DATTYPE dt, CHAR dir, INT min, INT max) |
limiting values to constraints More... | |
UCHAR | FlipByte (UCHAR x) |
reverse bits in a byte (make it RS232 conform for transmission) More... | |
UCHAR * | GetCtrlMode (CTRL_MODE ctm, UCHAR *buf) |
resolve a control mode to hrf string
ctm | control mode to resolve |
buf | resolved control mode, must have at least 5 bytes allocated |
Definition at line 65 of file types.c.
References CM_DENY, CM_FOR, CM_MEAS, CM_REC, CM_SHDN, and UCHAR.
Referenced by main().
limiting values to constraints
val | value to be limited |
dt | data type of value val |
dir | direction (increment=1 or decrement=-1) of value modification |
min | lower value limit |
max | upper value limit |
Definition at line 13 of file types.c.
References CHAR, DT_CHAR, DT_INT, DT_UCHAR, DT_UINT, INT, OFF_FAR, OFF_NEAR, UCHAR, and UINT.
Referenced by DoSetup(), and main().