Public Property PwmChannel(ByVal channel As Long) As Eth32PwmChannel
This property configures the state of the PWM channels. When a channel is disabled, the I/O pin will function as a normal digital I/O pin. When the channel is enabled, that I/O pin will be overridden and the pin will become the PWM output. However, note that the pin must be put into output mode using the SetDirection Method or SetDirectionBit Method.
This property is a Eth32PwmChannel enumerator type, which has the following valid values:
PWM_CHANNEL_DISABLED - The PWM pin will function as a normal digital I/O pin.
PWM_CHANNEL_NORMAL - The PWM pin will function as a PWM output. It will be high for the time specified by the duty period and low for the rest of the PWM base period.
PWM_CHANNEL_INVERTED - The PWM pin will function as a PWM output. It will be low for the time specified by the duty period and high for the rest of the PWM base period.