RobotCode/Generated_Source/PSoC4/Timer_Echo.c
void Timer_Echo_SetPWMStopOnKill(uint32 stopOnKillEnable)
{
    uint8 enableInterrupts;

    enableInterrupts = CyEnterCriticalSection();

    Timer_Echo_CONTROL_REG &= (uint32)~Timer_Echo_PWM_STOP_KILL_MASK;
    Timer_Echo_CONTROL_REG |= ((uint32)((stopOnKillEnable & Timer_Echo_1BIT_MASK)  <<
                                                         Timer_Echo_PWM_STOP_KILL_SHIFT));

    CyExitCriticalSection(enableInterrupts);
}
/*******************************************************************************
* Function Name: Timer_Echo_SetPWMStopOnKill
********************************************************************************
*
* Summary:
*  Writes the register that controls whether the PWM kill signal (stop input)
*  causes the PWM counter to stop.  By default the kill operation does not stop
*  the counter.  This functionality is only applicable to the three PWM modes.
*
*
* Parameters:
*  stopOnKillEnable
*   Values:
*     - 0 - Don't stop
*     - 1 - Stop
*
* Return:
*  None
*
*******************************************************************************/
Function Name: Timer_Echo_SetPWMStopOnKill
Summary:
Writes the register that controls whether the PWM kill signal (stop input)
causes the PWM counter to stop.  By default the kill operation does not stop
the counter.  This functionality is only applicable to the three PWM modes.

stopOnKillEnable
Values:
0 - Don't stop
1 - Stop

None
Function Name : Timer_Echo_SetPWMStopOnKill Summary : Writes the register that controls whether the PWM kill signal ( stop input ) causes the PWM counter to stop . By default the kill operation does not stop the counter . This functionality is only applicable to the three PWM modes . stopOnKillEnable Values : 0 - Don ' t stop 1 - Stop None
void Timer_Echo_SetPWMStopOnKill(uint32 stopOnKillEnable)
{
    uint8 enableInterrupts;
    enableInterrupts = CyEnterCriticalSection();
    Timer_Echo_CONTROL_REG &= (uint32)~Timer_Echo_PWM_STOP_KILL_MASK;
    Timer_Echo_CONTROL_REG |= ((uint32)((stopOnKillEnable & Timer_Echo_1BIT_MASK)  <<
                                                         Timer_Echo_PWM_STOP_KILL_SHIFT));
    CyExitCriticalSection(enableInterrupts);
}
void Timer_Echo_SetPWMStopOnKill ( uint32 stopOnKillEnable ) { uint8 enableInterrupts ; enableInterrupts = CyEnterCriticalSection ( ) ; Timer_Echo_CONTROL_REG &= ( uint32 ) ~ Timer_Echo_PWM_STOP_KILL_MASK ; Timer_Echo_CONTROL_REG |= ( ( uint32 ) ( ( stopOnKillEnable & Timer_Echo_1BIT_MASK ) << Timer_Echo_PWM_STOP_KILL_SHIFT ) ) ; CyExitCriticalSection ( enableInterrupts ) ; }
Function Name: Timer_Echo_SetPWMStopOnKill
Summary:
Writes the register that controls whether the PWM kill signal (stop input)
causes the PWM counter to stop.
Function Name : Timer_Echo_SetPWMStopOnKill Summary : Writes the register that controls whether the PWM kill signal ( stop input ) causes the PWM counter to stop .