MT7687 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_LEGACY_SLEEP,
  HAL_SLEEP_MODE_NUMBER
}
 Sleep modes. 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 modes.

Enumerator
HAL_SLEEP_MODE_NONE 

no sleep

HAL_SLEEP_MODE_IDLE 

idle state

HAL_SLEEP_MODE_SLEEP 

wfi sleep state

HAL_SLEEP_MODE_LEGACY_SLEEP 

legacy sleep state

HAL_SLEEP_MODE_NUMBER 

for support range detection