diff options
author | Sylvain Miermont <smiermont@semtech.com> | 2013-07-03 17:53:18 +0200 |
---|---|---|
committer | Sylvain Miermont <smiermont@semtech.com> | 2013-10-23 10:16:59 +0200 |
commit | 1361e7215cd0eb3b38faff1c403cb3077e41b2be (patch) | |
tree | c52471c65b0a40b081b7de6a8570757f85c71704 /loragw_hal/inc/loragw_spi.h | |
parent | 3357493e096fc0bd4767d1a3cc0cb7e3e52a4f53 (diff) | |
download | lora_gateway-1361e7215cd0eb3b38faff1c403cb3077e41b2be.tar.gz lora_gateway-1361e7215cd0eb3b38faff1c403cb3077e41b2be.tar.bz2 lora_gateway-1361e7215cd0eb3b38faff1c403cb3077e41b2be.zip |
Release Candidate 2v0.rc2
- code cleanup and formating
- variable and constants renaming
- TX polarity management
- fixed bugs thanks to Joe Knapp feedback
Diffstat (limited to 'loragw_hal/inc/loragw_spi.h')
-rw-r--r-- | loragw_hal/inc/loragw_spi.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/loragw_hal/inc/loragw_spi.h b/loragw_hal/inc/loragw_spi.h index 62cdeb4..3ad857f 100644 --- a/loragw_hal/inc/loragw_spi.h +++ b/loragw_hal/inc/loragw_spi.h @@ -1,17 +1,17 @@ /* - / _____) _ | | -( (____ _____ ____ _| |_ _____ ____| |__ + / _____) _ | | +( (____ _____ ____ _| |_ _____ ____| |__ \____ \| ___ | (_ _) ___ |/ ___) _ \ _____) ) ____| | | || |_| ____( (___| | | | (______/|_____)_|_|_| \__)_____)\____)_| |_| ©2013 Semtech-Cycleo Description: - Host specific functions to address the LoRa™ gateway registers through a - SPI interface. - Single-byte read/write and burst read/write. - Does not handle pagination. - Could be used with multiple SPI ports in parallel (explicit file descriptor) + Host specific functions to address the LoRa™ gateway registers through a + SPI interface. + Single-byte read/write and burst read/write. + Does not handle pagination. + Could be used with multiple SPI ports in parallel (explicit file descriptor) */ @@ -21,14 +21,14 @@ Description: /* -------------------------------------------------------------------------- */ /* --- DEPENDANCIES --------------------------------------------------------- */ -#include <stdint.h> /* C99 types*/ +#include <stdint.h> /* C99 types*/ /* -------------------------------------------------------------------------- */ /* --- PUBLIC CONSTANTS ----------------------------------------------------- */ -#define LGW_SPI_SUCCESS 0 -#define LGW_SPI_ERROR -1 -#define LGW_BURST_CHUNK 1024 +#define LGW_SPI_SUCCESS 0 +#define LGW_SPI_ERROR -1 +#define LGW_BURST_CHUNK 1024 /* -------------------------------------------------------------------------- */ /* --- PUBLIC FUNCTIONS PROTOTYPES ------------------------------------------ */ |