Download TCM 130 Step Code BA Software API User Manual V2

Transcript
char repeaterOff()
Switches the integrated repeater function off. The radio reception remains active.
The RX and TX buffers will be cleared.
Returns
0
radio repeater disabled
void reset()
Performs a reset of the module.
char writeOut(unsigned char outPin, unsigned char level)
Set OUT_0 to OUT_4 level as defined in level. The current status is stored in the global
structure output.
char outPin; /* 0 to 4 for OUT_0 to OUT_4 */
char level; /* TRUE=HIGH level, FALSE=LOW level */
global struct out{
unsigned OUT0
unsigned OUT1
unsigned OUT2
unsigned OUT3
unsigned OUT4
unsigned reserved
}output;
:1; /* TRUE=HIGH level, FALSE=LOW level */
:1;
:1;
:1;
:1;
:3;
Returns
0
state written to pin
1
some output pin is configured as input
2
pin value not allowed
3
OUT_4/SER_TX configured as SER_TX
©EnOcean GmbH
Page 21 of 30
TCM 130 User Manual V2.04