Recycle example.cydsn/Generated_Source/PSoC5/XBEE.c
void XBEE_Init(void) 
{
    XBEE_RESET_Write(0);
    
    XBEE_rxState = IDLE;
    XBEE_rxBufferWrite = 0;
    XBEE_rxBufferRead = 0;
    XBEE_rxBufferTail = 0;
    XBEE_rxBufferHead = 0;
    XBEE_rxLength = 0;
    XBEE_rxPacketOK = 0;
    
    XBEE_RX_STATUS_REG = XBEE_RX_STATUS_EMPTY;
    XBEE_PACKET_STATUS_REG = 0;
    
    XBEE_RESET_Write(1);
}
/**
* Initializes or restores the component according to the customizer Configure
* dialog settings. It is not necessary to call XBEE_Init() because the
* XBEE_Start() API calls this function and is the preferred method to begin
* component operation.
*
* @see XBEE_Start()
*/
Initializes or restores the component according to the customizer Configure
dialog settings. It is not necessary to call XBEE_Init() because the
XBEE_Start() API calls this function and is the preferred method to begin
component operation.
Initializes or restores the component according to the customizer Configure dialog settings . It is not necessary to call XBEE_Init () because the XBEE_Start () API calls this function and is the preferred method to begin component operation .
void XBEE_Init(void) 
{
    XBEE_RESET_Write(0);
    XBEE_rxState = IDLE;
    XBEE_rxBufferWrite = 0;
    XBEE_rxBufferRead = 0;
    XBEE_rxBufferTail = 0;
    XBEE_rxBufferHead = 0;
    XBEE_rxLength = 0;
    XBEE_rxPacketOK = 0;
    XBEE_RX_STATUS_REG = XBEE_RX_STATUS_EMPTY;
    XBEE_PACKET_STATUS_REG = 0;
    XBEE_RESET_Write(1);
}
void XBEE_Init ( void ) { XBEE_RESET_Write ( 0 ) ; XBEE_rxState = IDLE ; XBEE_rxBufferWrite = 0 ; XBEE_rxBufferRead = 0 ; XBEE_rxBufferTail = 0 ; XBEE_rxBufferHead = 0 ; XBEE_rxLength = 0 ; XBEE_rxPacketOK = 0 ; XBEE_RX_STATUS_REG = XBEE_RX_STATUS_EMPTY ; XBEE_PACKET_STATUS_REG = 0 ; XBEE_RESET_Write ( 1 ) ; }
Initializes or restores the component according to the customizer Configure
dialog settings.
Initializes or restores the component according to the customizer Configure dialog settings .