Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
mcu.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Inria
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#pragma once
10
22
#include "cpu.h"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
34
void
nrf5x_hw_set_isr
(
int
irqn,
void
(*addr)(
void
));
35
40
#define __HAL_DISABLE_INTERRUPTS(x) \
41
do { \
42
x = irq_disable(); \
43
} while (0);
44
45
#define __HAL_ENABLE_INTERRUPTS(x) \
46
do { \
47
if (x) { \
48
irq_restore(x); \
49
} \
50
else { \
51
irq_enable(); \
52
} \
53
} while (0);
56
#ifdef __cplusplus
57
}
58
#endif
nrf5x_hw_set_isr
void nrf5x_hw_set_isr(int irqn, void(*addr)(void))
Set nrf5x radio ISR callback.
Generated on Mon Oct 20 2025 13:02:26 by
1.9.1