SARADC CLI

[中文]

1. Overview

To simplify SARADC validation, the SDK provides SARADC CLI commands. Commands start with adc_test followed by specific parameters; the output is the sampled value.

2. Code Path

Path: components/bk_cli/cli_adc.c

3. CLI Reference

Supported command:

SARADC CLI

Command

Param

Description

adc_test <channel> adc_example

channel: SARADC channel to sample

Configure SARADC and read a sample

Example: adc_test 3 adc_example