usbengines/usbotgwatcher/inc/definitions.h
branchRCL_3
changeset 64 8ecef05bbada
parent 3 47c263f7e521
child 20 a15c582fbf97
equal deleted inserted replaced
8:7e15987c4500 64:8ecef05bbada
    36  * not by setting real state pointer to a state machine. States do not have access to
    36  * not by setting real state pointer to a state machine. States do not have access to
    37  * one another states objects, they just know ids
    37  * one another states objects, they just know ids
    38  */
    38  */
    39 enum TUsbStateIds
    39 enum TUsbStateIds
    40     {
    40     {
    41     EUsbStateUndefined,
    41     EUsbStateHostUndefined,
    42     
    42     
    43     EUsbStateHostAInitiate,
    43     EUsbStateHostAInitiate,
    44     EUsbStateHostAHost,
    44     EUsbStateHostAHost,
    45     EUsbStateHostAPeripheral,
    45     EUsbStateHostAPeripheral,
    46     EUsbStateHostAIdle,
    46     EUsbStateHostAIdle,
    47 
    47 
    48     EUsbStateHostHandle
    48     EUsbStateHostHandle,
       
    49     EUsbStateHostDelayHandle
    49     };
    50     };
    50 
    51 
    51 const TInt KUsbWatcherPeripheralIsNotConnected = 0; // means not(KUsbWatcherPeripheralIsConnected)
    52 const TInt KUsbWatcherPeripheralIsNotConnected = 0; // means not(KUsbWatcherPeripheralIsConnected)
    52 const TInt KUsbWatcherPeripheralIsConnected = 1; // means drivers loaded and session ON at least for one peripheral
    53 const TInt KUsbWatcherPeripheralIsConnected = 1; // means drivers loaded and session ON at least for one peripheral
    53 
    54