MT7687 API Reference  LinkIt SDK v4
Enum

Overview

Enumerations

enum  hal_cache_status_t {
  HAL_CACHE_STATUS_INVALID_PARAMETER = -7,
  HAL_CACHE_STATUS_ERROR_BUSY = -6,
  HAL_CACHE_STATUS_ERROR_CACHE_SIZE = -5,
  HAL_CACHE_STATUS_ERROR_REGION = -4,
  HAL_CACHE_STATUS_ERROR_REGION_ADDRESS = -3,
  HAL_CACHE_STATUS_ERROR_REGION_SIZE = -2,
  HAL_CACHE_STATUS_ERROR = -1,
  HAL_CACHE_STATUS_OK = 0
}
 This enum defines the CACHE API return status. More...
 
enum  hal_cache_size_t {
  HAL_CACHE_SIZE_0KB = 0,
  HAL_CACHE_SIZE_8KB = 1,
  HAL_CACHE_SIZE_16KB = 2,
  HAL_CACHE_SIZE_32KB = 3,
  HAL_CACHE_SIZE_MAX
}
 This enum defines the CACHE size. More...
 
enum  hal_cache_region_t {
  HAL_CACHE_REGION_0 = 0,
  HAL_CACHE_REGION_1 = 1,
  HAL_CACHE_REGION_2 = 2,
  HAL_CACHE_REGION_3 = 3,
  HAL_CACHE_REGION_4 = 4,
  HAL_CACHE_REGION_5 = 5,
  HAL_CACHE_REGION_6 = 6,
  HAL_CACHE_REGION_7 = 7,
  HAL_CACHE_REGION_8 = 8,
  HAL_CACHE_REGION_9 = 9,
  HAL_CACHE_REGION_10 = 10,
  HAL_CACHE_REGION_11 = 11,
  HAL_CACHE_REGION_12 = 12,
  HAL_CACHE_REGION_13 = 13,
  HAL_CACHE_REGION_14 = 14,
  HAL_CACHE_REGION_15 = 15,
  HAL_CACHE_REGION_MAX
}
 This enum defines the CACHE region number. More...
 

Enumeration Type Documentation

This enum defines the CACHE region number.

Enumerator
HAL_CACHE_REGION_0 

CACHE region 0.

HAL_CACHE_REGION_1 

CACHE region 1.

HAL_CACHE_REGION_2 

CACHE region 2.

HAL_CACHE_REGION_3 

CACHE region 3.

HAL_CACHE_REGION_4 

CACHE region 4.

HAL_CACHE_REGION_5 

CACHE region 5.

HAL_CACHE_REGION_6 

CACHE region 6.

HAL_CACHE_REGION_7 

CACHE region 7.

HAL_CACHE_REGION_8 

CACHE region 8.

HAL_CACHE_REGION_9 

CACHE region 9.

HAL_CACHE_REGION_10 

CACHE region 10.

HAL_CACHE_REGION_11 

CACHE region 11.

HAL_CACHE_REGION_12 

CACHE region 12.

HAL_CACHE_REGION_13 

CACHE region 13.

HAL_CACHE_REGION_14 

CACHE region 14.

HAL_CACHE_REGION_15 

CACHE region 15.

HAL_CACHE_REGION_MAX 

The total number of CACHE regions (invalid region).

This enum defines the CACHE size.

Enumerator
HAL_CACHE_SIZE_0KB 

No CACHE.

HAL_CACHE_SIZE_8KB 

CACHE size is 8kB.

HAL_CACHE_SIZE_16KB 

CACHE size is 16kB.

HAL_CACHE_SIZE_32KB 

CACHE size is 32kB.

HAL_CACHE_SIZE_MAX 

The total number of CACHE sizes (invalid size).

This enum defines the CACHE API return status.

Enumerator
HAL_CACHE_STATUS_INVALID_PARAMETER 

Invalid parameter.

HAL_CACHE_STATUS_ERROR_BUSY 

CACHE is busy.

HAL_CACHE_STATUS_ERROR_CACHE_SIZE 

CACHE size is invalid, total CACHE size is not a value of type hal_cache_size_t.

HAL_CACHE_STATUS_ERROR_REGION 

CACHE region error, CACHE region is not a value of type hal_cache_region_t.

HAL_CACHE_STATUS_ERROR_REGION_ADDRESS 

CACHE region address error, CACHE region address is not 4kB aligned.

HAL_CACHE_STATUS_ERROR_REGION_SIZE 

CACHE region size error, CACHE region size is not a multiple of 4kB.

HAL_CACHE_STATUS_ERROR 

CACHE error , imprecise error.

HAL_CACHE_STATUS_OK 

CACHE API call returns successfully.