RobotCode/Generated_Source/PSoC4/Timer_Echo.c
void Timer_Echo_SetOneShot(uint32 oneShotEnable)
{
    uint8 enableInterrupts;

    enableInterrupts = CyEnterCriticalSection();

    Timer_Echo_CONTROL_REG &= (uint32)~Timer_Echo_ONESHOT_MASK;
    Timer_Echo_CONTROL_REG |= ((uint32)((oneShotEnable & Timer_Echo_1BIT_MASK) <<
                                                               Timer_Echo_ONESHOT_SHIFT));

    CyExitCriticalSection(enableInterrupts);
}
/*******************************************************************************
* Function Name: Timer_Echo_SetOneShot
********************************************************************************
*
* Summary:
*  Writes the register that controls whether the Timer_Echo runs
*  continuously or stops when terminal count is reached.  By default the
*  Timer_Echo operates in the continuous mode.
*
* Parameters:
*  oneShotEnable
*   Values:
*     - 0 - Continuous
*     - 1 - Enable One Shot
*
* Return:
*  None
*
*******************************************************************************/
Function Name: Timer_Echo_SetOneShot
Summary:
Writes the register that controls whether the Timer_Echo runs
continuously or stops when terminal count is reached.  By default the
Timer_Echo operates in the continuous mode.

oneShotEnable
Values:
0 - Continuous
1 - Enable One Shot

None
Function Name : Timer_Echo_SetOneShot Summary : Writes the register that controls whether the Timer_Echo runs continuously or stops when terminal count is reached . By default the Timer_Echo operates in the continuous mode . oneShotEnable Values : 0 - Continuous 1 - Enable One Shot None
void Timer_Echo_SetOneShot(uint32 oneShotEnable)
{
    uint8 enableInterrupts;
    enableInterrupts = CyEnterCriticalSection();
    Timer_Echo_CONTROL_REG &= (uint32)~Timer_Echo_ONESHOT_MASK;
    Timer_Echo_CONTROL_REG |= ((uint32)((oneShotEnable & Timer_Echo_1BIT_MASK) <<
                                                               Timer_Echo_ONESHOT_SHIFT));
    CyExitCriticalSection(enableInterrupts);
}
void Timer_Echo_SetOneShot ( uint32 oneShotEnable ) { uint8 enableInterrupts ; enableInterrupts = CyEnterCriticalSection ( ) ; Timer_Echo_CONTROL_REG &= ( uint32 ) ~ Timer_Echo_ONESHOT_MASK ; Timer_Echo_CONTROL_REG |= ( ( uint32 ) ( ( oneShotEnable & Timer_Echo_1BIT_MASK ) << Timer_Echo_ONESHOT_SHIFT ) ) ; CyExitCriticalSection ( enableInterrupts ) ; }
Function Name: Timer_Echo_SetOneShot
Summary:
Writes the register that controls whether the Timer_Echo runs
continuously or stops when terminal count is reached.
Function Name : Timer_Echo_SetOneShot Summary : Writes the register that controls whether the Timer_Echo runs continuously or stops when terminal count is reached .