All Functions Modules Pages
usb

Functions

NIL usb.mstick ()
 Initialize USB connection accessing to the memory stick. More...
 
NIL usb.umd ()
 Initialize USB connection accessing to the UMD disc. More...
 
NIL usb.flash0 ()
 Initialize USB connection accessing to the flash0 (read-only mode). More...
 
NIL usb.flash1 ()
 Initialize USB connection accessing to the flash1 (read-only mode). More...
 
NIL usb.flash2 ()
 Initialize USB connection accessing to the flash2 (read-only mode). More...
 
NIL usb.flash3 ()
 Initialize USB connection accessing to the flash3 (read-only mode). More...
 
NIL usb.stop ()
 Stop USB connection. More...
 
BOOLEAN usb.isconnected ()
 Checks if the connection was successful (in other words, checks if PC have access to the console storage). More...
 
BOOLEAN usb.isactive ()
 Checks if connection still active. This function only checks if there was an attempt to activate the USB connection, but not checks if PC have access (for example, if we call to usb.mstick() without connecting the USB wire this function will return true, but usb.isconnected() will return false). More...
 

Detailed Description

Manage USB connection.

Function Documentation

NIL usb.mstick ( )

Initialize USB connection accessing to the memory stick.

Returns
Nothing.
NIL usb.umd ( )

Initialize USB connection accessing to the UMD disc.

Returns
Nothing.
NIL usb.flash0 ( )

Initialize USB connection accessing to the flash0 (read-only mode).

Returns
Nothing.
NIL usb.flash1 ( )

Initialize USB connection accessing to the flash1 (read-only mode).

Returns
Nothing.
NIL usb.flash2 ( )

Initialize USB connection accessing to the flash2 (read-only mode).

Returns
Nothing.
NIL usb.flash3 ( )

Initialize USB connection accessing to the flash3 (read-only mode).

Returns
Nothing.
NIL usb.stop ( )

Stop USB connection.

Returns
Nothing.
BOOLEAN usb.isconnected ( )

Checks if the connection was successful (in other words, checks if PC have access to the console storage).

Returns
true if access; false otherwise.
BOOLEAN usb.isactive ( )

Checks if connection still active. This function only checks if there was an attempt to activate the USB connection, but not checks if PC have access (for example, if we call to usb.mstick() without connecting the USB wire this function will return true, but usb.isconnected() will return false).

Returns
true If connection was already active; false otherwise.