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 19
P. O. Box 10 09 53, Subject to change without further notice.
D-93009 Regensburg
Return values
:
none
Callable in / at:
init, main
Stack used:
8 bytes
Comment:
---
2.8.2 Function SPISend
Prototype:
BOOL SPISend(BYTE* pData, BYTE length)
Description
:
This function is used to transmit ‘legth’ bytes from ‘pData’ over SPI. The received data
overwrites the data in ‘pData’.
Parameters
:
BYTE* pData:
A pointer to data that should be transmitted and where the received data is
stored
BYTE length:
The number of bytes that should be exchanged over SPI
Return values
:
true: the SPI data exchange was successful
false: the SPI data exchange was not successful
Callable in / at:
interrupts, init, main, save, unload
Stack used:
8 bytes
Comment:
---
2.9 Flash
The following functions are used to write data to the flash memory of the BIM.
2.9.1 Function FlashSegErase
Prototype:
BOOL FlashSegErase(ULONG dst)
Description
:
This function is used to erase a segment in flash memory where ‘dst’ is in.
Parameters
:
ULONG dst:
Specifies which flash segment should be erased. The address has not to be
the start address of the flash segment.
Return values
: