//*----------------------------------------------------------------------------\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
//*----------------------------------------------------------------------------\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
//*----------------------------------------------------------------------------\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
//*----------------------------------------------------------------------------\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
//*----------------------------------------------------------------------------\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
//*----------------------------------------------------------------------------\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
//*----------------------------------------------------------------------------\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
//*----------------------------------------------------------------------------\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
//*----------------------------------------------------------------------------\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