Azure Sphere MT3620 M4 API Reference Manual
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Enum

This section introduces the enumerations that EINT M-HAL used. More...

Overview

This section introduces the enumerations that EINT M-HAL used.

Enumerations

enum  eint_number {
  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_7 = 7,
  HAL_EINT_NUMBER_8 = 8,
  HAL_EINT_NUMBER_9 = 9,
  HAL_EINT_NUMBER_10 = 10,
  HAL_EINT_NUMBER_11 = 11,
  HAL_EINT_NUMBER_12 = 12,
  HAL_EINT_NUMBER_13 = 13,
  HAL_EINT_NUMBER_14 = 14,
  HAL_EINT_NUMBER_15 = 15,
  HAL_EINT_NUMBER_16 = 16,
  HAL_EINT_NUMBER_17 = 17,
  HAL_EINT_NUMBER_18 = 18,
  HAL_EINT_NUMBER_19 = 19,
  HAL_EINT_NUMBER_20 = 20,
  HAL_EINT_NUMBER_21 = 21,
  HAL_EINT_NUMBER_22 = 22,
  HAL_EINT_NUMBER_23 = 23,
  HAL_EINT_NUMBER_MAX
}
 This enum defines the range of EINT number .
 
enum  eint_trigger_mode {
  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 enum defines the EINT trigger mode. More...
 

Enumeration Type Documentation

This enum defines the EINT trigger mode.

when registering EINT interrupt or setting trigger type, users should use this enum.

Enumerator
HAL_EINT_LEVEL_LOW 

EINT trigger mode is low level.

HAL_EINT_LEVEL_HIGH 

EINT trigger mode is high level.

HAL_EINT_EDGE_FALLING 

EINT trigger mode is falling edge.

HAL_EINT_EDGE_RISING 

EINT trigger mode is rising edge.

HAL_EINT_EDGE_FALLING_AND_RISING 

EINT trigger mode is dual-edge.