Standardsoftware
PBYTE
pb_ExternGate
PBYTE
pb_InterruptEnable
PBYTE
pb_Enable
Aufgabe:
Return the PWM (b_PWM) initialisation of the selected module (b_ModulNbr).
First call the function " i_APCI1710_InitPWM" before you call this function.
Funktionsaufruf:
ANSI C:
unsigned char
unsigned long
unsigned long
unsigned char
unsigned char
unsigned char
unsigned char
unsigned char
unsigned char
i_ReturnValue = i_APCI1710_GetPWMInitialisation
Return Wert:
0: Kein Fehler
-1: Handle Parameter der Karte ist falsch
-2: Die ausgewählte Modulnummer ist falsch
-3: Das ausgewählte Modul ist kein "PWM"-Modul.
-4: PWM Auswahl ist falsch
-5: PWM nicht initialisiert. Siehe Funktion "i_APCI1710_InitPWM"
28
External gate action selection
0: External gate signal not used.
1: External gate signal used.
Aktiviert or Deaktiviert the PWM interrupt.
APCI1710_ENABLE: Aktiviert the PWM
interrupt. An interrupt occurs after each period
APCI1710_DISABLE: Deaktiviert the PWM
interrupt
Indicate if the PWM is enabled or not
0: PWM not enabled
1: PWM enabled
b_TimingUnit;
ul_LowTiming;
ul_HighTiming;
b_StartLevel;
b_StopMode;
b_StopLevel;
b_ExternGate;
b_InterruptEnable;
b_Enable;
(b_BoardHandle,
0,
0,
&b_TimingUnit,
&ul_LowTiming,
&ul_HighTiming,
&b_StartLevel,
&b_StopMode,
&b_StopLevel,
&b_ExternGate,
&b_InterruptEnable,
&b_Enable);
APCI-/CPCI-1710