ファームウェア関数一覧
NVIC_GetSystemHandlerActiveBitStatus †
ヘッダ宣言 †
関数プロトタイプ †
ITStatus NVIC_GetSystemHandlerActiveBitStatus(uint32_t SystemHandler)
動作 †
- 指定したシステムハンドラの有効ビットが設定されているか否かをチェックします。
引数 †
- SystemHandler
SystemHandler | 説明 |
SystemHandler_MemoryManage | Memory Manage Handler |
SystemHandler_BusFault | Bus Fault Handler |
SystemHandler_UsageFault | Usage Fault Handler |
SystemHandler_SVCall | SVCall Handler |
SystemHandler_DebugMonitor | Debug Monitor Handler |
SystemHandler_PSV | PSV Handler |
SystemHandler_SysTick | SysTick Handler |
戻り値 †
- ITStatus
ITStatus | 説明 |
SET | 割り込みが発生しています |
RESET | 割り込みは発生していません |
呼び出し関数 †
サンプル †
/* Check if the Bus Fault is active or stacked */
ITStatus BusFaultHandlerStatus;
BusFaultHandlerStatus =
NVIC_GetSystemHandlerActiveBitStatus(SystemHandler_BusFault);
参照 †