diff options
Diffstat (limited to '')
-rw-r--r-- | include/kernel/udcd.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/include/kernel/udcd.h b/include/kernel/udcd.h index 4e26324..2b44ea6 100644 --- a/include/kernel/udcd.h +++ b/include/kernel/udcd.h @@ -75,13 +75,17 @@ extern "C" { /* * USB Status */ -#define SCE_UDCD_STATUS_ACTIVATED 0x200 -#define SCE_UDCD_STATUS_DEACTIVATED 0x100 -#define SCE_UDCD_STATUS_CABLE_CONNECTED 0x020 -#define SCE_UDCD_STATUS_CABLE_DISCONNECTED 0x010 -#define SCE_UDCD_STATUS_CONNECTION_SUSPENDED 0x004 -#define SCE_UDCD_STATUS_CONNECTION_ESTABLISHED 0x002 -#define SCE_UDCD_STATUS_CONNECTION_NEW 0x001 +#define SCE_UDCD_STATUS_CONNECTION_NEW 0x0001 +#define SCE_UDCD_STATUS_CONNECTION_ESTABLISHED 0x0002 +#define SCE_UDCD_STATUS_CONNECTION_SUSPENDED 0x0004 +#define SCE_UDCD_STATUS_CABLE_DISCONNECTED 0x0010 +#define SCE_UDCD_STATUS_CABLE_CONNECTED 0x0020 +#define SCE_UDCD_STATUS_DEACTIVATED 0x0100 +#define SCE_UDCD_STATUS_ACTIVATED 0x0200 +#define SCE_UDCD_STATUS_IS_CHARGING 0x0400 +#define SCE_UDCD_STATUS_USE_USB_CHARGING 0x0800 +#define SCE_UDCD_STATUS_UNKNOWN_1000 0x1000 +#define SCE_UDCD_STATUS_UNKNOWN_2000 0x2000 /* * USB Driver status |