This is a work in progress for an NRF2401P
Dependencies: mbed
Fork of NRF2401P by
Diff: NRF2401P.h
- Revision:
- 1:ff53b1ac3bad
- Parent:
- 0:8fd0531ae0be
- Child:
- 2:ca0a3c0bba70
diff -r 8fd0531ae0be -r ff53b1ac3bad NRF2401P.h --- a/NRF2401P.h Thu Jun 11 11:19:57 2015 +0000 +++ b/NRF2401P.h Thu Jun 11 17:00:18 2015 +0000 @@ -38,11 +38,13 @@ NRF2401P (PinName mosi, PinName miso, PinName sclk, PinName _csn, PinName _ce); char acknowledgeData( char *data, char width, char pipe); + char checkStatus(); bool clearStatus(); bool flushRx(); bool flushTx(); char getRxData(char * buffer); char getRxWidth(); + bool isAckData(); bool isRxData(); void log (char *msg); void quickRxSetup(int channel,long long addr);