MIC Services: Difference between revisions

Steveice10 (talk | contribs)
m SetClamp, GetClamp
MarcusD (talk | contribs)
 
(5 intermediate revisions by one other user not shown)
Line 34: Line 34:
|-
|-
| 0x000A0040
| 0x000A0040
| [[MICU:SetBias|SetBias]]
| [[MICU:SetPower|SetPower]]
|-
|-
| 0x000B0000
| 0x000B0000
| [[MICU:GetBias|GetBias]]
| [[MICU:GetPower|GetPower]]
|-
|-
| 0x000C0042
| 0x000C0042
| (size, [[IPC Command Structure|<translate-header>]], bufptr) This is a wrapper for CDCMIC command 0x00050042.
| [[MICU:SetIirFilterMic|SetIirFilterMic]]
|-
|-
| 0x000D0040
| 0x000D0040
Line 49: Line 49:
|-
|-
| 0x000F0040
| 0x000F0040
| (u8 input) This writes the input u8 value to a MIC-module state field.
| [[MICU:SetAllowShellClosed|SetAllowShellClosed]]
|-
|-
| 0x00100040
| 0x00100040
Line 59: Line 59:
Only one session can be open for this service total(that is, only one process can use this service at a time).
Only one session can be open for this service total(that is, only one process can use this service at a time).


'''enum Encoding'''
==Encoding==
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 78: Line 78:
|}
|}


'''enum SampleRate'''
==SampleRate==
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 96: Line 96:
| 3
| 3
|}
|}
The actual accurate sampling rate can be calculated using <code>(16756991 / 512) / (SampleRate + 1)</code> where <code>SampleRate</code> is one of the above values.


=See Also=
=See Also=
[[MIC Shared Memory]]
[[MIC Shared Memory]]