RobotCode/Generated_Source/PSoC4/Clock_Trigger.c
void Clock_Trigger_Stop(void)
{
#if defined CYREG_PERI_DIV_CMD

    /* 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 disable. */
    Clock_Trigger_CMD_REG =
        ((uint32)Clock_Trigger__DIV_ID << Clock_Trigger_CMD_DIV_SHIFT)|
        ((uint32)Clock_Trigger_CMD_DISABLE_MASK);

#else

    /* Clear the bit to disable the clock. */
    Clock_Trigger_ENABLE_REG &= (uint32)(~Clock_Trigger__ENABLE_MASK);
    
#endif /* CYREG_PERI_DIV_CMD */
}
/*******************************************************************************
* Function Name: Clock_Trigger_Stop
********************************************************************************
*
* Summary:
*  Stops the clock and returns immediately. This API does not require the
*  source clock to be running but may return before the hardware is actually
*  disabled.
*
* Parameters:
*  None
*
* Returns:
*  None
*
*******************************************************************************/
Function Name: Clock_Trigger_Stop
Summary:
Stops the clock and returns immediately. This API does not require the
source clock to be running but may return before the hardware is actually
disabled.

None

None
Function Name : Clock_Trigger_Stop Summary : Stops the clock and returns immediately . This API does not require the source clock to be running but may return before the hardware is actually disabled . None None
void Clock_Trigger_Stop(void)
{
#if defined CYREG_PERI_DIV_CMD
    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)|
        ((uint32)Clock_Trigger_CMD_DISABLE_MASK);
#else
    Clock_Trigger_ENABLE_REG &= (uint32)(~Clock_Trigger__ENABLE_MASK);
#endif 
}
void Clock_Trigger_Stop ( void ) { #if defined CYREG_PERI_DIV_CMD 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 ) | ( ( uint32 ) Clock_Trigger_CMD_DISABLE_MASK ) ; #else Clock_Trigger_ENABLE_REG &= ( uint32 ) ( ~ Clock_Trigger__ENABLE_MASK ) ; #endif }
Function Name: Clock_Trigger_Stop
Summary:
Stops the clock and returns immediately.
Function Name : Clock_Trigger_Stop Summary : Stops the clock and returns immediately .
/* Make sure any previous start command has finished. */ /* Specify the target divider and it's alignment divider, and disable. */ /* Clear the bit to disable the clock. */ /* CYREG_PERI_DIV_CMD */