ADwin-Gold II
, Manual February 2013
137
PWM Outputs
PWM_Enable
ADwin
PWM_Enable
PWM_Enable
enables or disables one or more PWM outputs.
Syntax
#Include
ADwinGoldII.inc / GoldIITiCo.inc
PWM_Enable
(
pattern
)
Parameters
Notes
The time, when the PWM outputs are disabled–at once or after the next
end of period–depends on the setting which was done with
PWM_Init
(parameter
See also
,
,
,
Valid for
Gold II-CNT
Example
see
T11 TiCo
pattern
Bit pattern for selection of PWM outputs.
Bit = 0: Disable PWM output.
Bit = 1: Enable PWM output.
LONG
Bit no.
31…6
5
4
3
2
1
0
PWM output
–
6
5
4
3
2
1