Contiki-NG
|
Topics | |
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. | |
#define | NRFX_STATIC_ASSERT(expression) |
Macro for placing a compile time assertion. | |
#define | NRFX_IRQ_PRIORITY_SET(irq_number, priority) _NRFX_IRQ_PRIORITY_SET(irq_number, priority) |
Macro for setting the priority of a specific IRQ. | |
#define | NRFX_IRQ_ENABLE(irq_number) _NRFX_IRQ_ENABLE(irq_number) |
Macro for enabling a specific IRQ. | |
#define | NRFX_IRQ_IS_ENABLED(irq_number) _NRFX_IRQ_IS_ENABLED(irq_number) |
Macro for checking if a specific IRQ is enabled. | |
#define | NRFX_IRQ_DISABLE(irq_number) _NRFX_IRQ_DISABLE(irq_number) |
Macro for disabling a specific IRQ. | |
#define | NRFX_IRQ_PENDING_CLEAR(irq_number) _NVIC_ClearPendingIRQ(irq_number) |
Macro for clearing the pending status of a specific IRQ. | |
#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. | |
#define NRFX_ASSERT | ( | expression | ) |
Macro for placing a runtime assertion.
expression | Expression to evaluate. |
Definition at line 60 of file nrfx_glue.h.
#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.
[in] | p_data | Atomic memory pointer. |
[in] | value | Value of the second operand in the AND operation. |
Definition at line 160 of file nrfx_glue.h.
#define NRFX_IRQ_DISABLE | ( | irq_number | ) | _NRFX_IRQ_DISABLE(irq_number) |
Macro for disabling a specific IRQ.
irq_number | IRQ number. |
Definition at line 115 of file nrfx_glue.h.
#define NRFX_IRQ_ENABLE | ( | irq_number | ) | _NRFX_IRQ_ENABLE(irq_number) |
Macro for enabling a specific IRQ.
irq_number | IRQ number. |
Definition at line 90 of file nrfx_glue.h.
#define NRFX_IRQ_IS_ENABLED | ( | irq_number | ) | _NRFX_IRQ_IS_ENABLED(irq_number) |
Macro for checking if a specific IRQ is enabled.
irq_number | IRQ number. |
true | If the IRQ is enabled. |
false | Otherwise. |
Definition at line 104 of file nrfx_glue.h.
#define NRFX_IRQ_PENDING_CLEAR | ( | irq_number | ) | _NVIC_ClearPendingIRQ(irq_number) |
Macro for clearing the pending status of a specific IRQ.
irq_number | IRQ number. |
Definition at line 126 of file nrfx_glue.h.
#define NRFX_IRQ_PRIORITY_SET | ( | irq_number, | |
priority ) _NRFX_IRQ_PRIORITY_SET(irq_number, priority) |
Macro for setting the priority of a specific IRQ.
irq_number | IRQ number. |
priority | Priority to be set. |
Definition at line 77 of file nrfx_glue.h.
#define NRFX_STATIC_ASSERT | ( | expression | ) |
Macro for placing a compile time assertion.
expression | Expression to evaluate. |
Definition at line 67 of file nrfx_glue.h.