Jump to main content

##

# 2.90.41 PWM_MODES Enum

## C

    typedef enum
    {
        PWM_MODE_INDEPENDENT_EDGE =  0x0,       /**< Independent Edge mode*/
        PWM_MODE_VARIABLE_PHASE =  0x1,       /**< Variable Phase mode*/
        PWM_MODE_INDEPENDENT_EDGE_DUAL_OUTPUT =  0x2,       /**< Independent Edge, dual output mode*/
        PWM_MODE_CENTER_ALIGNED =  0x4,       /**< Center-Aligned mode*/
        PWM_MODE_DOUBLE_UPDATE_CENTER_ALIGNED =  0x5,       /**< Double-Update Center-Aligned mode*/
        PWM_MODE_DUAL_EDGE_CENTER_ALIGNED_ONE_UPDATE_CYCLE =  0x6,       /**< Dual Edge Center-Aligned;one update/cycle mode*/
        PWM_MODE_DUAL_EDGE_CENTER_ALIGNED_TWO_UPDATES_CYCLE =  0x7,       /**< Dual Edge Center-Aligned;two updates/cycle mode*/
    }PWM_MODES;

## Summary

Defines the PWM generator operating modes that are available.

## Description

The `PWM_MODES` enum specifies various operating modes for the PWM generator. These modes control how the PWM signal is generated, including independent edge modes, center-aligned modes, and dual-edge modes. Each mode provides different timing characteristics for the PWM signal, which may be useful for applications requiring precise control of the signal's rise, fall, or center alignment. The modes available in this enum can be selected based on the specific requirements of the application.

## Remarks

None.