Common nrfy module. More...
Macros | |
#define | NRFY_EVENT_TO_INT_BITPOS(event) ((((uint32_t)(event)) - 0x100) >> 2) |
Macro for calculating interrupt bit position associated with the specified event. | |
#define | NRFY_INT_BITPOS_TO_EVENT(bitpos) (((bitpos) << 2) + 0x100) |
Macro for converting interrupt bit position to the specified event. | |
#define | NRFY_EVENT_TO_INT_BITMASK(event) (1 << NRFY_EVENT_TO_INT_BITPOS(event)) |
Macro for calculating interrupt bitmask associated with the specified event. | |
#define | NRFY_IRQ_PRIORITY_SET(irq_number, priority) NRFX_IRQ_PRIORITY_SET(irq_number, priority) |
#define | NRFY_IRQ_ENABLE(irq_number) NRFX_IRQ_ENABLE(irq_number) |
#define | NRFY_IRQ_IS_ENABLED(irq_number) NRFX_IRQ_IS_ENABLED(irq_number) |
#define | NRFY_IRQ_DISABLE(irq_number) NRFX_IRQ_DISABLE(irq_number) |
#define | NRFY_IRQ_PENDING_SET(irq_number) NRFX_IRQ_PENDING_SET(irq_number) |
#define | NRFY_IRQ_PENDING_CLEAR(irq_number) NRFX_IRQ_PENDING_CLEAR(irq_number) |
#define | NRFY_IRQ_IS_PENDING(irq_number) NRFX_IRQ_IS_PENDING(irq_number) |
#define | NRFY_CRITICAL_SECTION_ENTER() NRFX_CRITICAL_SECTION_ENTER() |
#define | NRFY_CRITICAL_SECTION_EXIT() NRFX_CRITICAL_SECTION_EXIT() |
Common nrfy module.
#define NRFY_CRITICAL_SECTION_ENTER | ( | ) | NRFX_CRITICAL_SECTION_ENTER() |
#define NRFY_CRITICAL_SECTION_EXIT | ( | ) | NRFX_CRITICAL_SECTION_EXIT() |
#define NRFY_EVENT_TO_INT_BITMASK | ( | event | ) | (1 << NRFY_EVENT_TO_INT_BITPOS(event)) |
Macro for calculating interrupt bitmask associated with the specified event.
[in] | event | Event. |
#define NRFY_EVENT_TO_INT_BITPOS | ( | event | ) | ((((uint32_t)(event)) - 0x100) >> 2) |
Macro for calculating interrupt bit position associated with the specified event.
[in] | event | Event. |
#define NRFY_INT_BITPOS_TO_EVENT | ( | bitpos | ) | (((bitpos) << 2) + 0x100) |
Macro for converting interrupt bit position to the specified event.
[in] | bitpos | Interrupt bit position. |
#define NRFY_IRQ_DISABLE | ( | irq_number | ) | NRFX_IRQ_DISABLE(irq_number) |
#define NRFY_IRQ_ENABLE | ( | irq_number | ) | NRFX_IRQ_ENABLE(irq_number) |
#define NRFY_IRQ_IS_ENABLED | ( | irq_number | ) | NRFX_IRQ_IS_ENABLED(irq_number) |
#define NRFY_IRQ_IS_PENDING | ( | irq_number | ) | NRFX_IRQ_IS_PENDING(irq_number) |
#define NRFY_IRQ_PENDING_CLEAR | ( | irq_number | ) | NRFX_IRQ_PENDING_CLEAR(irq_number) |
#define NRFY_IRQ_PENDING_SET | ( | irq_number | ) | NRFX_IRQ_PENDING_SET(irq_number) |
#define NRFY_IRQ_PRIORITY_SET | ( | irq_number, | |
priority | |||
) | NRFX_IRQ_PRIORITY_SET(irq_number, priority) |