diff options
author | Karel Kočí <cynerd@email.cz> | 2015-04-02 11:31:18 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-04-02 11:31:18 +0200 |
commit | 028c7f8c571ea2d9ad1910b196a8788d06dcc203 (patch) | |
tree | 14c7724828b920d6a688b9e3f1de4a41d3510d7c /nrf24l01p | |
parent | 546260b09ed7c424362ca8f6d164d4946ba4c6a4 (diff) | |
download | avr-ioe-028c7f8c571ea2d9ad1910b196a8788d06dcc203.tar.gz avr-ioe-028c7f8c571ea2d9ad1910b196a8788d06dcc203.tar.bz2 avr-ioe-028c7f8c571ea2d9ad1910b196a8788d06dcc203.zip |
Move external devices to separated repositopries
Diffstat (limited to 'nrf24l01p')
-rw-r--r-- | nrf24l01p/base.h | 0 | ||||
-rw-r--r-- | nrf24l01p/conffile | 27 | ||||
-rw-r--r-- | nrf24l01p/files.mk | 0 | ||||
-rw-r--r-- | nrf24l01p/nrf.h | 24 | ||||
-rw-r--r-- | nrf24l01p/src/base.c | 0 | ||||
-rw-r--r-- | nrf24l01p/src/nrf.c | 30 |
6 files changed, 0 insertions, 81 deletions
diff --git a/nrf24l01p/base.h b/nrf24l01p/base.h deleted file mode 100644 index e69de29..0000000 --- a/nrf24l01p/base.h +++ /dev/null diff --git a/nrf24l01p/conffile b/nrf24l01p/conffile deleted file mode 100644 index bbd1fc0..0000000 --- a/nrf24l01p/conffile +++ /dev/null @@ -1,27 +0,0 @@ -comb port { - char "Class" "Port class" - int "Port" "Port number" -} "$1$2" "Specifies port. Combination of class and port. Now set: $1$2" - -enum nrf_spi { - spi, usi, usart -} - -menu "nrf24l01p" "Driver for nRF24L01+" - -NRF_SPII: (spi SPI_MASTER) || (usi SPI_USI_MASTER) - type nrf_spi - default spi - menu "SPI interface" "Specify SPI interface" - -NRF_CSN_PORT: - type port - nodefault - menu "SPI CSN Port" "SPI Chip select port" - -NRF_CE_PORT: - type port - nodefault - menu "CE port" "Chip enable port" - -endmenu diff --git a/nrf24l01p/files.mk b/nrf24l01p/files.mk deleted file mode 100644 index e69de29..0000000 --- a/nrf24l01p/files.mk +++ /dev/null diff --git a/nrf24l01p/nrf.h b/nrf24l01p/nrf.h deleted file mode 100644 index 9dcf572..0000000 --- a/nrf24l01p/nrf.h +++ /dev/null @@ -1,24 +0,0 @@ -#include <inttypes.h> - -#include "config.h" - -#if (defined IOE_NRF_SPI) -#include "../spi.h" -#elif (defined IOE_NRF_USI) -#include "../spi_usi.h" -#elif (defined IOE_NRF_USART) -#include "../spi_usart.h" -#endif - -#ifndef _IOE_NRF_H_ -#define _IOE_NRF_H_ - -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); -int8_t ioe_nrf_retrieve(void); - -#endif /* _IOE_NRF_H_ */ diff --git a/nrf24l01p/src/base.c b/nrf24l01p/src/base.c deleted file mode 100644 index e69de29..0000000 --- a/nrf24l01p/src/base.c +++ /dev/null diff --git a/nrf24l01p/src/nrf.c b/nrf24l01p/src/nrf.c deleted file mode 100644 index 9bd2e0f..0000000 --- a/nrf24l01p/src/nrf.c +++ /dev/null @@ -1,30 +0,0 @@ -#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) { -} |