BBBCSIO

The PWMPortEnum Enum

 

The PWMPortEnum Enum

The PWMPortEnum enum defines possible PWM ports on the Beaglebone Black.

 

Source Code

The source code for this class is available online for download and also in browseable form.

 

Syntax

    public enum PWMPortEnum
    {
        PWM_NONE,
        PWM0_A,     // PWM_P9_22_or_P9_31 (EHRPWM0A)
        PWM0_B,     // PWM_P9_21_or_P9_29 (EHRPWM0B)                 
        PWM1_A,     // PWM_P9_14_or_P8_36 (EHRPWM1A)
        PWM1_B,     // PWM_P9_16_or_P8_34 (EHRPWM1B)
        PWM2_A,     // PWM_P8_19_or_P8_45 (EHRPWM2A)
        PWM2_B,     // PWM_P8_13_or_P8_46 (EHRPWM2B)
        // PWM_P9_42,             // ECAPPWM0
        // PWM_P9_28,             // ECAPPWM2
    }