Update platform drivers
inc/platform_support.h@10:b5115cd6b916, 2020-06-17 (annotated)
- Committer:
- EndaKilgarriff
- Date:
- Wed Jun 17 14:54:14 2020 +0000
- Revision:
- 10:b5115cd6b916
- Parent:
- 8:70fc373a5f46
Roll back delay.cpp to previous version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mahphalke | 8:70fc373a5f46 | 1 | /***************************************************************************//** |
mahphalke | 8:70fc373a5f46 | 2 | * @file platform_support.h |
mahphalke | 8:70fc373a5f46 | 3 | * @brief: support functions and declarations for selected platform |
mahphalke | 8:70fc373a5f46 | 4 | * @details: This is a platform specific file that supports functionality |
mahphalke | 8:70fc373a5f46 | 5 | * required from application generic file. This file should be |
mahphalke | 8:70fc373a5f46 | 6 | * modified according to platform that you are working with. |
mahphalke | 8:70fc373a5f46 | 7 | ******************************************************************************** |
mahphalke | 8:70fc373a5f46 | 8 | * Copyright (c) 2019, 2020 Analog Devices, Inc. |
mahphalke | 8:70fc373a5f46 | 9 | * |
mahphalke | 8:70fc373a5f46 | 10 | * All rights reserved. |
mahphalke | 8:70fc373a5f46 | 11 | * |
mahphalke | 8:70fc373a5f46 | 12 | * This software is proprietary to Analog Devices, Inc. and its licensors. |
mahphalke | 8:70fc373a5f46 | 13 | * By using this software you agree to the terms of the associated |
mahphalke | 8:70fc373a5f46 | 14 | * Analog Devices Software License Agreement. |
mahphalke | 8:70fc373a5f46 | 15 | *******************************************************************************/ |
mahphalke | 8:70fc373a5f46 | 16 | |
mahphalke | 8:70fc373a5f46 | 17 | #ifndef PLATFORM_SUPPORT_H_ |
mahphalke | 8:70fc373a5f46 | 18 | #define PLATFORM_SUPPORT_H_ |
mahphalke | 8:70fc373a5f46 | 19 | |
mahphalke | 8:70fc373a5f46 | 20 | |
mahphalke | 8:70fc373a5f46 | 21 | // Platform support needs to be C-compatible to work with other drivers |
mahphalke | 8:70fc373a5f46 | 22 | #ifdef __cplusplus |
mahphalke | 8:70fc373a5f46 | 23 | extern "C" |
mahphalke | 8:70fc373a5f46 | 24 | { |
mahphalke | 8:70fc373a5f46 | 25 | #endif |
mahphalke | 8:70fc373a5f46 | 26 | |
mahphalke | 8:70fc373a5f46 | 27 | /******************************************************************************/ |
mahphalke | 8:70fc373a5f46 | 28 | /***************************** Include Files **********************************/ |
mahphalke | 8:70fc373a5f46 | 29 | /******************************************************************************/ |
mahphalke | 8:70fc373a5f46 | 30 | #include <stdio.h> |
mahphalke | 8:70fc373a5f46 | 31 | |
mahphalke | 8:70fc373a5f46 | 32 | /******************************************************************************/ |
mahphalke | 8:70fc373a5f46 | 33 | /********************** Macros and Constants Definitions **********************/ |
mahphalke | 8:70fc373a5f46 | 34 | /******************************************************************************/ |
mahphalke | 8:70fc373a5f46 | 35 | |
mahphalke | 8:70fc373a5f46 | 36 | /******************************************************************************/ |
mahphalke | 8:70fc373a5f46 | 37 | /********************** Variables and User defined data types *****************/ |
mahphalke | 8:70fc373a5f46 | 38 | /******************************************************************************/ |
mahphalke | 8:70fc373a5f46 | 39 | |
mahphalke | 8:70fc373a5f46 | 40 | /******************************************************************************/ |
mahphalke | 8:70fc373a5f46 | 41 | /************************ Functions Declarations ******************************/ |
mahphalke | 8:70fc373a5f46 | 42 | /******************************************************************************/ |
mahphalke | 8:70fc373a5f46 | 43 | |
mahphalke | 8:70fc373a5f46 | 44 | char getchar_noblock(void); |
mahphalke | 8:70fc373a5f46 | 45 | |
mahphalke | 8:70fc373a5f46 | 46 | |
mahphalke | 8:70fc373a5f46 | 47 | #ifdef __cplusplus // Closing extern c |
mahphalke | 8:70fc373a5f46 | 48 | } |
mahphalke | 8:70fc373a5f46 | 49 | #endif |
mahphalke | 8:70fc373a5f46 | 50 | |
mahphalke | 8:70fc373a5f46 | 51 | #endif /* PLATFORM_SUPPORT_H_ */ |