Abstraction layer for RIOT adaption.  
More...
#include "cpu.h"
Go to the source code of this file.
 | 
| void  | nrf5x_hw_set_isr (int irqn, void(*addr)(void)) | 
|   | Set nrf5x radio ISR callback.  
  | 
|   | 
◆ __HAL_DISABLE_INTERRUPTS
      
        
          | #define __HAL_DISABLE_INTERRUPTS | 
          ( | 
           |           x | ) | 
           | 
        
      
 
Value:    do {                                                \
    } while (0);
MAYBE_INLINE unsigned irq_disable(void)
This function sets the IRQ disable bit in the status register.
 
 
Definition at line 40 of file mcu.h.
 
 
◆ __HAL_ENABLE_INTERRUPTS
      
        
          | #define __HAL_ENABLE_INTERRUPTS | 
          ( | 
           |           x | ) | 
           | 
        
      
 
Value:    do {                                                \
        if (x) {                                        \
            irq_restore(x);                             \
        }                                               \
        else {                                          \
            irq_enable();                              \
        }                                               \
    } while (0);
 
Definition at line 45 of file mcu.h.
 
 
◆ nrf5x_hw_set_isr()
      
        
          | void nrf5x_hw_set_isr  | 
          ( | 
          int |           irqn,  | 
        
        
           | 
           | 
          void(* |           addr )(void) ) | 
        
      
 
Set nrf5x radio ISR callback. 
- Parameters
 - 
  
    | [in] | irqn | IRQ number  | 
    | [in] | addr | the ISR callback  |