mn_schedular.hpp
Go to the documentation of this file.
1 
20 #ifndef _MINLIB_VECTOR_SCHEDULAR_H_
21 #define _MINLIB_VECTOR_SCHEDULAR_H_
22 
23 #include "mn_config.hpp"
24 #include "mn_error.hpp"
25 
26 
27 namespace mn {
33  public:
40  static int start();
45  static void stop();
46 
47  static void yieldOtherCore(int core) {
48  vPortYieldOtherCore(core);
49  }
50  static uint32_t get_hz() {
51  return (uint32_t)configTICK_RATE_HZ;
52  }
53  };
54 
56 }
57 #endif
Definition: mn_schedular.hpp:32
static void yieldOtherCore(int core)
Definition: mn_schedular.hpp:47
static void stop()
Definition: mn_schedular.cpp:28
static int start()
Definition: mn_schedular.cpp:25
static uint32_t get_hz()
Definition: mn_schedular.hpp:50
A list of all error codes in this lib. This file is part of the Mini Thread Library (https://github....
Definition: mn_allocator_typetraits.hpp:25