Forked repository for pushing changes
spi.h@19:ed7c2dac92bd, 2021-09-27 (annotated)
- Committer:
- pmallick
- Date:
- Mon Sep 27 04:22:15 2021 +0000
- Revision:
- 19:ed7c2dac92bd
- Parent:
- 17:af1f2416dd26
Added support for analog read and write functionality
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mahphalke |
17:af1f2416dd26 | 1 | /***************************************************************************//** |
mahphalke |
17:af1f2416dd26 | 2 | * @file spi.h |
mahphalke |
17:af1f2416dd26 | 3 | * @author MPhalke (Mahesh.Phalke@analog.com) |
mahphalke |
17:af1f2416dd26 | 4 | ******************************************************************************** |
mahphalke |
17:af1f2416dd26 | 5 | ******************************************************************************** |
mahphalke |
17:af1f2416dd26 | 6 | * Copyright (c) 2021 Analog Devices, Inc. |
mahphalke |
17:af1f2416dd26 | 7 | * All rights reserved. |
mahphalke |
17:af1f2416dd26 | 8 | * |
mahphalke |
17:af1f2416dd26 | 9 | * This software is proprietary to Analog Devices, Inc. and its licensors. |
mahphalke |
17:af1f2416dd26 | 10 | * By using this software you agree to the terms of the associated |
mahphalke |
17:af1f2416dd26 | 11 | * Analog Devices Software License Agreement. |
mahphalke |
17:af1f2416dd26 | 12 | *******************************************************************************/ |
mahphalke |
17:af1f2416dd26 | 13 | |
mahphalke |
17:af1f2416dd26 | 14 | #ifndef MBED_SPI_H_ |
mahphalke |
17:af1f2416dd26 | 15 | #define MBED_SPI_H_ |
mahphalke |
17:af1f2416dd26 | 16 | |
mahphalke |
17:af1f2416dd26 | 17 | /******************************************************************************/ |
mahphalke |
17:af1f2416dd26 | 18 | /************************ Functions Declarations ******************************/ |
mahphalke |
17:af1f2416dd26 | 19 | /******************************************************************************/ |
mahphalke |
17:af1f2416dd26 | 20 | |
mahphalke |
17:af1f2416dd26 | 21 | #define spi_init(desc, init_param) spi_init_noos(desc, init_param) |
mahphalke |
17:af1f2416dd26 | 22 | |
mahphalke |
17:af1f2416dd26 | 23 | /******************************************************************************/ |
mahphalke |
17:af1f2416dd26 | 24 | /***************************** Include Files **********************************/ |
mahphalke |
17:af1f2416dd26 | 25 | /******************************************************************************/ |
mahphalke |
17:af1f2416dd26 | 26 | |
mahphalke |
17:af1f2416dd26 | 27 | #include "no-OS/include/spi.h" |
mahphalke |
17:af1f2416dd26 | 28 | |
mahphalke |
17:af1f2416dd26 | 29 | #endif // MBED_SPI_H_ |