this repository aim to make the official ST DISCO F746NG demo from STM32Cube_FW_F7_V1.2.0 working on mbed.
Dependencies: BSP_DISCO_F746NG_patch mbed-rtos mbed
patch/inc/GUIMTDRV_TangoC32.h@0:c00e6c923941, 2015-11-02 (annotated)
- Committer:
- NirT
- Date:
- Mon Nov 02 23:38:08 2015 +0000
- Revision:
- 0:c00e6c923941
Error: Incomplete type is not allowed in "patch/LwIP/src/include/lwip/dhcp.h", Line: 83, Col: 4; ; and more like this.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
NirT | 0:c00e6c923941 | 1 | /********************************************************************* |
NirT | 0:c00e6c923941 | 2 | * SEGGER Software GmbH * |
NirT | 0:c00e6c923941 | 3 | * Solutions for real time microcontroller applications * |
NirT | 0:c00e6c923941 | 4 | ********************************************************************** |
NirT | 0:c00e6c923941 | 5 | * * |
NirT | 0:c00e6c923941 | 6 | * (c) 1996 - 2015 SEGGER Software GmbH * |
NirT | 0:c00e6c923941 | 7 | * * |
NirT | 0:c00e6c923941 | 8 | * Internet: www.segger.com Support: support@segger.com * |
NirT | 0:c00e6c923941 | 9 | * * |
NirT | 0:c00e6c923941 | 10 | ********************************************************************** |
NirT | 0:c00e6c923941 | 11 | |
NirT | 0:c00e6c923941 | 12 | ** emWin V5.28 - Graphical user interface for embedded applications ** |
NirT | 0:c00e6c923941 | 13 | All Intellectual Property rights in the Software belongs to SEGGER. |
NirT | 0:c00e6c923941 | 14 | emWin is protected by international copyright laws. Knowledge of the |
NirT | 0:c00e6c923941 | 15 | source code may not be used to write a similar product. This file may |
NirT | 0:c00e6c923941 | 16 | only be used in accordance with the following terms: |
NirT | 0:c00e6c923941 | 17 | |
NirT | 0:c00e6c923941 | 18 | The software has been licensed to STMicroelectronics International |
NirT | 0:c00e6c923941 | 19 | N.V. whose registered office is situated at Plan-les-Ouates, Geneva, |
NirT | 0:c00e6c923941 | 20 | 39 Chemin du Champ des Filles, Switzerland solely for the purposes of |
NirT | 0:c00e6c923941 | 21 | creating libraries for STMicroelectronics ARM Cortex-M-based 32-bit |
NirT | 0:c00e6c923941 | 22 | microcontroller products, sublicensed and distributed by |
NirT | 0:c00e6c923941 | 23 | STMicroelectronics under the terms and conditions of the End User |
NirT | 0:c00e6c923941 | 24 | License Agreement supplied with the software. The use of the software |
NirT | 0:c00e6c923941 | 25 | on a stand-alone basis or for any purpose other than to operate with |
NirT | 0:c00e6c923941 | 26 | the specified microcontroller is prohibited and subject to a separate |
NirT | 0:c00e6c923941 | 27 | license agreement. |
NirT | 0:c00e6c923941 | 28 | |
NirT | 0:c00e6c923941 | 29 | Full source code is available at: www.segger.com |
NirT | 0:c00e6c923941 | 30 | |
NirT | 0:c00e6c923941 | 31 | We appreciate your understanding and fairness.---------------------------------------------------------------------- |
NirT | 0:c00e6c923941 | 32 | Licensing information |
NirT | 0:c00e6c923941 | 33 | |
NirT | 0:c00e6c923941 | 34 | Licensor: SEGGER Software GmbH |
NirT | 0:c00e6c923941 | 35 | Licensed to: STMicroelectronics International NV |
NirT | 0:c00e6c923941 | 36 | Licensed SEGGER software: emWin |
NirT | 0:c00e6c923941 | 37 | License number: GUI-00429 |
NirT | 0:c00e6c923941 | 38 | License model: Buyout SRC [Buyout Source Code License, signed November 29th 2012] |
NirT | 0:c00e6c923941 | 39 | Licensed product: - |
NirT | 0:c00e6c923941 | 40 | Licensed platform: STMs ARM Cortex-M based 32 BIT CPUs |
NirT | 0:c00e6c923941 | 41 | Licensed number of seats: - |
NirT | 0:c00e6c923941 | 42 | ---------------------------------------------------------------------- |
NirT | 0:c00e6c923941 | 43 | File : GUIMTDRV_TangoC32.h |
NirT | 0:c00e6c923941 | 44 | Purpose : Interface definition for GUIMTDRV_TangoC32 driver |
NirT | 0:c00e6c923941 | 45 | ---------------------------END-OF-HEADER------------------------------ |
NirT | 0:c00e6c923941 | 46 | */ |
NirT | 0:c00e6c923941 | 47 | |
NirT | 0:c00e6c923941 | 48 | #ifndef GUIMTDRV_TANGOC32_H |
NirT | 0:c00e6c923941 | 49 | #define GUIMTDRV_TANGOC32_H |
NirT | 0:c00e6c923941 | 50 | |
NirT | 0:c00e6c923941 | 51 | #include "GUI_Type.h" |
NirT | 0:c00e6c923941 | 52 | |
NirT | 0:c00e6c923941 | 53 | #if defined(__cplusplus) |
NirT | 0:c00e6c923941 | 54 | //extern "C" { /* Make sure we have C-declarations in C++ programs */ |
NirT | 0:c00e6c923941 | 55 | #endif |
NirT | 0:c00e6c923941 | 56 | |
NirT | 0:c00e6c923941 | 57 | /********************************************************************* |
NirT | 0:c00e6c923941 | 58 | * |
NirT | 0:c00e6c923941 | 59 | * Types |
NirT | 0:c00e6c923941 | 60 | * |
NirT | 0:c00e6c923941 | 61 | ********************************************************************** |
NirT | 0:c00e6c923941 | 62 | */ |
NirT | 0:c00e6c923941 | 63 | typedef struct { |
NirT | 0:c00e6c923941 | 64 | int LayerIndex; |
NirT | 0:c00e6c923941 | 65 | // |
NirT | 0:c00e6c923941 | 66 | // Initialization |
NirT | 0:c00e6c923941 | 67 | // |
NirT | 0:c00e6c923941 | 68 | void (* pf_I2C_Init)(unsigned char SlaveAddr); |
NirT | 0:c00e6c923941 | 69 | // |
NirT | 0:c00e6c923941 | 70 | // Read- and write access |
NirT | 0:c00e6c923941 | 71 | // |
NirT | 0:c00e6c923941 | 72 | int (* pf_I2C_Read )(unsigned char * pData, int Start, int Stop); |
NirT | 0:c00e6c923941 | 73 | int (* pf_I2C_ReadM )(unsigned char * pData, int NumItems, int Start, int Stop); |
NirT | 0:c00e6c923941 | 74 | int (* pf_I2C_Write )(unsigned char Data, int Start, int Stop); |
NirT | 0:c00e6c923941 | 75 | int (* pf_I2C_WriteM)(unsigned char * pData, int NumItems, int Start, int Stop); |
NirT | 0:c00e6c923941 | 76 | // |
NirT | 0:c00e6c923941 | 77 | // 7-bit address to be used to address the I2C slave |
NirT | 0:c00e6c923941 | 78 | // |
NirT | 0:c00e6c923941 | 79 | U8 SlaveAddr; |
NirT | 0:c00e6c923941 | 80 | } GUIMTDRV_TANGOC32_CONFIG; |
NirT | 0:c00e6c923941 | 81 | |
NirT | 0:c00e6c923941 | 82 | /********************************************************************* |
NirT | 0:c00e6c923941 | 83 | * |
NirT | 0:c00e6c923941 | 84 | * Interface |
NirT | 0:c00e6c923941 | 85 | * |
NirT | 0:c00e6c923941 | 86 | ********************************************************************** |
NirT | 0:c00e6c923941 | 87 | */ |
NirT | 0:c00e6c923941 | 88 | int GUIMTDRV_TangoC32_Init(GUIMTDRV_TANGOC32_CONFIG * pConfig); |
NirT | 0:c00e6c923941 | 89 | int GUIMTDRV_TangoC32_Exec(void); |
NirT | 0:c00e6c923941 | 90 | |
NirT | 0:c00e6c923941 | 91 | #endif /* GUIMTDRV_TANGOC32_H */ |
NirT | 0:c00e6c923941 | 92 | |
NirT | 0:c00e6c923941 | 93 | /*************************** End of file ****************************/ |