Recycle example.cydsn/Generated_Source/PSoC5/XBEE.c
void XBEE_Enable(void) 
{
    #if defined(CY_SCB_XBEE_UART_H)
        XBEE_UART_SetRxInterruptMode(XBEE_UART_INTR_RX_NOT_EMPTY);
        XBEE_UART_SetCustomInterruptHandler(XBEE_RX_ISR);
    #elif defined(CY_UART_XBEE_UART_H)
        XBEE_UART_SetRxInterruptMode(XBEE_UART_RX_STS_FIFO_NOTEMPTY);
        XBEE_RX_INT_StartEx(XBEE_RX_ISR);
    #else
        #error "UART not defined"
    #endif
    
    XBEE_SLEEP_RQ_Write(0);
}
/**
* Activates the hardware and begins component operation. It is not necessary to
* call XBEE_Enable() because the XBEE_Start() API calls this function, which is
* the preferred method to begin component operation.
*
* @see XBEE_Start()
*/
Activates the hardware and begins component operation. It is not necessary to
call XBEE_Enable() because the XBEE_Start() API calls this function, which is
the preferred method to begin component operation.
Activates the hardware and begins component operation . It is not necessary to call XBEE_Enable () because the XBEE_Start () API calls this function which is the preferred method to begin component operation .
void XBEE_Enable(void) 
{
    #if defined(CY_SCB_XBEE_UART_H)
        XBEE_UART_SetRxInterruptMode(XBEE_UART_INTR_RX_NOT_EMPTY);
        XBEE_UART_SetCustomInterruptHandler(XBEE_RX_ISR);
    #elif defined(CY_UART_XBEE_UART_H)
        XBEE_UART_SetRxInterruptMode(XBEE_UART_RX_STS_FIFO_NOTEMPTY);
        XBEE_RX_INT_StartEx(XBEE_RX_ISR);
    #else
        #error "UART not defined"
    #endif
    XBEE_SLEEP_RQ_Write(0);
}
void XBEE_Enable ( void ) { #if defined ( CY_SCB_XBEE_UART_H ) XBEE_UART_SetRxInterruptMode ( XBEE_UART_INTR_RX_NOT_EMPTY ) ; XBEE_UART_SetCustomInterruptHandler ( XBEE_RX_ISR ) ; #elif defined ( CY_UART_XBEE_UART_H ) XBEE_UART_SetRxInterruptMode ( XBEE_UART_RX_STS_FIFO_NOTEMPTY ) ; XBEE_RX_INT_StartEx ( XBEE_RX_ISR ) ; #else #error  "UART not defined" #endif XBEE_SLEEP_RQ_Write ( 0 ) ; }
Activates the hardware and begins component operation.
Activates the hardware and begins component operation .