ファームウェア関数一覧

ADC_AnalogWatchdogThresholdsConfig

ヘッダ宣言

関数プロトタイプ

void ADC_AnalogWatchdogThresholdsConfig(ADC_TypeDef* ADCx, uint16_t HighThreshold, uint16_t LowThreshold)

動作

  • アナログウォッチドッグのhigh,low閾値の設定を行います。

引数

  • ADCx
    設定する対象のADCをADC1,ADC2又はADC3から選択します。

    ADCx説明
    ADC1ADC1
    ADC2ADC2
    ADC3ADC3

  • HighThreshold
    上限の閾値を12bitの値で指定します。

  • LowThreshold
    下限の閾値を12bitの値で指定します。

戻り値

  • 無し

出力値

  • 無し

呼び出し関数

  • 無し

サンプル

/* Configue the Analog watchdog High and Low thresholds for ADC1 */
ADC_AnalogWatchdogThresholdsConfig(ADC1, 0x400, 0x100);

参照


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2011-10-19 (水) 11:57:51