RobotCode/Generated_Source/PSoC4/Clock_Trigger.c
void Clock_Trigger_StartEx(uint32 alignClkDiv)
{
    /* Make sure any previous start command has finished. */
    while((Clock_Trigger_CMD_REG & Clock_Trigger_CMD_ENABLE_MASK) != 0u)
    {
    }
    
    /* Specify the target divider and it's alignment divider, and enable. */
    Clock_Trigger_CMD_REG =
        ((uint32)Clock_Trigger__DIV_ID << Clock_Trigger_CMD_DIV_SHIFT)|
        (alignClkDiv << Clock_Trigger_CMD_PA_DIV_SHIFT) |
        (uint32)Clock_Trigger_CMD_ENABLE_MASK;
}
/*******************************************************************************
* Function Name: Clock_Trigger_StartEx
********************************************************************************
*
* Summary:
*  Starts the clock, aligned to the specified running clock.
*
* Parameters:
*  alignClkDiv:  The divider to which phase alignment is performed when the
*    clock is started.
*
* Returns:
*  None
*
*******************************************************************************/
Function Name: Clock_Trigger_StartEx
Summary:
Starts the clock, aligned to the specified running clock.

The divider to which phase alignment is performed when the
clock is started.

None
Function Name : Clock_Trigger_StartEx Summary : Starts the clock aligned to the specified running clock . The divider to which phase alignment is performed when the clock is started . None
void Clock_Trigger_StartEx(uint32 alignClkDiv)
{
    while((Clock_Trigger_CMD_REG & Clock_Trigger_CMD_ENABLE_MASK) != 0u)
    {
    }
    Clock_Trigger_CMD_REG =
        ((uint32)Clock_Trigger__DIV_ID << Clock_Trigger_CMD_DIV_SHIFT)|
        (alignClkDiv << Clock_Trigger_CMD_PA_DIV_SHIFT) |
        (uint32)Clock_Trigger_CMD_ENABLE_MASK;
}
void Clock_Trigger_StartEx ( uint32 alignClkDiv ) { while ( ( Clock_Trigger_CMD_REG & Clock_Trigger_CMD_ENABLE_MASK ) != 0u ) { } Clock_Trigger_CMD_REG = ( ( uint32 ) Clock_Trigger__DIV_ID << Clock_Trigger_CMD_DIV_SHIFT ) | ( alignClkDiv << Clock_Trigger_CMD_PA_DIV_SHIFT ) | ( uint32 ) Clock_Trigger_CMD_ENABLE_MASK ; }
Function Name: Clock_Trigger_StartEx
Summary:
Starts the clock, aligned to the specified running clock.
Function Name : Clock_Trigger_StartEx Summary : Starts the clock aligned to the specified running clock .
/* Make sure any previous start command has finished. */ /* Specify the target divider and it's alignment divider, and enable. */