Mbed SDK for XRange SX1272 LoRa module
Dependents: XRangePingPong XRange-LoRaWAN-lmic-app lora-transceiver
SX1272 LoRa RF module
https://www.netblocks.eu/xrange-sx1272-lora-datasheet/
targets/hal/TARGET_STM/TARGET_NUCLEO_L152RE/device.h@339:ac6f3fd999f3, 2016-01-07 (annotated)
- Committer:
- netblocks
- Date:
- Thu Jan 07 13:01:25 2016 +0000
- Revision:
- 339:ac6f3fd999f3
- Parent:
- 336:1e18a06a987b
HSE_VALUE set for XTAL 16Mhz
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dudmuck | 336:1e18a06a987b | 1 | /* mbed Microcontroller Library |
dudmuck | 336:1e18a06a987b | 2 | ******************************************************************************* |
dudmuck | 336:1e18a06a987b | 3 | * Copyright (c) 2014, STMicroelectronics |
dudmuck | 336:1e18a06a987b | 4 | * All rights reserved. |
dudmuck | 336:1e18a06a987b | 5 | * |
dudmuck | 336:1e18a06a987b | 6 | * Redistribution and use in source and binary forms, with or without |
dudmuck | 336:1e18a06a987b | 7 | * modification, are permitted provided that the following conditions are met: |
dudmuck | 336:1e18a06a987b | 8 | * |
dudmuck | 336:1e18a06a987b | 9 | * 1. Redistributions of source code must retain the above copyright notice, |
dudmuck | 336:1e18a06a987b | 10 | * this list of conditions and the following disclaimer. |
dudmuck | 336:1e18a06a987b | 11 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
dudmuck | 336:1e18a06a987b | 12 | * this list of conditions and the following disclaimer in the documentation |
dudmuck | 336:1e18a06a987b | 13 | * and/or other materials provided with the distribution. |
dudmuck | 336:1e18a06a987b | 14 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
dudmuck | 336:1e18a06a987b | 15 | * may be used to endorse or promote products derived from this software |
dudmuck | 336:1e18a06a987b | 16 | * without specific prior written permission. |
dudmuck | 336:1e18a06a987b | 17 | * |
dudmuck | 336:1e18a06a987b | 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
dudmuck | 336:1e18a06a987b | 19 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
dudmuck | 336:1e18a06a987b | 20 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
dudmuck | 336:1e18a06a987b | 21 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
dudmuck | 336:1e18a06a987b | 22 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
dudmuck | 336:1e18a06a987b | 23 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
dudmuck | 336:1e18a06a987b | 24 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
dudmuck | 336:1e18a06a987b | 25 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
dudmuck | 336:1e18a06a987b | 26 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
dudmuck | 336:1e18a06a987b | 27 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
dudmuck | 336:1e18a06a987b | 28 | ******************************************************************************* |
dudmuck | 336:1e18a06a987b | 29 | */ |
dudmuck | 336:1e18a06a987b | 30 | #ifndef MBED_DEVICE_H |
dudmuck | 336:1e18a06a987b | 31 | #define MBED_DEVICE_H |
dudmuck | 336:1e18a06a987b | 32 | |
dudmuck | 336:1e18a06a987b | 33 | #define DEVICE_PORTIN 1 |
dudmuck | 336:1e18a06a987b | 34 | #define DEVICE_PORTOUT 1 |
dudmuck | 336:1e18a06a987b | 35 | #define DEVICE_PORTINOUT 1 |
dudmuck | 336:1e18a06a987b | 36 | |
dudmuck | 336:1e18a06a987b | 37 | #define DEVICE_INTERRUPTIN 1 |
dudmuck | 336:1e18a06a987b | 38 | |
dudmuck | 336:1e18a06a987b | 39 | #define DEVICE_ANALOGIN 1 |
dudmuck | 336:1e18a06a987b | 40 | #define DEVICE_ANALOGOUT 1 |
dudmuck | 336:1e18a06a987b | 41 | |
dudmuck | 336:1e18a06a987b | 42 | #define DEVICE_SERIAL 1 |
dudmuck | 336:1e18a06a987b | 43 | |
dudmuck | 336:1e18a06a987b | 44 | #define DEVICE_I2C 1 |
dudmuck | 336:1e18a06a987b | 45 | #define DEVICE_I2CSLAVE 1 |
dudmuck | 336:1e18a06a987b | 46 | |
dudmuck | 336:1e18a06a987b | 47 | #define DEVICE_SPI 1 |
dudmuck | 336:1e18a06a987b | 48 | #define DEVICE_SPISLAVE 1 |
dudmuck | 336:1e18a06a987b | 49 | |
dudmuck | 336:1e18a06a987b | 50 | #define DEVICE_RTC 1 |
dudmuck | 336:1e18a06a987b | 51 | |
dudmuck | 336:1e18a06a987b | 52 | #define DEVICE_PWMOUT 1 |
dudmuck | 336:1e18a06a987b | 53 | |
dudmuck | 336:1e18a06a987b | 54 | #define DEVICE_SLEEP 1 |
dudmuck | 336:1e18a06a987b | 55 | |
dudmuck | 336:1e18a06a987b | 56 | //======================================= |
dudmuck | 336:1e18a06a987b | 57 | |
dudmuck | 336:1e18a06a987b | 58 | #define DEVICE_SEMIHOST 0 |
dudmuck | 336:1e18a06a987b | 59 | #define DEVICE_LOCALFILESYSTEM 0 |
dudmuck | 336:1e18a06a987b | 60 | #define DEVICE_ID_LENGTH 24 |
dudmuck | 336:1e18a06a987b | 61 | |
dudmuck | 336:1e18a06a987b | 62 | #define DEVICE_DEBUG_AWARENESS 0 |
dudmuck | 336:1e18a06a987b | 63 | |
dudmuck | 336:1e18a06a987b | 64 | #define DEVICE_STDIO_MESSAGES 1 |
dudmuck | 336:1e18a06a987b | 65 | |
dudmuck | 336:1e18a06a987b | 66 | #define DEVICE_ERROR_RED 0 |
dudmuck | 336:1e18a06a987b | 67 | |
dudmuck | 336:1e18a06a987b | 68 | #include "objects.h" |
dudmuck | 336:1e18a06a987b | 69 | |
dudmuck | 336:1e18a06a987b | 70 | #endif |