ファームウェア関数一覧

RCC_WaitForHSEStartUp

ヘッダ宣言

関数プロトタイプ

ErrorStatus RCC_WaitForHSEStartUp(void)

動作

引数

戻り値

呼び出し関数

サンプル

ErrorStatus HSEStartUpStatus;
/* Enable HSE */
RCC_HSEConfig(RCC_HSE_ON);
/* Wait till HSE is ready and if Time out is reached exit */
HSEStartUpStatus = RCC_WaitForHSEStartUp();
if(HSEStartUpStatus == SUCCESS)
{
/* Add here PLL and system clock config */
}
else
{
/* Add here some code to deal with this error */
}

参照


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