nrf24l01/nrf24.c
// Disable specified RX pipe
// input:
//   PIPE - number of RX pipe, value from 0 to 5
Disable specified RX pipe
input:
PIPE - number of RX pipe, value from 0 to 5
Disable specified RX pipe input : PIPE - number of RX pipe value from 0 to 5
void nRF24_ClosePipe(uint8_t pipe) {
	uint8_t reg;
	reg  = nRF24_ReadReg(nRF24_REG_EN_RXADDR);
	reg &= ~(1 << pipe);
	reg &= nRF24_MASK_EN_RX;
	nRF24_WriteReg(nRF24_REG_EN_RXADDR, reg);
}
void nRF24_ClosePipe ( uint8_t pipe ) { uint8_t reg ; reg = nRF24_ReadReg ( nRF24_REG_EN_RXADDR ) ; reg &= ~ ( 1 << pipe ) ; reg &= nRF24_MASK_EN_RX ; nRF24_WriteReg ( nRF24_REG_EN_RXADDR , reg ) ; }
Disable specified RX pipe
input:
PIPE - number of RX pipe, value from 0 to 5
Disable specified RX pipe input : PIPE - number of RX pipe value from 0 to 5