![]() |
NUC029FAE_BSP V3.01.004
The Board Support Package for NUC029FAE MCU
|
Functions that manage interrupts and exceptions via the NVIC. More...
Modules | |
SysTick Functions | |
Functions that configure the System. | |
__STATIC_INLINE void | NVIC_EnableIRQ (IRQn_Type IRQn) |
Enable External Interrupt. More... | |
__STATIC_INLINE void | NVIC_DisableIRQ (IRQn_Type IRQn) |
Disable External Interrupt. More... | |
__STATIC_INLINE uint32_t | NVIC_GetPendingIRQ (IRQn_Type IRQn) |
Get Pending Interrupt. More... | |
__STATIC_INLINE void | NVIC_SetPendingIRQ (IRQn_Type IRQn) |
Set Pending Interrupt. More... | |
__STATIC_INLINE void | NVIC_ClearPendingIRQ (IRQn_Type IRQn) |
Clear Pending Interrupt. More... | |
__STATIC_INLINE void | NVIC_SetPriority (IRQn_Type IRQn, uint32_t priority) |
Set Interrupt Priority. More... | |
__STATIC_INLINE uint32_t | NVIC_GetPriority (IRQn_Type IRQn) |
Get Interrupt Priority. More... | |
__STATIC_INLINE void | NVIC_SystemReset (void) |
System Reset. More... | |
#define | _BIT_SHIFT(IRQn) ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL) |
#define | _SHP_IDX(IRQn) ( (((((uint32_t)(int32_t)(IRQn)) & 0x0FUL)-8UL) >> 2UL) ) |
#define | _IP_IDX(IRQn) ( (((uint32_t)(int32_t)(IRQn)) >> 2UL) ) |
Functions that manage interrupts and exceptions via the NVIC.
Definition at line 619 of file core_cm0.h.
Definition at line 621 of file core_cm0.h.
Definition at line 620 of file core_cm0.h.
__STATIC_INLINE void NVIC_ClearPendingIRQ | ( | IRQn_Type | IRQn | ) |
Clear Pending Interrupt.
Clears the pending bit of an external interrupt.
[in] | IRQn | External interrupt number. Value cannot be negative. |
Definition at line 675 of file core_cm0.h.
__STATIC_INLINE void NVIC_DisableIRQ | ( | IRQn_Type | IRQn | ) |
Disable External Interrupt.
Disables a device-specific interrupt in the NVIC interrupt controller.
[in] | IRQn | External interrupt number. Value cannot be negative. |
Definition at line 640 of file core_cm0.h.
__STATIC_INLINE void NVIC_EnableIRQ | ( | IRQn_Type | IRQn | ) |
Enable External Interrupt.
Enables a device-specific interrupt in the NVIC interrupt controller.
[in] | IRQn | External interrupt number. Value cannot be negative. |
Definition at line 629 of file core_cm0.h.
__STATIC_INLINE uint32_t NVIC_GetPendingIRQ | ( | IRQn_Type | IRQn | ) |
Get Pending Interrupt.
Reads the pending register in the NVIC and returns the pending bit for the specified interrupt.
[in] | IRQn | Interrupt number. |
Definition at line 653 of file core_cm0.h.
__STATIC_INLINE uint32_t NVIC_GetPriority | ( | IRQn_Type | IRQn | ) |
Get Interrupt Priority.
Reads the priority of an interrupt. The interrupt number can be positive to specify an external (device specific) interrupt, or negative to specify an internal (core) interrupt.
[in] | IRQn | Interrupt number. |
Definition at line 712 of file core_cm0.h.
__STATIC_INLINE void NVIC_SetPendingIRQ | ( | IRQn_Type | IRQn | ) |
Set Pending Interrupt.
Sets the pending bit of an external interrupt.
[in] | IRQn | Interrupt number. Value cannot be negative. |
Definition at line 664 of file core_cm0.h.
__STATIC_INLINE void NVIC_SetPriority | ( | IRQn_Type | IRQn, |
uint32_t | priority | ||
) |
Set Interrupt Priority.
Sets the priority of an interrupt.
[in] | IRQn | Interrupt number. |
[in] | priority | Priority to set. |
Definition at line 688 of file core_cm0.h.
__STATIC_INLINE void NVIC_SystemReset | ( | void | ) |
System Reset.
Initiates a system reset request to reset the MCU.
Definition at line 730 of file core_cm0.h.