MT7687 API Reference  LinkIt SDK v4
Enum

Overview

Enumerations

enum  hal_eint_trigger_mode_t {
  HAL_EINT_LEVEL_LOW = 0,
  HAL_EINT_LEVEL_HIGH = 1,
  HAL_EINT_EDGE_FALLING = 2,
  HAL_EINT_EDGE_RISING = 3,
  HAL_EINT_EDGE_FALLING_AND_RISING = 4
}
 This emun defines the EINT trigger mode. More...
 
enum  hal_eint_status_t {
  HAL_EINT_STATUS_ERROR_EINT_NUMBER = -3,
  HAL_EINT_STATUS_INVALID_PARAMETER = -2,
  HAL_EINT_STATUS_ERROR = -1,
  HAL_EINT_STATUS_OK = 0
}
 This enum define the API return type. More...
 
enum  hal_eint_number_t {
  HAL_EINT_NUMBER_0 = 0,
  HAL_EINT_NUMBER_1 = 1,
  HAL_EINT_NUMBER_2 = 2,
  HAL_EINT_NUMBER_3 = 3,
  HAL_EINT_NUMBER_4 = 4,
  HAL_EINT_NUMBER_5 = 5,
  HAL_EINT_NUMBER_6 = 6,
  HAL_EINT_NUMBER_19 = 19,
  HAL_EINT_NUMBER_20 = 20,
  HAL_EINT_NUMBER_21 = 21,
  HAL_EINT_NUMBER_22 = 22,
  HAL_EINT_NUMBER_MAX
}
 eint pin number
 

Enumeration Type Documentation

This enum define the API return type.

Enumerator
HAL_EINT_STATUS_ERROR_EINT_NUMBER 

EINT error number.

HAL_EINT_STATUS_INVALID_PARAMETER 

EINT error invalid parameter.

HAL_EINT_STATUS_ERROR 

EINT undefined error.

HAL_EINT_STATUS_OK 

EINT operation completed successfully.

This emun defines the EINT trigger mode.

Enumerator
HAL_EINT_LEVEL_LOW 

Level and low trigger.

HAL_EINT_LEVEL_HIGH 

Level and high trigger.

HAL_EINT_EDGE_FALLING 

Edge and falling trigger.

HAL_EINT_EDGE_RISING 

Edge and rising trigger.

HAL_EINT_EDGE_FALLING_AND_RISING 

Edge and falling or rising trigger.