Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ nrf_axon_platform_disable_interrupts()

uint32_t nrf_axon_platform_disable_interrupts ( )

disable/enable all interrupts These functions are used by the driver to perform light-weight synchronization. Interrupts will be disabled to examine and potentially update a state variable that is used across multiple threads and potentially in the interrupt context.

nrf_axon_platform_disable_interrupts() returns the interrupt state immediately prior to interrupts being disabled. The state is then passed as restore_value to nrf_axon_platform_restore_interrupts(restore_value), which restores the interrupt state.