os_motor.h (1476B)
1 2 /*---------------------------------------------------------------------* 3 Copyright (C) 1998 Nintendo. 4 5 $RCSfile: os_motor.h,v $ 6 $Revision: 1.1 $ 7 $Date: 1998/10/09 08:01:15 $ 8 *---------------------------------------------------------------------*/ 9 10 #ifndef _OS_MOTOR_H_ 11 #define _OS_MOTOR_H_ 12 13 #ifdef _LANGUAGE_C_PLUS_PLUS 14 extern "C" { 15 #endif 16 17 #include <PR/ultratypes.h> 18 #include "os_message.h" 19 #include "os_pfs.h" 20 21 22 #if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) 23 24 /************************************************************************** 25 * 26 * Type definitions 27 * 28 */ 29 30 31 #endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */ 32 33 /************************************************************************** 34 * 35 * Global definitions 36 * 37 */ 38 39 40 #if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) 41 42 /************************************************************************** 43 * 44 * Macro definitions 45 * 46 */ 47 48 49 /************************************************************************** 50 * 51 * Extern variables 52 * 53 */ 54 55 56 /************************************************************************** 57 * 58 * Function prototypes 59 * 60 */ 61 62 /* Rumble PAK interface */ 63 64 extern s32 osMotorInit(OSMesgQueue *, OSPfs *, int); 65 extern s32 osMotorStop(OSPfs *); 66 extern s32 osMotorStart(OSPfs *); 67 68 69 #endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */ 70 71 #ifdef _LANGUAGE_C_PLUS_PLUS 72 } 73 #endif 74 75 #endif /* !_OS_MOTOR_H_ */