User Manual

GAMMA instabus
Release: December 2011
API-Reference for Bus Interface Modules M130, M131, M132, M135
KNX-Processors 184/01, 184/11, 184/21
Siemens AG pages 28 Technical Manual
Infrastructure and Cities Sector,
Building Technologies
Control Products and Systems © Siemens AG 2011 page 5
P. O. Box 10 09 53, Subject to change without further notice.
D-93009 Regensburg
2.2.2 Function SetAndTransmitObject
Prototype:
BOOL SetAndTransmitObject(USHORT objectNr, void* src, BYTE len)
Description
:
Copies ‘len’ bytes from ‘src’ to the object data and sets the flags to transmit the
object specified by ‘objectNr’.
Parameters
:
USHORT objectNr:
The object number
void* src:
A pointer to the new object value
BYTE len:
The number of bytes that should be copied to the object data before
transmitting
Return values
:
true: the data was copied and the transmit flags are set
false: the operation could not be performed; that for example could be the case if the
specified object is still transmitting
Callable in / at:
interrupts, main
Stack used: 22 bytes
Comment:
This function handles the lock of the task switch in the critical sections automatically.
2.2.3 Function TestObject
Prototype:
BOOL TestObject(USHORT objectNr)
Description
:
Tests if there was an update for the object specified by ‘objectNr’.
Parameters:
USHORT objectNr:
The object number
Return values
:
true: there was an update
false: there was no update
Callable in / at:
interrupts, main
Stack used:
22 bytes
Comment:
---