uwb-core DPL (Decawave Porting Layer) os abstraction layer
More...
uwb-core DPL (Decawave Porting Layer) os abstraction layer
- Author
- Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.fr
Definition in file dpl_os.h.
Go to the source code of this file.
◆ DPL_ASSERT_CRITICAL
◆ DPL_ENTER_CRITICAL
◆ DPL_EXIT_CRITICAL
◆ dpl_sr_t
CPU status register.
Definition at line 41 of file dpl_os.h.
◆ dpl_hw_enter_critical()
static uint32_t dpl_hw_enter_critical |
( |
void |
| ) |
|
|
inlinestatic |
Disable ISRs.
- Returns
- current isr context
Definition at line 48 of file dpl_os.h.
◆ dpl_hw_exit_critical()
static void dpl_hw_exit_critical |
( |
uint32_t |
ctx | ) |
|
|
inlinestatic |
Restores ISR context.
- Parameters
-
[in] | ctx | ISR context to restore. |
Definition at line 58 of file dpl_os.h.
◆ dpl_hw_is_in_critical()
static bool dpl_hw_is_in_critical |
( |
void |
| ) |
|
|
inlinestatic |
Check if is in critical section.
- Returns
- true, if in critical section, false otherwise
Definition at line 68 of file dpl_os.h.