diff options
author | Karel Kočí <cynerd@email.cz> | 2015-03-22 14:06:38 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-03-22 14:06:38 +0100 |
commit | bc781d73f00dc60aab4f04a8676deb34fbf724d4 (patch) | |
tree | da5b12f4ac7c30df42731724029b3ef382b8042d /nrf24l01p/src | |
parent | 6664647efb75075f967680b82944710e15ec9ce9 (diff) | |
download | avr-ioe-bc781d73f00dc60aab4f04a8676deb34fbf724d4.tar.gz avr-ioe-bc781d73f00dc60aab4f04a8676deb34fbf724d4.tar.bz2 avr-ioe-bc781d73f00dc60aab4f04a8676deb34fbf724d4.zip |
Prepare for nrf24l01p
Diffstat (limited to 'nrf24l01p/src')
-rw-r--r-- | nrf24l01p/src/base.c | 0 | ||||
-rw-r--r-- | nrf24l01p/src/nrf.c | 30 |
2 files changed, 30 insertions, 0 deletions
diff --git a/nrf24l01p/src/base.c b/nrf24l01p/src/base.c new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/nrf24l01p/src/base.c diff --git a/nrf24l01p/src/nrf.c b/nrf24l01p/src/nrf.c new file mode 100644 index 0000000..9bd2e0f --- /dev/null +++ b/nrf24l01p/src/nrf.c @@ -0,0 +1,30 @@ +#include "../nrf.h" + +#if (defined IOE_NRF_SPI) +#define SPI_EXP +#elif (defined IOE_NRF_USI) +#define SPI_EXP usi_ +#elif (defined IOE_NRF_USART) +#define SPI_EXP usart_ +#endif + +void rw_nrf( + +void ioe_nrf_init(void) { +} + + +void ioe_nrf_set_address() { +} + +int ioe_nrf_ready(void) { +} + +void ioe_nrf_joint(void) { +} + +void ioe_nrf_transmit(int8_t d) { +} + +int8_t ioe_nrf_retrieve(void) { +} |