nrfx 4.5.0
Loading...
Searching...
No Matches
Common nrfy module

Common nrfy module. More...

Macros

#define NRFY_EVENT_TO_INT_BITPOS(event)
 Macro for calculating interrupt bit position associated with the specified event.
 
#define NRFY_INT_BITPOS_TO_EVENT(bitpos)
 Macro for converting interrupt bit position to the specified event.
 
#define NRFY_EVENT_TO_INT_BITMASK(event)
 Macro for calculating interrupt bitmask associated with the specified event.
 
#define NRFY_IRQ_PRIORITY_SET(irq_number, priority)
 
#define NRFY_IRQ_ENABLE(irq_number)
 
#define NRFY_IRQ_IS_ENABLED(irq_number)
 
#define NRFY_IRQ_DISABLE(irq_number)
 
#define NRFY_IRQ_PENDING_SET(irq_number)
 
#define NRFY_IRQ_PENDING_CLEAR(irq_number)
 
#define NRFY_IRQ_IS_PENDING(irq_number)
 
#define NRFY_CRITICAL_SECTION_ENTER()
 
#define NRFY_CRITICAL_SECTION_EXIT()
 

Detailed Description

Common nrfy module.

Note
Extended Hardware Access Layer (HALY) is deprecated.

Macro Definition Documentation

◆ NRFY_CRITICAL_SECTION_ENTER

#define NRFY_CRITICAL_SECTION_ENTER ( )
Value:
#define NRFX_CRITICAL_SECTION_ENTER()
Macro for entering into a critical section.
Definition nrfx_glue.h:129
See also
NRFX_CRITICAL_SECTION_ENTER

◆ NRFY_CRITICAL_SECTION_EXIT

#define NRFY_CRITICAL_SECTION_EXIT ( )
Value:
#define NRFX_CRITICAL_SECTION_EXIT()
Macro for exiting from a critical section.
Definition nrfx_glue.h:132
See also
NRFX_CRITICAL_SECTION_EXIT

◆ NRFY_EVENT_TO_INT_BITMASK

#define NRFY_EVENT_TO_INT_BITMASK ( event)
Value:
#define NRFY_EVENT_TO_INT_BITPOS(event)
Macro for calculating interrupt bit position associated with the specified event.
Definition nrfy_common.h:56

Macro for calculating interrupt bitmask associated with the specified event.

Parameters
[in]eventEvent.
Returns
Interrupt bitmask.

◆ NRFY_EVENT_TO_INT_BITPOS

#define NRFY_EVENT_TO_INT_BITPOS ( event)
Value:
((((uint32_t)(event)) - 0x100) >> 2)

Macro for calculating interrupt bit position associated with the specified event.

Parameters
[in]eventEvent.
Returns
Interrupt bit position.

◆ NRFY_INT_BITPOS_TO_EVENT

#define NRFY_INT_BITPOS_TO_EVENT ( bitpos)
Value:
(((bitpos) << 2) + 0x100)

Macro for converting interrupt bit position to the specified event.

Parameters
[in]bitposInterrupt bit position.
Returns
Event.

◆ NRFY_IRQ_DISABLE

#define NRFY_IRQ_DISABLE ( irq_number)
Value:
NRFX_IRQ_DISABLE(irq_number)
#define NRFX_IRQ_DISABLE(irq_number)
Macro for disabling a specific IRQ.
Definition nrfx_glue.h:104
See also
NRFX_IRQ_DISABLE

◆ NRFY_IRQ_ENABLE

#define NRFY_IRQ_ENABLE ( irq_number)
Value:
NRFX_IRQ_ENABLE(irq_number)
#define NRFX_IRQ_ENABLE(irq_number)
Macro for enabling a specific IRQ.
Definition nrfx_glue.h:87
See also
NRFX_IRQ_ENABLE

◆ NRFY_IRQ_IS_ENABLED

#define NRFY_IRQ_IS_ENABLED ( irq_number)
Value:
#define NRFX_IRQ_IS_ENABLED(irq_number)
Macro for checking if a specific IRQ is enabled.
Definition nrfx_glue.h:97
See also
NRFX_IRQ_IS_ENABLED

◆ NRFY_IRQ_IS_PENDING

#define NRFY_IRQ_IS_PENDING ( irq_number)
Value:
#define NRFX_IRQ_IS_PENDING(irq_number)
Macro for checking the pending status of a specific IRQ.
Definition nrfx_glue.h:126
See also
NRFX_IRQ_IS_PENDING

◆ NRFY_IRQ_PENDING_CLEAR

#define NRFY_IRQ_PENDING_CLEAR ( irq_number)
Value:
#define NRFX_IRQ_PENDING_CLEAR(irq_number)
Macro for clearing the pending status of a specific IRQ.
Definition nrfx_glue.h:118
See also
NRFX_IRQ_PENDING_CLEAR

◆ NRFY_IRQ_PENDING_SET

#define NRFY_IRQ_PENDING_SET ( irq_number)
Value:
#define NRFX_IRQ_PENDING_SET(irq_number)
Macro for setting a specific IRQ as pending.
Definition nrfx_glue.h:111
See also
NRFX_IRQ_PENDING_SET

◆ NRFY_IRQ_PRIORITY_SET

#define NRFY_IRQ_PRIORITY_SET ( irq_number,
priority )
Value:
NRFX_IRQ_PRIORITY_SET(irq_number, priority)
#define NRFX_IRQ_PRIORITY_SET(irq_number, priority)
Macro for setting the priority of a specific IRQ.
Definition nrfx_glue.h:80
See also
NRFX_IRQ_PRIORITY_SET