RobotCode/Generated_Source/PSoC4/Timer_Echo.c
void Timer_Echo_TriggerCommand(uint32 mask, uint32 command)
{
    uint8 enableInterrupts;

    enableInterrupts = CyEnterCriticalSection();

    Timer_Echo_COMMAND_REG = ((uint32)(mask << command));

    CyExitCriticalSection(enableInterrupts);
}
/*******************************************************************************
* Function Name: Timer_Echo_TriggerCommand
********************************************************************************
*
* Summary:
*  Triggers the designated command to occur on the designated TCPWM instances.
*  The mask can be used to apply this command simultaneously to more than one
*  instance.  This allows multiple TCPWM instances to be synchronized.
*
* Parameters:
*  mask: A combination of mask bits for each instance of the TCPWM that the
*        command should apply to.  This function from one instance can be used
*        to apply the command to any of the instances in the design.
*        The mask value for a specific instance is available with the MASK
*        define.
*  command: Enumerated command values. Capture command only applicable for
*           Timer/Counter with Capture and PWM modes.
*   Values:
*     - Timer_Echo_CMD_CAPTURE    - Trigger Capture/Switch command
*     - Timer_Echo_CMD_RELOAD     - Trigger Reload/Index command
*     - Timer_Echo_CMD_STOP       - Trigger Stop/Kill command
*     - Timer_Echo_CMD_START      - Trigger Start/phiB command
*
* Return:
*  None
*
*******************************************************************************/
Function Name: Timer_Echo_TriggerCommand
Summary:
Triggers the designated command to occur on the designated TCPWM instances.
The mask can be used to apply this command simultaneously to more than one
instance.  This allows multiple TCPWM instances to be synchronized.

A combination of mask bits for each instance of the TCPWM that the
command should apply to.  This function from one instance can be used
to apply the command to any of the instances in the design.
The mask value for a specific instance is available with the MASK
define.
command: Enumerated command values. Capture command only applicable for
Timer/Counter with Capture and PWM modes.
Values:
Timer_Echo_CMD_CAPTURE    - Trigger Capture/Switch command
Timer_Echo_CMD_RELOAD     - Trigger Reload/Index command
Timer_Echo_CMD_STOP       - Trigger Stop/Kill command
Timer_Echo_CMD_START      - Trigger Start/phiB command

None
Function Name : Timer_Echo_TriggerCommand Summary : Triggers the designated command to occur on the designated TCPWM instances . The mask can be used to apply this command simultaneously to more than one instance . This allows multiple TCPWM instances to be synchronized . A combination of mask bits for each instance of the TCPWM that the command should apply to . This function from one instance can be used to apply the command to any of the instances in the design . The mask value for a specific instance is available with the MASK define . command : Enumerated command values . Capture command only applicable for Timer / Counter with Capture and PWM modes . Values : Timer_Echo_CMD_CAPTURE - Trigger Capture / Switch command Timer_Echo_CMD_RELOAD - Trigger Reload / Index command Timer_Echo_CMD_STOP - Trigger Stop / Kill command Timer_Echo_CMD_START - Trigger Start / phiB command None
void Timer_Echo_TriggerCommand(uint32 mask, uint32 command)
{
    uint8 enableInterrupts;
    enableInterrupts = CyEnterCriticalSection();
    Timer_Echo_COMMAND_REG = ((uint32)(mask << command));
    CyExitCriticalSection(enableInterrupts);
}
void Timer_Echo_TriggerCommand ( uint32 mask , uint32 command ) { uint8 enableInterrupts ; enableInterrupts = CyEnterCriticalSection ( ) ; Timer_Echo_COMMAND_REG = ( ( uint32 ) ( mask << command ) ) ; CyExitCriticalSection ( enableInterrupts ) ; }
Function Name: Timer_Echo_TriggerCommand
Summary:
Triggers the designated command to occur on the designated TCPWM instances.
Function Name : Timer_Echo_TriggerCommand Summary : Triggers the designated command to occur on the designated TCPWM instances .