ファームウェア関数一覧

TIM_ETRClockMode2Config

ヘッダ宣言

関数プロトタイプ

void TIM_ETRClockMode2Config(TIM_TypeDef* TIMx, uint_t16 TIM_ExtTRGPrescaler, uint_t16 TIM_ExtTRGPolarity, uint_t16 ExtTRGFilter)

動作

引数

出力値

戻り値

場所

呼び出し関数

サンプル

/* Selects the external clock Mode 2 for TIM1: the external clock is
connected to ETR input pin, the rising edge is the active edge, no
filter sampling is done (ExtTRGFilter = 0) and the prescaler is
fixed to TIM_ExtTRGPSC_DIV2 */
TIM_ExternalCLK2Config(TIM1, TIM_ExtTRGPSC_DIV2,
TIM_ExtTRGPolarity_NonInverted, 0x0);

参照


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS