ASAHI KASEI
[AK4571]
4.5.
Get Status
GetStatus
4.5.1.
Offset
0
Field
bmRequestType
Size
1
Value
Description
DEVICE
INTERFACE
ENDPOINT
GET_STATUS
0x80
0x81
0x82
0x00
1
2
4
bRequest
wValue
wIndex
1
2
2
0x0000
0x0000
0x0001
0x0002
0x0003
0x0000
0x0081
0x0002
0x0 083
0x0084
0x0002
ZERO
bmRequestType is “DEVICE"
bmRequestType is “INTERFACE “
bmRequestType is I”NTERFACE"
bmRequestType is “INTERFACE “
bmRequestType is “ENDPOINT"
bmRequestType is “ENDPOINT" *)
bmRequestType is “ENDPOINT" * )
bmRequestType is “ENDPOINT" *)
6
wLeng th
2
*)各インタフェースに対してSET_INTERFACE( Alt 値"0"以外)リクエストを発行後、このリクエストが有効になります。それ以前
にリクエストを発行するとSTALL を返します。一度、Alt値"0"以外でSET_INTERFACEリクエストを発行すれば、それ以後、イ
ンタフェースをAlt値"0"に戻しても、この リクエストは有効(0x0000 を返す)です。
以下の値(2バイト)を返します。
a) Device: 0x0000 (Bus Powered, No-remote wakeup)
b) Interface: 0x0000
c) Endpoint: 0x0000
4.6.
Set Address
AK4571は、wValueの値を内部に格納し、ACKを返します。このリクエスト以降、このアドレスのリクエストに応答します。
Offset
Field
Size
Value
0x00
0x05
0xZZZZ
0x0000
0x0000
Description
Zero
SET_ADDRESS
Device Address : ZZZZ is assigned by host
Zero
Zero
0
1
2
4
6
BmRequestType
BRequest
wValue
wIndex
wLength
1
1
2
2
2
4.7.
Set Configuration
AK4571は、コンフィグレーションを設定し、ACKを返します。AK4571のコンフィグレーション数は”1”なので、wValueの値は、
0x00,0x01のみ意味を持ちます。
Offset
Field
Size
Value
Description
0
bmRequestType
1
0x00
Zero
1
2
bRequest
wValue
1
2
0x09
SET_CONFIGURATION
Unconfigured State
AK4571 is set to configured state
Unconfigured State
Zero
0x0000
0x0001
others
0x0000
4
6
wIndex
wLength
2
2
0x0000
Zero
MS0153-J-02
2003/3
- 40 -