CardSight
0.1.0
C API reference for the CardSight firmware and application
Loading...
Searching...
No Matches
irq.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
9
10
#ifndef CARDSIGHT_IRQ_H
11
#define CARDSIGHT_IRQ_H
12
13
#include "FreeRTOS.h"
14
#include "task.h"
15
16
#include "arch/arch.h"
17
25
static
inline
int
in_interrupt(
void
)
26
{
27
return
cs_in_interrupt();
28
}
29
35
static
inline
void
os_crit_enter(
void
)
36
{
37
taskENTER_CRITICAL();
38
}
39
41
static
inline
void
os_crit_exit(
void
)
42
{
43
taskEXIT_CRITICAL();
44
}
45
46
#endif
/* CARDSIGHT_IRQ_H */
software
include
irq.h
Generated by
1.15.0