Shinobi Library - Vibration Peripheral Function

pdVibMxStop

Stops vibration of vibration peripheral

FORMAT

Sint32 pdVibMxStop( port )

PARAMETER

 port  Port number 

RETURN

 PDD_VIBERR_OK  Normal end 
 PDD_VIBERR_NO_VIBRATOR  Not connected 
 PDD_VIBERR_BUSY  Busy status 

DESCRIPTION

Stops vibration of the vibration peripheral inserted in a specified expansion socket.

The specified port numbers for the argument port are listed below.

 PDD_PORT_A1  Expansion socket 1 on port A 
 PDD_PORT_A1  Expansion socket 2 on port A 
 PDD_PORT_B1  Expansion socket 1 on port B 
 PDD_PORT_B1  Expansion socket 2 on port B 
 PDD_PORT_C1  Expansion socket 1 on port C 
 PDD_PORT_C1  Expansion socket 2 on port C 
 PDD_PORT_D1  Expansion socket 1 on port D 
 PDD_PORT_D1  Expansion socket 2 on port D 


EXAMPLE

if (pdVibMxStop(PDD_PORT_A2) == PDD_VIBERR_OK) {
  /* Success */
}

NOTE

These functions are still in the evaluation version. In the future, the specs may be changed.

REFERENCE

pdVibMxStart()


pdVibMxStop
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999