#include <nitro/spi.h>
MICResult MIC_AdjustAutoSampling( u32 rate );
rate | The sampling rate. Directly specifies the CPU timer rate of the ARM7. Can also be selected from enumerated-type MICSamplingRate . |
Returns the enumerated-type MICResult
process result. If the asynchronous process started normally, returns MIC_RESULT_SUCCESS
. If the process fails for some reason, returns some other value.
Synchronously adjusts the sampling rate of the microphone's auto-sampling. This is only valid when auto-sampling has already begun. When ARM7 receives the request, the CPU timer cycle gets updated.
This function issues an auto-sampling adjustment request to ARM7, waits for a response from ARM7, and returns the process result.
This is the synchronous version of MIC_AdjustAutoSamplingAsync
.
This function requires a PXI interrupt for synchronization. Do not call this function when PXI interrupts are prohibited.
MIC_AdjustAutoSamplingAsync
, MIC_StartAutoSampling
, MIC_StopAutoSampling
03/08/2005 Standardized the Japanese term for "interrupt"
01/11/2005 Initial version