mn::basic_schedular Class Reference

#include <mn_schedular.hpp>

Static Public Member Functions

static int start ()
 
static void stop ()
 
static void yieldOtherCore (int core)
 
static uint32_t get_hz ()
 

Detailed Description

FreeRTOS schedular wrapper util

Member Function Documentation

◆ get_hz()

static uint32_t mn::basic_schedular::get_hz ( )
inlinestatic

◆ start()

int mn::basic_schedular::start ( )
static

Start the schedular

Note
On ESP32 only return NO_ERROR.
Returns
- NO_ERROR: No error - schedular started
  • ERR_MNTHREAD_UNKN: Error in FreeRTOS - schedular can't start

◆ stop()

void mn::basic_schedular::stop ( )
static

Stop the schedular

Note
On ESP32 not use Text from IDF-SDK: It is unlikely that the Xtensa port will get stopped. If required simply disable the tick interrupt here.

◆ yieldOtherCore()

static void mn::basic_schedular::yieldOtherCore ( int  core)
inlinestatic

The documentation for this class was generated from the following files: