Added mutex for multiple SPI devices on the same SPI bus

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Committer:
vpcola
Date:
Thu Oct 16 13:39:08 2014 +0000
Revision:
47:cc9a2501e29f
Parent:
12:1c2a856c618a
Added mutex if used in rtos

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Martin Kojtal 12:1c2a856c618a 1 /* Copyright (C) 2013 mbed.org, MIT License
Martin Kojtal 12:1c2a856c618a 2 *
Martin Kojtal 12:1c2a856c618a 3 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
Martin Kojtal 12:1c2a856c618a 4 * and associated documentation files (the "Software"), to deal in the Software without restriction,
Martin Kojtal 12:1c2a856c618a 5 * including without limitation the rights to use, copy, modify, merge, publish, distribute,
Martin Kojtal 12:1c2a856c618a 6 * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
Martin Kojtal 12:1c2a856c618a 7 * furnished to do so, subject to the following conditions:
Martin Kojtal 12:1c2a856c618a 8 *
Martin Kojtal 12:1c2a856c618a 9 * The above copyright notice and this permission notice shall be included in all copies or
Martin Kojtal 12:1c2a856c618a 10 * substantial portions of the Software.
Martin Kojtal 12:1c2a856c618a 11 *
Martin Kojtal 12:1c2a856c618a 12 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
Martin Kojtal 12:1c2a856c618a 13 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Martin Kojtal 12:1c2a856c618a 14 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
Martin Kojtal 12:1c2a856c618a 15 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
Martin Kojtal 12:1c2a856c618a 16 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Martin Kojtal 12:1c2a856c618a 17 */
Martin Kojtal 12:1c2a856c618a 18
Martin Kojtal 12:1c2a856c618a 19 #ifndef DEF_H
Martin Kojtal 12:1c2a856c618a 20 #define DEF_H
Martin Kojtal 12:1c2a856c618a 21
Martin Kojtal 12:1c2a856c618a 22 #include "cmsis.h"
Martin Kojtal 12:1c2a856c618a 23
Martin Kojtal 12:1c2a856c618a 24 #endif