V4.0.1 of the ARM CMSIS DSP libraries. Note that arm_bitreversal2.s, arm_cfft_f32.c and arm_rfft_fast_f32.c had to be removed. arm_bitreversal2.s will not assemble with the online tools. So, the fast f32 FFT functions are not yet available. All the other FFT functions are available.

Dependents:   MPU9150_Example fir_f32 fir_f32 MPU9150_nucleo_noni2cdev ... more

Embed: (wiki syntax)

« Back to documentation index

NVIC Functions

Functions that manage interrupts and exceptions via the NVIC. More...

Functions

__STATIC_INLINE void NVIC_EnableIRQ (IRQn_Type IRQn)
 Enable External Interrupt.
__STATIC_INLINE void NVIC_DisableIRQ (IRQn_Type IRQn)
 Disable External Interrupt.
__STATIC_INLINE uint32_t NVIC_GetPendingIRQ (IRQn_Type IRQn)
 Get Pending Interrupt.
__STATIC_INLINE void NVIC_SetPendingIRQ (IRQn_Type IRQn)
 Set Pending Interrupt.
__STATIC_INLINE void NVIC_ClearPendingIRQ (IRQn_Type IRQn)
 Clear Pending Interrupt.
__STATIC_INLINE void NVIC_SetPriority (IRQn_Type IRQn, uint32_t priority)
 Set Interrupt Priority.
__STATIC_INLINE uint32_t NVIC_GetPriority (IRQn_Type IRQn)
 Get Interrupt Priority.
__STATIC_INLINE void NVIC_SystemReset (void)
 System Reset.

Detailed Description

Functions that manage interrupts and exceptions via the NVIC.


Function Documentation

__STATIC_INLINE void NVIC_ClearPendingIRQ ( IRQn_Type  IRQn )

Clear Pending Interrupt.

The function clears the pending bit of an external interrupt.

Parameters:
[in]IRQnExternal interrupt number. Value cannot be negative.

Definition at line 587 of file core_cm0.h.

__STATIC_INLINE void NVIC_DisableIRQ ( IRQn_Type  IRQn )

Disable External Interrupt.

The function disables a device-specific interrupt in the NVIC interrupt controller.

Parameters:
[in]IRQnExternal interrupt number. Value cannot be negative.

Definition at line 547 of file core_cm0.h.

__STATIC_INLINE void NVIC_EnableIRQ ( IRQn_Type  IRQn )

Enable External Interrupt.

The function enables a device-specific interrupt in the NVIC interrupt controller.

Parameters:
[in]IRQnExternal interrupt number. Value cannot be negative.

Definition at line 535 of file core_cm0.h.

__STATIC_INLINE uint32_t NVIC_GetPendingIRQ ( IRQn_Type  IRQn )

Get Pending Interrupt.

The function reads the pending register in the NVIC and returns the pending bit for the specified interrupt.

Parameters:
[in]IRQnInterrupt number.
Returns:
0 Interrupt status is not pending.
1 Interrupt status is pending.

Definition at line 563 of file core_cm0.h.

__STATIC_INLINE uint32_t NVIC_GetPriority ( IRQn_Type  IRQn )

Get Interrupt Priority.

The function 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.

Parameters:
[in]IRQnInterrupt number.
Returns:
Interrupt Priority. Value is aligned automatically to the implemented priority bits of the microcontroller.

Definition at line 624 of file core_cm0.h.

__STATIC_INLINE void NVIC_SetPendingIRQ ( IRQn_Type  IRQn )

Set Pending Interrupt.

The function sets the pending bit of an external interrupt.

Parameters:
[in]IRQnInterrupt number. Value cannot be negative.

Definition at line 575 of file core_cm0.h.

__STATIC_INLINE void NVIC_SetPriority ( IRQn_Type  IRQn,
uint32_t  priority 
)

Set Interrupt Priority.

The function sets the priority of an interrupt.

Note:
The priority cannot be set for every core interrupt.
Parameters:
[in]IRQnInterrupt number.
[in]priorityPriority to set.

Definition at line 602 of file core_cm0.h.

__STATIC_INLINE void NVIC_SystemReset ( void   )

System Reset.

The function initiates a system reset request to reset the MCU.

Definition at line 638 of file core_cm0.h.