unsigned char nRFAPI_GetPipeSizeRX(unsigned char pipe) { if(pipe<=5) return nRFCMD_RegRead(RX_PW_P0 + pipe); else return 0; }
unsigned char nRFAPI_GetSizeMac(void) { unsigned char addr_size; addr_size=nRFCMD_RegRead(SETUP_AW) & 0x03; return addr_size ? addr_size+2 : 0; }
uint8_t nRFAPI_GetPipeSizeRX (uint8_t pipe) { if (pipe <= 5) return nRFCMD_RegRead (RX_PW_P0 + pipe); else return 0; }
uint8_t nRFAPI_GetSizeMac (void) { uint8_t addr_size; addr_size = nRFCMD_RegRead (SETUP_AW) & 0x03; return addr_size ? addr_size + 2 : 0; }
unsigned char nRFAPI_CarrierDetect(void) { return nRFCMD_RegRead(CD); }
unsigned char nRFAPI_GetFifoStatus(void) { return nRFCMD_RegRead(FIFO_STATUS); }
unsigned char nRFAPI_GetChannel(void) { return nRFCMD_RegRead(RF_CH) & 0x7F; }
uint8_t nRFAPI_CarrierDetect (void) { return nRFCMD_RegRead (CD); }
uint8_t nRFAPI_GetFifoStatus (void) { return nRFCMD_RegRead (FIFO_STATUS); }
uint8_t nRFAPI_GetChannel (void) { return nRFCMD_RegRead (RF_CH) & 0x7F; }