MT2523 API Reference  LinkIt SDK v4

Overview

Enumerations

enum  hal_sleep_manager_status_t {
  HAL_SLEEP_MANAGER_ERROR = -1,
  HAL_SLEEP_MANAGER_OK = 0
}
 This enum defines the Sleep Manager API return status. More...
 
enum  hal_sleep_mode_t {
  HAL_SLEEP_MODE_NONE = 0,
  HAL_SLEEP_MODE_IDLE,
  HAL_SLEEP_MODE_SLEEP,
  HAL_SLEEP_MODE_DEEP_SLEEP,
  HAL_SLEEP_MODE_NUMBER
}
 Sleep modes. More...
 
enum  hal_sleep_manager_wakeup_source_t {
  HAL_SLEEP_MANAGER_WAKEUP_SOURCE_GPT = 0,
  HAL_SLEEP_MANAGER_WAKEUP_SOURCE_EINT,
  HAL_SLEEP_MANAGER_WAKEUP_SOURCE_RESERVED,
  HAL_SLEEP_MANAGER_WAKEUP_SOURCE_KP,
  HAL_SLEEP_MANAGER_WAKEUP_SOURCE_MSDC1,
  HAL_SLEEP_MANAGER_WAKEUP_SOURCE_MDIF,
  HAL_SLEEP_MANAGER_WAKEUP_SOURCE_RESERVED_2,
  HAL_SLEEP_MANAGER_WAKEUP_SOURCE_MSDC2,
  HAL_SLEEP_MANAGER_WAKEUP_SOURCE_SPI_SLAVE,
  HAL_SLEEP_MANAGER_WAKEUP_SOURCE_RGU,
  HAL_SLEEP_MANAGER_WAKEUP_SOURCE_MM_DBI,
  HAL_SLEEP_MANAGER_WAKEUP_SOURCE_MM_DSI
}
 sleep_manager wake up source More...
 

Enumeration Type Documentation

This enum defines the Sleep Manager API return status.

Enumerator
HAL_SLEEP_MANAGER_ERROR 

An undefined error occurred.

HAL_SLEEP_MANAGER_OK 

The operation completed successfully.

sleep_manager wake up source

Enumerator
HAL_SLEEP_MANAGER_WAKEUP_SOURCE_GPT 

General purpose timer.

HAL_SLEEP_MANAGER_WAKEUP_SOURCE_EINT 

External interrupt.

HAL_SLEEP_MANAGER_WAKEUP_SOURCE_RESERVED 

Reserved.

HAL_SLEEP_MANAGER_WAKEUP_SOURCE_KP 

Keypad.

HAL_SLEEP_MANAGER_WAKEUP_SOURCE_MSDC1 

SD/eMMC IP.

HAL_SLEEP_MANAGER_WAKEUP_SOURCE_MDIF 

Modem interface.

HAL_SLEEP_MANAGER_WAKEUP_SOURCE_RESERVED_2 

Reserved.

HAL_SLEEP_MANAGER_WAKEUP_SOURCE_MSDC2 

SD/eMMC's second IP.

HAL_SLEEP_MANAGER_WAKEUP_SOURCE_SPI_SLAVE 

SPI protocol slave.

HAL_SLEEP_MANAGER_WAKEUP_SOURCE_RGU 

Reset Generation Unit.

HAL_SLEEP_MANAGER_WAKEUP_SOURCE_MM_DBI 

Multimedia display bus interface.

HAL_SLEEP_MANAGER_WAKEUP_SOURCE_MM_DSI 

Multimedia display serial interface.

Sleep modes.

Enumerator
HAL_SLEEP_MODE_NONE 

No sleep.

HAL_SLEEP_MODE_IDLE 

Idle state.

HAL_SLEEP_MODE_SLEEP 

Sleep state.

HAL_SLEEP_MODE_DEEP_SLEEP 

Deep sleep state.

HAL_SLEEP_MODE_NUMBER 

To support range detection.