]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/WizNET_DEMO_GCC_ARM7/i2c.h
Update version number ready for release.
[freertos] / FreeRTOS / Demo / WizNET_DEMO_GCC_ARM7 / i2c.h
index 0d35b6f1c443c91b9eab43da05dcb0ffe5c6c887..8bf316a3b024e8889f8ab3bef8d271a96b368e50 100644 (file)
@@ -1,5 +1,6 @@
 /*\r
-    FreeRTOS V7.5.2 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    FreeRTOS V8.0.1 - Copyright (C) 2014 Real Time Engineers Ltd. \r
+    All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
 \r
     the terms of the GNU General Public License (version 2) as published by the\r
     Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
 \r
-    >>! NOTE: The modification to the GPL is included to allow you to distribute\r
-    >>! a combined work that includes FreeRTOS without being obliged to provide\r
-    >>! the source code for proprietary components outside of the FreeRTOS\r
-    >>! kernel.\r
+    >>!   NOTE: The modification to the GPL is included to allow you to     !<<\r
+    >>!   distribute a combined work that includes FreeRTOS without being   !<<\r
+    >>!   obliged to provide the source code for proprietary components     !<<\r
+    >>!   outside of the FreeRTOS kernel.                                   !<<\r
 \r
     FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
     WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
@@ -74,7 +75,7 @@ typedef struct AN_I2C_MESSAGE
        unsigned char ucSlaveAddress;                   /*< The slave address of the WIZnet on the I2C bus. */\r
        unsigned char ucBufferAddressLowByte;   /*< The address within the WIZnet device to which data should be read from / written to. */\r
        unsigned char ucBufferAddressHighByte;  /*< As above, high byte. */\r
-       xSemaphoreHandle xMessageCompleteSemaphore;     /*< Contains a reference to a semaphore if the application tasks wants notifying when the message has been transacted. */\r
+       SemaphoreHandle_t xMessageCompleteSemaphore;    /*< Contains a reference to a semaphore if the application tasks wants notifying when the message has been transacted. */\r
        unsigned char *pucBuffer;                               /*< Pointer to the buffer from where data will be read for transmission, or into which received data will be placed. */\r
 } xI2CMessage;\r
 \r
@@ -112,7 +113,7 @@ void i2cInit( void );
  *                                              become available should one not be available \r
  *                                              immediately.\r
  */\r
-void i2cMessage( const unsigned char * const pucMessage, long lMessageLength, unsigned char ucSlaveAddress, unsigned short usBufferAddress, unsigned long ulDirection, xSemaphoreHandle xMessageCompleteSemaphore, portTickType xBlockTime );\r
+void i2cMessage( const unsigned char * const pucMessage, long lMessageLength, unsigned char ucSlaveAddress, unsigned short usBufferAddress, unsigned long ulDirection, SemaphoreHandle_t xMessageCompleteSemaphore, TickType_t xBlockTime );\r
 \r
 #endif\r
 \r