Contiki-NG
The nRF5340 and nRF52840 SoCs (using nRF MDK)

Modules

 ARM Handler
 
 Device drivers
 
 Net drivers
 
 OS drivers
 
 System drivers
 
 nRF52840
 
 nRF5340 Application Core
 
 nRF5340 Network Core
 

Files

file  nrf-conf.h
 Header with configuration defines common to all nrf platforms.
 
file  nrf-def.h
 Header with defines common to all nrf platforms.
 
file  nrfx_glue.h
 Header with nrfx stub defines.
 

Macros

#define NRFX_ASSERT(expression)
 Macro for placing a runtime assertion. More...
 
#define NRFX_STATIC_ASSERT(expression)
 Macro for placing a compile time assertion. More...
 
#define NRFX_IRQ_PRIORITY_SET(irq_number, priority)    _NRFX_IRQ_PRIORITY_SET(irq_number, priority)
 Macro for setting the priority of a specific IRQ. More...
 
#define NRFX_IRQ_ENABLE(irq_number)   _NRFX_IRQ_ENABLE(irq_number)
 Macro for enabling a specific IRQ. More...
 
#define NRFX_IRQ_IS_ENABLED(irq_number)   _NRFX_IRQ_IS_ENABLED(irq_number)
 Macro for checking if a specific IRQ is enabled. More...
 
#define NRFX_IRQ_DISABLE(irq_number)   _NRFX_IRQ_DISABLE(irq_number)
 Macro for disabling a specific IRQ. More...
 
#define NRFX_IRQ_PENDING_CLEAR(irq_number)   _NVIC_ClearPendingIRQ(irq_number)
 Macro for clearing the pending status of a specific IRQ. More...
 
#define NRFX_CRITICAL_SECTION_ENTER()   __disable_irq()
 Macro for entering into a critical section.
 
#define NRFX_CRITICAL_SECTION_EXIT()   __enable_irq()
 Macro for exiting from a critical section.
 
#define nrfx_atomic_t   uint32_t
 Atomic 32-bit unsigned type.
 
#define NRFX_ATOMIC_FETCH_AND(p_data, value)   nrfx_atomic_u32_fetch_and(p_data, value)
 Macro for running a bitwise AND operation on an atomic object and returning its previous value. More...
 

Detailed Description

Macro Definition Documentation

◆ NRFX_ASSERT

#define NRFX_ASSERT (   expression)

Macro for placing a runtime assertion.

Parameters
expressionExpression to evaluate.

Definition at line 60 of file nrfx_glue.h.

◆ NRFX_ATOMIC_FETCH_AND

#define NRFX_ATOMIC_FETCH_AND (   p_data,
  value 
)    nrfx_atomic_u32_fetch_and(p_data, value)

Macro for running a bitwise AND operation on an atomic object and returning its previous value.

Parameters
[in]p_dataAtomic memory pointer.
[in]valueValue of the second operand in the AND operation.
Returns
Previous value of the atomic object.

Definition at line 160 of file nrfx_glue.h.

◆ NRFX_IRQ_DISABLE

#define NRFX_IRQ_DISABLE (   irq_number)    _NRFX_IRQ_DISABLE(irq_number)

Macro for disabling a specific IRQ.

Parameters
irq_numberIRQ number.

Definition at line 115 of file nrfx_glue.h.

◆ NRFX_IRQ_ENABLE

#define NRFX_IRQ_ENABLE (   irq_number)    _NRFX_IRQ_ENABLE(irq_number)

Macro for enabling a specific IRQ.

Parameters
irq_numberIRQ number.

Definition at line 90 of file nrfx_glue.h.

◆ NRFX_IRQ_IS_ENABLED

#define NRFX_IRQ_IS_ENABLED (   irq_number)    _NRFX_IRQ_IS_ENABLED(irq_number)

Macro for checking if a specific IRQ is enabled.

Parameters
irq_numberIRQ number.
Return values
trueIf the IRQ is enabled.
falseOtherwise.

Definition at line 104 of file nrfx_glue.h.

◆ NRFX_IRQ_PENDING_CLEAR

#define NRFX_IRQ_PENDING_CLEAR (   irq_number)    _NVIC_ClearPendingIRQ(irq_number)

Macro for clearing the pending status of a specific IRQ.

Parameters
irq_numberIRQ number.

Definition at line 126 of file nrfx_glue.h.

◆ NRFX_IRQ_PRIORITY_SET

#define NRFX_IRQ_PRIORITY_SET (   irq_number,
  priority 
)     _NRFX_IRQ_PRIORITY_SET(irq_number, priority)

Macro for setting the priority of a specific IRQ.

Parameters
irq_numberIRQ number.
priorityPriority to be set.

Definition at line 77 of file nrfx_glue.h.

◆ NRFX_STATIC_ASSERT

#define NRFX_STATIC_ASSERT (   expression)

Macro for placing a compile time assertion.

Parameters
expressionExpression to evaluate.

Definition at line 67 of file nrfx_glue.h.