This file contains macros that should be implemented according to the needs of the host environment into which nrfx is integrated.
More...
|
| #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) |
| | Macro for setting the priority of a specific IRQ.
|
| |
| #define | NRFX_IRQ_ENABLE(irq_number) |
| | Macro for enabling a specific IRQ.
|
| |
| #define | NRFX_IRQ_IS_ENABLED(irq_number) |
| | Macro for checking if a specific IRQ is enabled.
|
| |
| #define | NRFX_IRQ_DISABLE(irq_number) |
| | Macro for disabling a specific IRQ.
|
| |
| #define | NRFX_IRQ_PENDING_SET(irq_number) |
| | Macro for setting a specific IRQ as pending.
|
| |
| #define | NRFX_IRQ_PENDING_CLEAR(irq_number) |
| | Macro for clearing the pending status of a specific IRQ.
|
| |
| #define | NRFX_IRQ_IS_PENDING(irq_number) |
| | Macro for checking the pending status of a specific IRQ.
|
| |
|
#define | NRFX_CRITICAL_SECTION_ENTER() |
| | Macro for entering into a critical section.
|
| |
|
#define | NRFX_CRITICAL_SECTION_EXIT() |
| | Macro for exiting from a critical section.
|
| |
|
#define | NRFX_COREDEP_DELAY_DWT_BASED 0 |
| | When set to a non-zero value, this macro specifies that nrfx_coredep_delay_us uses a precise DWT-based solution. A compilation error is generated if the DWT unit is not present in the SoC used.
|
| |
| #define | NRFX_DELAY_US(us_time) |
| | Macro for delaying the code execution for at least the specified time.
|
| |
|
#define | nrfx_atomic_t |
| | Atomic 32-bit unsigned type.
|
| |
| #define | NRFX_ATOMIC_FETCH_STORE(p_data, value) |
| | Macro for storing a value to an atomic object and returning its previous value.
|
| |
| #define | NRFX_ATOMIC_FETCH_OR(p_data, value) |
| | Macro for running a bitwise OR operation on an atomic object and returning its previous value.
|
| |
| #define | NRFX_ATOMIC_FETCH_AND(p_data, value) |
| | Macro for running a bitwise AND operation on an atomic object and returning its previous value.
|
| |
| #define | NRFX_ATOMIC_FETCH_XOR(p_data, value) |
| | Macro for running a bitwise XOR operation on an atomic object and returning its previous value.
|
| |
| #define | NRFX_ATOMIC_FETCH_ADD(p_data, value) |
| | Macro for running an addition operation on an atomic object and returning its previous value.
|
| |
| #define | NRFX_ATOMIC_FETCH_SUB(p_data, value) |
| | Macro for running a subtraction operation on an atomic object and returning its previous value.
|
| |
| #define | NRFX_ATOMIC_CAS(p_data, old_value, new_value) |
| | Macro for running compare and swap on an atomic object.
|
| |
| #define | NRFX_CLZ(value) |
| | Macro for counting leading zeros.
|
| |
| #define | NRFX_CTZ(value) |
| | Macro for counting trailing zeros.
|
| |
|
#define | NRFX_EVENT_READBACK_ENABLED 1 |
| | When set to a non-zero value, this macro specifies that inside HALs the event registers are read back after clearing, on devices that otherwise could defer the actual register modification.
|
| |
| #define | NRFY_CACHE_WB(p_buffer, size) |
| | Macro for writing back cache lines associated with the specified buffer.
|
| |
| #define | NRFY_CACHE_INV(p_buffer, size) |
| | Macro for invalidating cache lines associated with the specified buffer.
|
| |
| #define | NRFY_CACHE_WBINV(p_buffer, size) |
| | Macro for writing back and invalidating cache lines associated with the specified buffer.
|
| |
|
#define | NRFX_DPPI_CHANNELS_USED 0 |
| | Bitmask that defines DPPI channels that are reserved for use outside of the nrfx library.
|
| |
|
#define | NRFX_DPPI_GROUPS_USED 0 |
| | Bitmask that defines DPPI groups that are reserved for use outside of the nrfx library.
|
| |
|
#define | NRFX_PPI_CHANNELS_USED 0 |
| | Bitmask that defines PPI channels that are reserved for use outside of the nrfx library.
|
| |
|
#define | NRFX_PPI_GROUPS_USED 0 |
| | Bitmask that defines PPI groups that are reserved for use outside of the nrfx library.
|
| |
|
#define | NRFX_GPIOTE_CHANNELS_USED 0 |
| | Bitmask that defines GPIOTE channels that are reserved for use outside of the nrfx library.
|
| |
|
#define | NRFX_EGUS_USED 0 |
| | Bitmask that defines EGU instances that are reserved for use outside of the nrfx library.
|
| |
|
#define | NRFX_TIMERS_USED 0 |
| | Bitmask that defines TIMER instances that are reserved for use outside of the nrfx library.
|
| |
This file contains macros that should be implemented according to the needs of the host environment into which nrfx is integrated.