]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/IAR/AtmelSAM7S64/lib_AT91SAM7S64.h
Replace standard types with stdint.h types.
[freertos] / FreeRTOS / Source / portable / IAR / AtmelSAM7S64 / lib_AT91SAM7S64.h
index 9d012c4d7deb07b7da745e4477ccffbe3d41bc93..08e3d29e7f669349a010fa3a5687ab2e321832c5 100644 (file)
@@ -2472,7 +2472,7 @@ __inline unsigned int AT91F_US_ReceiveFrame (
 //*----------------------------------------------------------------------------\r
 __inline void AT91F_US_SetIrdaFilter (\r
        AT91PS_USART pUSART,\r
-       unsigned char value\r
+       uint8_t value\r
 )\r
 {\r
        pUSART->US_IF = value;\r
@@ -2511,7 +2511,7 @@ __inline void AT91F_UDP_DisableIt (
 //*----------------------------------------------------------------------------\r
 __inline void AT91F_UDP_SetAddress (\r
        AT91PS_UDP pUDP,     // \arg pointer to a UDP controller\r
-       unsigned char address)   // \arg new UDP address\r
+       uint8_t address)   // \arg new UDP address\r
 {\r
        pUDP->UDP_FADDR = (AT91C_UDP_FEN | address);\r
 }\r
@@ -2577,7 +2577,7 @@ __inline void AT91F_UDP_ResetEp ( // \return the UDP device state
 //*----------------------------------------------------------------------------\r
 __inline void AT91F_UDP_EpStall(\r
        AT91PS_UDP pUDP,     // \arg pointer to a UDP controller\r
-       unsigned char endpoint)   // \arg endpoint number\r
+       uint8_t endpoint)   // \arg endpoint number\r
 {\r
        pUDP->UDP_CSR[endpoint] |= AT91C_UDP_FORCESTALL;\r
 }\r
@@ -2588,8 +2588,8 @@ __inline void AT91F_UDP_EpStall(
 //*----------------------------------------------------------------------------\r
 __inline void AT91F_UDP_EpWrite(\r
        AT91PS_UDP pUDP,         // \arg pointer to a UDP controller\r
-       unsigned char endpoint,  // \arg endpoint number\r
-       unsigned char value)     // \arg value to be written in the DPR\r
+       uint8_t endpoint,  // \arg endpoint number\r
+       uint8_t value)     // \arg value to be written in the DPR\r
 {\r
        pUDP->UDP_FDR[endpoint] = value;\r
 }\r
@@ -2600,7 +2600,7 @@ __inline void AT91F_UDP_EpWrite(
 //*----------------------------------------------------------------------------\r
 __inline unsigned int AT91F_UDP_EpRead(\r
        AT91PS_UDP pUDP,         // \arg pointer to a UDP controller\r
-       unsigned char endpoint)  // \arg endpoint number\r
+       uint8_t endpoint)  // \arg endpoint number\r
 {\r
        return pUDP->UDP_FDR[endpoint];\r
 }\r
@@ -2611,7 +2611,7 @@ __inline unsigned int AT91F_UDP_EpRead(
 //*----------------------------------------------------------------------------\r
 __inline void AT91F_UDP_EpEndOfWr(\r
        AT91PS_UDP pUDP,         // \arg pointer to a UDP controller\r
-       unsigned char endpoint)  // \arg endpoint number\r
+       uint8_t endpoint)  // \arg endpoint number\r
 {\r
        pUDP->UDP_CSR[endpoint] |= AT91C_UDP_TXPKTRDY;\r
 }\r
@@ -2622,7 +2622,7 @@ __inline void AT91F_UDP_EpEndOfWr(
 //*----------------------------------------------------------------------------\r
 __inline void AT91F_UDP_EpClear(\r
        AT91PS_UDP pUDP,         // \arg pointer to a UDP controller\r
-       unsigned char endpoint,  // \arg endpoint number\r
+       uint8_t endpoint,  // \arg endpoint number\r
        unsigned int flag)       // \arg flag to be cleared\r
 {\r
        pUDP->UDP_CSR[endpoint] &= ~(flag);\r
@@ -2634,7 +2634,7 @@ __inline void AT91F_UDP_EpClear(
 //*----------------------------------------------------------------------------\r
 __inline void AT91F_UDP_EpSet(\r
        AT91PS_UDP pUDP,         // \arg pointer to a UDP controller\r
-       unsigned char endpoint,  // \arg endpoint number\r
+       uint8_t endpoint,  // \arg endpoint number\r
        unsigned int flag)       // \arg flag to be cleared\r
 {\r
        pUDP->UDP_CSR[endpoint] |= flag;\r
@@ -2646,7 +2646,7 @@ __inline void AT91F_UDP_EpSet(
 //*----------------------------------------------------------------------------\r
 __inline unsigned int AT91F_UDP_EpStatus(\r
        AT91PS_UDP pUDP,         // \arg pointer to a UDP controller\r
-       unsigned char endpoint)  // \arg endpoint number\r
+       uint8_t endpoint)  // \arg endpoint number\r
 {\r
        return pUDP->UDP_CSR[endpoint];\r
 }\r