NVIC Initialization

Description

Initialize the NVIC Interrupt Handlers priority.

Set all interrupt priorities, except the Fault exceptions, to CORE_INTERRUPT_DEFAULT_PRIORITY value.

When the Device Init NVIC module is present and no configuration overwrites the em_core CORE_ATOMIC_METHOD define, the atomic method is automatically set to BASEPRI ( CORE_ATOMIC_METHOD_BASEPRI ).

Functions

sl_status_t sl_device_init_nvic (void)
Sets default priority for all configurable interrupts in NVIC.

Function Documentation

sl_device_init_nvic()

sl_status_t sl_device_init_nvic ( void )

Sets default priority for all configurable interrupts in NVIC.

Returns
Status code