WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hal_adc_v154_regs_op.c 文件参考
#include "common_def.h"
#include "hal_adc_v154_regs_op.h"
hal_adc_v154_regs_op.c 的引用(Include)关系图:

类型定义

typedef enum hal_adc_sample_mode hal_adc_sample_mode_t
 

枚举

enum  hal_adc_sample_mode {
  AVERAGE_OF_ONE_SAMPLE = 0 , AVERAGE_OF_TWO_SAMPLES , AVERAGE_OF_FOUR_SAMPLES , AVERAGE_OF_EIGHT_SAMPLES ,
  SAMPLE_MODE_MAX_NUM
}
 

函数

errcode_t hal_adc_v154_regs_init (void)
 
void hal_adc_auto_scan_mode_set (adc_channel_t ch, bool en)
 

变量

adc_regs_tg_adc_regs = NULL
 
cldo_crg_cfg_tg_cldo_cfg = NULL
 

类型定义说明

◆ hal_adc_sample_mode_t

枚举类型说明

◆ hal_adc_sample_mode

枚举值
AVERAGE_OF_ONE_SAMPLE 
AVERAGE_OF_TWO_SAMPLES 
AVERAGE_OF_FOUR_SAMPLES 
AVERAGE_OF_EIGHT_SAMPLES 
SAMPLE_MODE_MAX_NUM 

函数说明

◆ hal_adc_auto_scan_mode_set()

void hal_adc_auto_scan_mode_set ( adc_channel_t  ch,
bool  en 
)

◆ hal_adc_v154_regs_init()

errcode_t hal_adc_v154_regs_init ( void  )

变量说明

◆ g_adc_regs

adc_regs_t* g_adc_regs = NULL

Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2024-2024. All rights reserved.

Description: Provides V154 adc register operation api
History:
2024-02-01, Create file.

◆ g_cldo_cfg

cldo_crg_cfg_t* g_cldo_cfg = NULL