Recycle example.cydsn/Generated_Source/PSoC5/XBEE.c
uint8_t XBEE_ReadRxStatus() {
    uint8_t status;
    
    // Make a copy of register
    status = XBEE_RX_STATUS_REG;
    
    // Clear all except PACKET and EMPTY bits
    XBEE_RX_STATUS_REG &= (XBEE_RX_STATUS_PACKET | XBEE_RX_STATUS_EMPTY);
    
    return status;
}
/**
* Read the XBEE_RX_STATUS_REG register.
* This is the preferred method to read the XBEE_RX_STATUS_REG register. All bits are
* cleared after reading except XBEE_RX_STATUS_PACKET and XBEE_RX_STATUS_EMPTY bits.
*
* @see XBEE_RX_STATUS_REG
*
* @return Content of the XBEE_RX_STATUS_REG.
*/
Read the XBEE_RX_STATUS_REG register.
This is the preferred method to read the XBEE_RX_STATUS_REG register. All bits are
cleared after reading except XBEE_RX_STATUS_PACKET and XBEE_RX_STATUS_EMPTY bits.
Read the XBEE_RX_STATUS_REG register . This is the preferred method to read the XBEE_RX_STATUS_REG register . All bits are cleared after reading except XBEE_RX_STATUS_PACKET and XBEE_RX_STATUS_EMPTY bits .
uint8_t XBEE_ReadRxStatus() {
    uint8_t status;
    status = XBEE_RX_STATUS_REG;
    XBEE_RX_STATUS_REG &= (XBEE_RX_STATUS_PACKET | XBEE_RX_STATUS_EMPTY);
    return status;
}
uint8_t XBEE_ReadRxStatus ( ) { uint8_t status ; status = XBEE_RX_STATUS_REG ; XBEE_RX_STATUS_REG &= ( XBEE_RX_STATUS_PACKET | XBEE_RX_STATUS_EMPTY ) ; return status ; }
Read the XBEE_RX_STATUS_REG register.
Read the XBEE_RX_STATUS_REG register .
// Make a copy of register // Clear all except PACKET and EMPTY bits