RobotCode/codegentemp/Pin_Verde_PM.c
void Pin_Verde_Sleep(void)
{
    #if defined(Pin_Verde__PC)
        Pin_Verde_backup.pcState = Pin_Verde_PC;
    #else
        #if (CY_PSOC4_4200L)
            /* Save the regulator state and put the PHY into suspend mode */
            Pin_Verde_backup.usbState = Pin_Verde_CR1_REG;
            Pin_Verde_USB_POWER_REG |= Pin_Verde_USBIO_ENTER_SLEEP;
            Pin_Verde_CR1_REG &= Pin_Verde_USBIO_CR1_OFF;
        #endif
    #endif
    #if defined(CYIPBLOCK_m0s8ioss_VERSION) && defined(Pin_Verde__SIO)
        Pin_Verde_backup.sioState = Pin_Verde_SIO_REG;
        /* SIO requires unregulated output buffer and single ended input buffer */
        Pin_Verde_SIO_REG &= (uint32)(~Pin_Verde_SIO_LPM_MASK);
    #endif  
}
/**
*
* \brief Stores the pin configuration and prepares the pin for entering chip 
*  deep-sleep/hibernate modes. This function applies only to SIO and USBIO pins.
*  It should not be called for GPIO or GPIO_OVT pins.
*
* <b>Note</b> This function is available in PSoC 4 only.
*
* \return 
*  None 
*  
* \sideeffect
*  For SIO pins, this function configures the pin input threshold to CMOS and
*  drive level to Vddio. This is needed for SIO pins when in device 
*  deep-sleep/hibernate modes.
*
* \funcusage
*  \snippet Pin_Verde_SUT.c usage_Pin_Verde_Sleep_Wakeup
*******************************************************************************/
\brief Stores the pin configuration and prepares the pin for entering chip
deep-sleep/hibernate modes. This function applies only to SIO and USBIO pins.
It should not be called for GPIO or GPIO_OVT pins.

Note This function is available in PSoC 4 only.

\return
None

\sideeffect
For SIO pins, this function configures the pin input threshold to CMOS and
drive level to Vddio. This is needed for SIO pins when in device
deep-sleep/hibernate modes.


\ brief Stores the pin configuration and prepares the pin for entering chip deep - sleep / hibernate modes . This function applies only to SIO and USBIO pins . It should not be called for GPIO or GPIO_OVT pins . Note This function is available in PSoC 4 only . \ return None \ sideeffect For SIO pins this function configures the pin input threshold to CMOS and drive level to Vddio . This is needed for SIO pins when in device deep - sleep / hibernate modes .
void Pin_Verde_Sleep(void)
{
    #if defined(Pin_Verde__PC)
        Pin_Verde_backup.pcState = Pin_Verde_PC;
    #else
        #if (CY_PSOC4_4200L)
            Pin_Verde_backup.usbState = Pin_Verde_CR1_REG;
            Pin_Verde_USB_POWER_REG |= Pin_Verde_USBIO_ENTER_SLEEP;
            Pin_Verde_CR1_REG &= Pin_Verde_USBIO_CR1_OFF;
        #endif
    #endif
    #if defined(CYIPBLOCK_m0s8ioss_VERSION) && defined(Pin_Verde__SIO)
        Pin_Verde_backup.sioState = Pin_Verde_SIO_REG;
        Pin_Verde_SIO_REG &= (uint32)(~Pin_Verde_SIO_LPM_MASK);
    #endif  
}
void Pin_Verde_Sleep ( void ) { #if defined ( Pin_Verde__PC ) Pin_Verde_backup . pcState = Pin_Verde_PC ; #else #if ( CY_PSOC4_4200L ) Pin_Verde_backup . usbState = Pin_Verde_CR1_REG ; Pin_Verde_USB_POWER_REG |= Pin_Verde_USBIO_ENTER_SLEEP ; Pin_Verde_CR1_REG &= Pin_Verde_USBIO_CR1_OFF ; #endif #endif #if defined ( CYIPBLOCK_m0s8ioss_VERSION ) && defined ( Pin_Verde__SIO ) Pin_Verde_backup . sioState = Pin_Verde_SIO_REG ; Pin_Verde_SIO_REG &= ( uint32 ) ( ~ Pin_Verde_SIO_LPM_MASK ) ; #endif }
\brief Stores the pin configuration and prepares the pin for entering chip
deep-sleep/hibernate modes.
\ brief Stores the pin configuration and prepares the pin for entering chip deep - sleep / hibernate modes .
/* Save the regulator state and put the PHY into suspend mode */ /* SIO requires unregulated output buffer and single ended input buffer */