FLASH_GetUserOptionByte †ヘッダ宣言 †関数プロトタイプ †uint_32 FLASH_GetUserOptionByte(void) 動作 †フラッシュメモリのユーザ・オプション・バイト: IWDG_SW,RST_STOP,RST_STDBY を読み出します 必要な前提条件 †無し 引数 †
戻り値 †
サンプル †/* Gets the user option byte values */ u32 UserByteValue = 0x0; u32 IWDGValue = 0x0, RST_STOPValue = 0x0, RST_STDBYValue = 0x0; UserByteValue = FLASH_GetUserOptionByte(); IWDGValue = UserByteValue & 0x0001; RST_STOPValue = UserByteValue & 0x0002; RST_STDBYValue = UserByteValue & 0x0004; 注意書き †参照 †
|