RobotCode/Generated_Source/PSoC4/Timer_Echo.c
void Timer_Echo_SetPWMDeadTime(uint32 deadTime)
{
    uint8 enableInterrupts;

    enableInterrupts = CyEnterCriticalSection();

    Timer_Echo_CONTROL_REG &= (uint32)~Timer_Echo_PRESCALER_MASK;
    Timer_Echo_CONTROL_REG |= ((uint32)((deadTime & Timer_Echo_8BIT_MASK) <<
                                                          Timer_Echo_PRESCALER_SHIFT));

    CyExitCriticalSection(enableInterrupts);
}
/*******************************************************************************
* Function Name: Timer_Echo_SetPWMDeadTime
********************************************************************************
*
* Summary:
*  Writes the dead time control value.  This value delays the rising edge of
*  both the line and line_n signals the designated number of cycles resulting
*  in both signals being inactive for that many cycles.  This functionality is
*  only applicable to the PWM in the dead time mode.

*
* Parameters:
*  Dead time to insert
*   Values: 0 to 255
*
* Return:
*  None
*
*******************************************************************************/
Function Name: Timer_Echo_SetPWMDeadTime
Summary:
Writes the dead time control value.  This value delays the rising edge of
both the line and line_n signals the designated number of cycles resulting
in both signals being inactive for that many cycles.  This functionality is
only applicable to the PWM in the dead time mode.

Dead time to insert
Values: 0 to 255

None
Function Name : Timer_Echo_SetPWMDeadTime Summary : Writes the dead time control value . This value delays the rising edge of both the line and line_n signals the designated number of cycles resulting in both signals being inactive for that many cycles . This functionality is only applicable to the PWM in the dead time mode . Dead time to insert Values : 0 to 255 None
void Timer_Echo_SetPWMDeadTime(uint32 deadTime)
{
    uint8 enableInterrupts;
    enableInterrupts = CyEnterCriticalSection();
    Timer_Echo_CONTROL_REG &= (uint32)~Timer_Echo_PRESCALER_MASK;
    Timer_Echo_CONTROL_REG |= ((uint32)((deadTime & Timer_Echo_8BIT_MASK) <<
                                                          Timer_Echo_PRESCALER_SHIFT));
    CyExitCriticalSection(enableInterrupts);
}
void Timer_Echo_SetPWMDeadTime ( uint32 deadTime ) { uint8 enableInterrupts ; enableInterrupts = CyEnterCriticalSection ( ) ; Timer_Echo_CONTROL_REG &= ( uint32 ) ~ Timer_Echo_PRESCALER_MASK ; Timer_Echo_CONTROL_REG |= ( ( uint32 ) ( ( deadTime & Timer_Echo_8BIT_MASK ) << Timer_Echo_PRESCALER_SHIFT ) ) ; CyExitCriticalSection ( enableInterrupts ) ; }
Function Name: Timer_Echo_SetPWMDeadTime
Summary:
Writes the dead time control value.
Function Name : Timer_Echo_SetPWMDeadTime Summary : Writes the dead time control value .