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 13
P. O. Box 10 09 53, Subject to change without further notice.
D-93009 Regensburg
2.4.6 Function ADCResetInterrupted
Prototype:
void ADCResetInterrupted(void)
Description
:
Resets the flag that indicates that an AD conversion was stopped by the system
Parameters
:
none
Return values:
none
Callable in / at:
main
Stack used:
8 bytes
Comment:
---
2.4.7 Function CalcPEIType
Prototype:
BYTE CalcPEIType(BYTE adval)
Description
:
This function can be used to calculate the PEI type that corresponds to the given AD
converter value.
Parameters
:
BYTE adval:
The measured AD converter value
Return values
:
none
Callable in / at:
init, main
Stack used: 8 bytes
Comment:
---
2.5 Pulse width modulation
The following functions are used to control to pulse width modulation output of the BIM.
2.5.1 Function PWMInit
Prototype:
void PWMInit(PWMChannelType channel, PWMPolType mode,
PWMSpeedModeType speed)
Description
:
Inits the pulse width modulation output for the specified channel. Select the polarity
via ‘mode’ and a speed via ‘speed’.