RobotCode/Generated_Source/PSoC4/Timer_Echo.c
void Timer_Echo_SetPrescaler(uint32 prescaler)
{
    uint8 enableInterrupts;

    enableInterrupts = CyEnterCriticalSection();

    Timer_Echo_CONTROL_REG &= (uint32)~Timer_Echo_PRESCALER_MASK;
    Timer_Echo_CONTROL_REG |= prescaler;

    CyExitCriticalSection(enableInterrupts);
}
/*******************************************************************************
* Function Name: Timer_Echo_SetPrescaler
********************************************************************************
*
* Summary:
*  Sets the prescaler value that is applied to the clock input.  Not applicable
*  to a PWM with the dead time mode or Quadrature Decoder mode.
*
* Parameters:
*  prescaler: Prescaler divider value
*   Values:
*         - Timer_Echo_PRESCALE_DIVBY1    - Divide by 1 (no prescaling)
*         - Timer_Echo_PRESCALE_DIVBY2    - Divide by 2
*         - Timer_Echo_PRESCALE_DIVBY4    - Divide by 4
*         - Timer_Echo_PRESCALE_DIVBY8    - Divide by 8
*         - Timer_Echo_PRESCALE_DIVBY16   - Divide by 16
*         - Timer_Echo_PRESCALE_DIVBY32   - Divide by 32
*         - Timer_Echo_PRESCALE_DIVBY64   - Divide by 64
*         - Timer_Echo_PRESCALE_DIVBY128  - Divide by 128
*
* Return:
*  None
*
*******************************************************************************/
Function Name: Timer_Echo_SetPrescaler
Summary:
Sets the prescaler value that is applied to the clock input.  Not applicable
to a PWM with the dead time mode or Quadrature Decoder mode.



None
Function Name : Timer_Echo_SetPrescaler Summary : Sets the prescaler value that is applied to the clock input . Not applicable to a PWM with the dead time mode or Quadrature Decoder mode . None
void Timer_Echo_SetPrescaler(uint32 prescaler)
{
    uint8 enableInterrupts;
    enableInterrupts = CyEnterCriticalSection();
    Timer_Echo_CONTROL_REG &= (uint32)~Timer_Echo_PRESCALER_MASK;
    Timer_Echo_CONTROL_REG |= prescaler;
    CyExitCriticalSection(enableInterrupts);
}
void Timer_Echo_SetPrescaler ( uint32 prescaler ) { uint8 enableInterrupts ; enableInterrupts = CyEnterCriticalSection ( ) ; Timer_Echo_CONTROL_REG &= ( uint32 ) ~ Timer_Echo_PRESCALER_MASK ; Timer_Echo_CONTROL_REG |= prescaler ; CyExitCriticalSection ( enableInterrupts ) ; }
Function Name: Timer_Echo_SetPrescaler
Summary:
Sets the prescaler value that is applied to the clock input.
Function Name : Timer_Echo_SetPrescaler Summary : Sets the prescaler value that is applied to the clock input .