Jump to main content

##

# 2.90.1 PWM_DeadTimeHighSet Function

## C

    inline static void PWM_DeadTimeHighSet(PWM_GENERATOR genNum,uint16_t deadtimeHigh)

## Summary

This inline function updates PWM Deadtime high register with the requested value for a specific PWM generator selected by the argument PWM_GENERATOR Enum

## Description

This function sets the upper portion of the deadtime register to control the delay between complementary switching signals for the specified PWM generator.

## Precondition

None

## Parameters

Param | Description
--- | ---
genNum | PWM generator number
deadtimeHigh | Deadtime high value

## Returns

None

## Example

    uint16_t deadtimeHigh;
    deadtimeHigh = 0x01;
    PWM_DeadTimeHighSet(PWM_GENERATOR_1, deadtimeHigh);

## Remarks

None