Codec Services: Difference between revisions
m Neobrain moved page Codec Services to CDC Services: This has nothing to do with "codec" stuff at all |
|||
(7 intermediate revisions by 4 users not shown) | |||
Line 5: | Line 5: | ||
! Description | ! Description | ||
|- | |- | ||
| | | 0x00010042 | ||
| [[Cdc:HID:GetData|GetData]] | | [[Cdc:HID:GetData|GetData]] | ||
|- | |- | ||
| | | 0x00020042 | ||
| Initialize | | Initialize | ||
|- | |- | ||
Line 58: | Line 58: | ||
! Command Header | ! Command Header | ||
! Description | ! Description | ||
|- | |||
| 0x00010040 | |||
| SetGain | |||
|- | |||
| 0x00020080 | |||
| GetGain | |||
|- | |||
| 0x00030040 | |||
| SetPower | |||
|- | |||
| 0x00040080 | |||
| GetPower | |||
|- | |||
| 0x00050042 | |||
| SetIirFilterMic | |||
|} | |} | ||
Line 65: | Line 80: | ||
! Command Header | ! Command Header | ||
! Description | ! Description | ||
|- | |||
| 0x00010040 | |||
| ? | |||
|- | |||
| 0x00020040 | |||
| ? | |||
|- | |||
| 0x00030040 | |||
| ? | |||
|- | |||
| 0x00040080 | |||
| ? | |||
|- | |||
| 0x00050040 | |||
| ? | |||
|- | |||
| 0x00060080 | |||
| ? | |||
|- | |||
| 0x00070040 | |||
| ? | |||
|- | |||
| 0x00080080 | |||
| ? | |||
|- | |||
| 0x00090040 | |||
| ? | |||
|} | |} | ||
Line 72: | Line 114: | ||
! Command Header | ! Command Header | ||
! Description | ! Description | ||
|- | |||
| 0x00010042 | |||
| ? | |||
|- | |||
| 0x00020042 | |||
| ? | |||
|- | |||
| 0x00030082 | |||
| ? | |||
|- | |||
| 0x00040042 | |||
| ? | |||
|- | |||
| 0x000500C2 | |||
| ? | |||
|- | |||
| 0x00060080 | |||
| ? | |||
|- | |||
| 0x00070040 | |||
| ? | |||
|- | |||
| 0x00080040 | |||
| ? | |||
|} | |} | ||
Line 79: | Line 145: | ||
! Command Header | ! Command Header | ||
! Description | ! Description | ||
|- | |||
| 0x00010040 | |||
| Powers on microphone ADC and clears bank3:idx3, then clears bank0xFF:idx5 | |||
|- | |||
| 0x00020040 | |||
| Sets unknown CONFIG11 CODEC bits, writes 0x40 to bank0x67:idx0x25 | |||
|- | |||
| 0x00030040 | |||
| Modifies bit5 in bank0x65:idx0x33 | |||
|} | |} | ||
Line 86: | Line 161: | ||
! Command Header | ! Command Header | ||
! Description | ! Description | ||
|- | |||
| 0x000100C0 | |||
| rowspan=2 | [[CDCCHK:ReadSPI|ReadSPI]] | |||
|- | |||
| 0x000200C0 | |||
|- | |||
| 0x000300C2 | |||
| rowspan=2 | [[CDCCHK:WriteSPI|WriteSPI]] | |||
|- | |||
| 0x000400C2 | |||
|} | |} |