Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.
- Anonymous answered this Was this answer helpful?
- 0
- 0
- 142 answers
- 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)
- Comment
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement