mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 19:53:18 -04:00
add class driver source files. also register iap audio sink. usbstack/iap/libiap directory is imported from libiap. Change-Id: I776c5caec33fe9efadc448e2e3b37d500bf19c9f
31 lines
1.2 KiB
C
31 lines
1.2 KiB
C
#pragma once
|
|
#include <stdint.h>
|
|
|
|
/* [1] P.184 Table 3-112 Notification bitmask bits */
|
|
|
|
enum IAPEventNotificationEvents {
|
|
IAPSetEventNotificationEvents_FlowControl = 1 << 2,
|
|
IAPSetEventNotificationEvents_RadioTagging = 1 << 3,
|
|
IAPSetEventNotificationEvents_Camera = 1 << 4,
|
|
IAPSetEventNotificationEvents_ChargingInfo = 1 << 5,
|
|
IAPSetEventNotificationEvents_DatabaseChanged = 1 << 9,
|
|
IAPSetEventNotificationEvents_AppBundleName = 1 << 10,
|
|
IAPSetEventNotificationEvents_SessionSpaceAvail = 1 << 11,
|
|
IAPSetEventNotificationEvents_CommandComplete = 1 << 13,
|
|
IAPSetEventNotificationEvents_IPodOutMode = 1 << 15,
|
|
IAPSetEventNotificationEvents_BluetoothConnection = 1 << 17,
|
|
IAPSetEventNotificationEvents_AppDisplayName = 1 << 19,
|
|
IAPSetEventNotificationEvents_AssistiveTouch = 1 << 20,
|
|
};
|
|
|
|
struct IAPSetEventNotificationPayload {
|
|
uint64_t mask; /* IAPEventNotificationEvents */
|
|
} __attribute__((packed));
|
|
|
|
struct IAPRetEventNotificationPayload {
|
|
uint64_t mask; /* IAPEventNotificationEvents */
|
|
} __attribute__((packed));
|
|
|
|
struct IAPRetSupportedEventNotificationPayload {
|
|
uint64_t mask; /* IAPEventNotificationEvents */
|
|
} __attribute__((packed));
|