# MICResult

## Definition

  `#include <nitro/spi.h>`

      typedef enum
      {
      	MIC_RESULT_SUCCESS = 0 ,
      	MIC_RESULT_BUSY ,
      	MIC_RESULT_ILLEGAL_PARAMETER ,
      	MIC_RESULT_SEND_ERROR ,
      	MIC_RESULT_INVALID_COMMAND ,
      	MIC_RESULT_ILLEGAL_STATUS ,
      	MIC_RESULT_FATAL_ERROR ,
      	MIC_RESULT_MAX

      } MICResult;

## Description

This is the list of results shared by functions that operate the microphone.
They are used as return values for synchronous and asynchronous functions and for the `result` argument passed to the user callback function.

## Elements

`MIC_RESULT_SUCCESS` | Indicates that process has ended normally.
`MIC_RESULT_BUSY` | Indicates that the request could not be executed because another SPI-operating process is currently running.
`MIC_RESULT_ILLEGAL_PARAMETER` | Indicates that the request could not be executed because the specified parameter is not valid.
`MIC_RESULT_SEND_ERROR` | Indicates that the request to the ARM7 failed to be issued via PXI communications.
`MIC_RESULT_INVALID_COMMAND` | Indicates that the request could not be executed because the request received by the ARM7 is an unsupported command.
`MIC_RESULT_ILLEGAL_STATUS` | Indicates that the request could not be executed because of the internal state of the MIC library.
`MIC_RESULT_FATAL_ERROR` | Indicates that the process could not run normally for some other reason than those mentioned above.

## See Also

`MICCallback`

## Revision History

06/01/2004 Initial version