MT2523 API Reference  LinkIt SDK v4
Enum

Overview

Enumerations

enum  hal_accdet_callback_event_t {
  HAL_ACCDET_EVENT_HOOK_KEY = 0,
  HAL_ACCDET_EVENT_PLUG_IN = 1,
  HAL_ACCDET_EVENT_ERROR = 2,
  HAL_ACCDET_EVENT_PLUG_OUT = 3
}
 This enum defines the ACCDET EVENT type. More...
 
enum  hal_accdet_status_t {
  HAL_ACCDET_STATUS_INVALID_PARAMETER = -3,
  HAL_ACCDET_STATUS_ERROR_BUSY = -2,
  HAL_ACCDET_STATUS_ERROR = -1,
  HAL_ACCDET_STATUS_OK = 0
}
 This enum defines the ACCDET status type. More...
 

Enumeration Type Documentation

This enum defines the ACCDET EVENT type.

Enumerator
HAL_ACCDET_EVENT_HOOK_KEY 

ACCDET event hook key.

HAL_ACCDET_EVENT_PLUG_IN 

ACCDET event plug in.

HAL_ACCDET_EVENT_ERROR 

ACCDET event error.

HAL_ACCDET_EVENT_PLUG_OUT 

ACCDET event plug out.

This enum defines the ACCDET status type.

Enumerator
HAL_ACCDET_STATUS_INVALID_PARAMETER 

Invalid parameter.

HAL_ACCDET_STATUS_ERROR_BUSY 

ACCDET is busy.

HAL_ACCDET_STATUS_ERROR 

ACCDET status error.

HAL_ACCDET_STATUS_OK 

ACCDET status ok.