MCU driver/HAL for the Picocell Gateway concentrator board. The firmware implements either a USB CDC protocol or a UART protocol to bridge commands coming from host to the SX1308 SPI interface.
src/usb_cdc/Inc/mxconstants.h@0:c76361bd82e8, 2018-04-11 (annotated)
- Committer:
- dgabino
- Date:
- Wed Apr 11 14:42:47 2018 +0000
- Revision:
- 0:c76361bd82e8
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dgabino | 0:c76361bd82e8 | 1 | /** |
dgabino | 0:c76361bd82e8 | 2 | ****************************************************************************** |
dgabino | 0:c76361bd82e8 | 3 | * File Name : mxconstants.h |
dgabino | 0:c76361bd82e8 | 4 | * Description : This file contains the common defines of the application |
dgabino | 0:c76361bd82e8 | 5 | ****************************************************************************** |
dgabino | 0:c76361bd82e8 | 6 | * |
dgabino | 0:c76361bd82e8 | 7 | * COPYRIGHT(c) 2016 STMicroelectronics |
dgabino | 0:c76361bd82e8 | 8 | * |
dgabino | 0:c76361bd82e8 | 9 | * Redistribution and use in source and binary forms, with or without modification, |
dgabino | 0:c76361bd82e8 | 10 | * are permitted provided that the following conditions are met: |
dgabino | 0:c76361bd82e8 | 11 | * 1. Redistributions of source code must retain the above copyright notice, |
dgabino | 0:c76361bd82e8 | 12 | * this list of conditions and the following disclaimer. |
dgabino | 0:c76361bd82e8 | 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
dgabino | 0:c76361bd82e8 | 14 | * this list of conditions and the following disclaimer in the documentation |
dgabino | 0:c76361bd82e8 | 15 | * and/or other materials provided with the distribution. |
dgabino | 0:c76361bd82e8 | 16 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
dgabino | 0:c76361bd82e8 | 17 | * may be used to endorse or promote products derived from this software |
dgabino | 0:c76361bd82e8 | 18 | * without specific prior written permission. |
dgabino | 0:c76361bd82e8 | 19 | * |
dgabino | 0:c76361bd82e8 | 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
dgabino | 0:c76361bd82e8 | 21 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
dgabino | 0:c76361bd82e8 | 22 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
dgabino | 0:c76361bd82e8 | 23 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
dgabino | 0:c76361bd82e8 | 24 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
dgabino | 0:c76361bd82e8 | 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
dgabino | 0:c76361bd82e8 | 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
dgabino | 0:c76361bd82e8 | 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
dgabino | 0:c76361bd82e8 | 28 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
dgabino | 0:c76361bd82e8 | 29 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
dgabino | 0:c76361bd82e8 | 30 | * |
dgabino | 0:c76361bd82e8 | 31 | ****************************************************************************** |
dgabino | 0:c76361bd82e8 | 32 | */ |
dgabino | 0:c76361bd82e8 | 33 | /* Define to prevent recursive inclusion -------------------------------------*/ |
dgabino | 0:c76361bd82e8 | 34 | #ifndef __MXCONSTANT_H |
dgabino | 0:c76361bd82e8 | 35 | #define __MXCONSTANT_H |
dgabino | 0:c76361bd82e8 | 36 | /* Includes ------------------------------------------------------------------*/ |
dgabino | 0:c76361bd82e8 | 37 | |
dgabino | 0:c76361bd82e8 | 38 | /* USER CODE BEGIN Includes */ |
dgabino | 0:c76361bd82e8 | 39 | |
dgabino | 0:c76361bd82e8 | 40 | /* USER CODE END Includes */ |
dgabino | 0:c76361bd82e8 | 41 | |
dgabino | 0:c76361bd82e8 | 42 | /* Private define ------------------------------------------------------------*/ |
dgabino | 0:c76361bd82e8 | 43 | |
dgabino | 0:c76361bd82e8 | 44 | /* USER CODE BEGIN Private defines */ |
dgabino | 0:c76361bd82e8 | 45 | |
dgabino | 0:c76361bd82e8 | 46 | /* USER CODE END Private defines */ |
dgabino | 0:c76361bd82e8 | 47 | |
dgabino | 0:c76361bd82e8 | 48 | /** |
dgabino | 0:c76361bd82e8 | 49 | * @} |
dgabino | 0:c76361bd82e8 | 50 | */ |
dgabino | 0:c76361bd82e8 | 51 | |
dgabino | 0:c76361bd82e8 | 52 | /** |
dgabino | 0:c76361bd82e8 | 53 | * @} |
dgabino | 0:c76361bd82e8 | 54 | */ |
dgabino | 0:c76361bd82e8 | 55 | |
dgabino | 0:c76361bd82e8 | 56 | #endif /* __MXCONSTANT_H */ |
dgabino | 0:c76361bd82e8 | 57 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |