/* riscos/usb/sys/types.h
 *
 * (c) 2002 Simtec Electronics
 *
 * Ben Dooks
 *
 * define common data-types for the usb stack / drivers
 *
 * This Library file is part of the Simtec Electronics USB stack development
 *   suite.
 * Specific licence is granted to use this file by third parties for the
 *   development of USB device drivers.
 *
*/

#ifndef __RISCOS_USB_SYS_TYPES_H
#define __RISCOS_USB_SYS_TYPES_H "$Id: types.h,v 1.4 2003/07/29 15:28:25 ben Exp $"

/* 8 bit unsigned and signed qty */
typedef unsigned char usb_u8_t;
typedef   signed char usb_s8_t;

/* 16 bit unsigned and signed qty */
typedef unsigned short usb_u16_t;
typedef   signed short usb_s16_t;

/* 32 bit unsigned and signed qty */
typedef unsigned int usb_u32_t;
typedef signed   int usb_s32_t;

/* frame count type */
typedef unsigned int usb_frame_t;

/* operating system error return */
#define usb_oserr_t _kernel_oserror *

#define USB_OSERR_NONE (NULL)

#endif /* __RISCOS_USB_SYS_TYPES_H */
