Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
mcu.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2020 Inria
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
18
19
#include "cpu.h"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
31
void
nrf5x_hw_set_isr
(
int
irqn,
void
(*addr)(
void
));
32
37
#define __HAL_DISABLE_INTERRUPTS(x) \
38
do { \
39
x = irq_disable(); \
40
} while (0);
41
42
#define __HAL_ENABLE_INTERRUPTS(x) \
43
do { \
44
if (x) { \
45
irq_restore(x); \
46
} \
47
else { \
48
irq_enable(); \
49
} \
50
} while (0);
52
53
#ifdef __cplusplus
54
}
55
#endif
nrf5x_hw_set_isr
void nrf5x_hw_set_isr(int irqn, void(*addr)(void))
Set nrf5x radio ISR callback.
Generated on Thu Sep 24 2026 04:06:03 by
1.13.2