Find out the NVIC functions for the following operation Resets the whole system
ID: 3849928 • Letter: F
Question
Find out the NVIC functions for the following operation
Resets the whole system including peripherals.
Sets the priority grouping.
Returns the value of the current priority grouping.
Enables the interrupt IRQn.
Disables the interrupt IRQn.
Sets the priority for the interrupt IRQn.
Returns the priority for the specified interrupt.
Sets the interrupt IRQn pending.
Returns the pending status of the interrupt IRQn.
Clears the pending status of the interrupt IRQn, if it is not already running or active.
Returns the active status for the interrupt IRQn.
Resets the whole system including peripherals.
Sets the priority grouping.
Returns the value of the current priority grouping.
Enables the interrupt IRQn.
Disables the interrupt IRQn.
Sets the priority for the interrupt IRQn.
Returns the priority for the specified interrupt.
Sets the interrupt IRQn pending.
Returns the pending status of the interrupt IRQn.
Clears the pending status of the interrupt IRQn, if it is not already running or active.
Returns the active status for the interrupt IRQn.
Explanation / Answer
Answer:
Resets the whole system including peripherals=void NVIC_systemReset(void)
->Enable the interrupt IRQn=void NVIC_EnableIRQ(IRQ_Type IRQn)
->Disables the interrupt IRQn=void NVIC_DisableIRQ(IRQn_Type IRQn)
->sets the priority for the interrupt IRQn=void NVIC_SetPriority(IRQn_Type IRQn,int32_t priority)
->Return the priority for the specified interrupt=unit32_t NVIC_GetPriority(IRQn_Type IRQn)
->Sets the interrupt IRQN pending=void NVIC_SetsPendingIRQ(IRQn_Type IRQn)
->Return the pending status of the interrupt IRQn=IRQn_Type NVIC_GetPendingIRQ(IRQn_Type IRQn)
->Clear th pending status of the interrupt IRQn,if it is not already running or active=void NVIC_ClearPendingIRQ(IRQn_Type IRQn)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.