ファームウェア関数一覧
NVIC_PriorityGroupConfig †
ヘッダ宣言 †
関数プロトタイプ †
void NVIC_PriorityGroupConfig(uint32_t NVIC_PriorityGroup)
動作 †
- Configures the priority grouping: pre-emption priority and subpriority.
- この操作は一回のみ可能です。
引数 †
- NVIC_PriorityGroup
NVIC_PriorityGroup | 説明 |
NVIC_PriorityGroup_0 | 0 bits for pre-emption priority 4 bits for subpriority |
NVIC_PriorityGroup_1 | 1 bits for pre-emption priority 3 bits for subpriority |
NVIC_PriorityGroup_2 | 2 bits for pre-emption priority 2 bits for subpriority |
NVIC_PriorityGroup_3 | 3 bits for pre-emption priority 1 bits for subpriority |
NVIC_PriorityGroup_4 | 4 bits for pre-emption priority 0 bits for subpriority |
戻り値 †
呼び出し関数 †
サンプル †
/* Configure the Priority Grouping with 1 bit */
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_1);
参照 †