X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Fnrf.h;h=f7af527259982d172fc34062d5f74006e8658c21;hp=8b137891791fe96927ad78e64b0aad7bded08bdc;hb=b0274fc1ffccf73492660c02600e8df12c0ba5b2;hpb=dffb4095b5c57ed45748646d224b719015ebd92f diff --git a/firmware/include/nrf.h b/firmware/include/nrf.h index 8b13789..f7af527 100644 --- a/firmware/include/nrf.h +++ b/firmware/include/nrf.h @@ -1 +1,17 @@ +/*! \file nrf.h + \author Travis Goodspeed + \brief Constants for NRF Driver +*/ + +//Nordic RF Instructions +#define NRF_R_REGISTER 0x00 +#define NRF_W_REGISTER 0x20 +#define NRF_R_RX_PAYLOAD 0x60 +#define NRF_W_TX_PAYLOAD 0xA0 +#define NRF_FLUSH_TX 0xE0 +#define NRF_FLUSH_RX 0xE1 +#define NRF_REUSE_TX_PL 0xE2 +#define NRF_NOP 0xFF + +