Tenok
A Linux-like Real-Time Operating System for Robotics and Internet of Things
Functions
preempt.h File Reference

Go to the source code of this file.

Functions

void __preempt_disable (void)
 
void __preempt_enable (void)
 
void preempt_count_inc (void)
 
void preempt_count_dec (void)
 
int preempt_count (void)
 
void preempt_count_set (uint32_t count)
 
void preempt_disable (void)
 Disable all interrupts. More...
 
void preempt_enable (void)
 Enable all interrupts. More...
 

Function Documentation

◆ preempt_disable()

void preempt_disable ( void  )

Disable all interrupts.

Parameters
None
Return values
None

◆ preempt_enable()

void preempt_enable ( void  )

Enable all interrupts.

Parameters
None
Return values
None