mn_micros.cpp File Reference
#include <ctime>
#include "mn_config.hpp"
#include "mn_micros.hpp"
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <freertos/event_groups.h>
#include <esp_log.h>
#include <esp_err.h>
#include <nvs_flash.h>
#include <esp_system.h>
#include <esp_spi_flash.h>
#include <esp_attr.h>
#include <esp_partition.h>
#include <sys/time.h>

Namespaces

 mn
 

Functions

unsigned long mn::micros ()
 
unsigned long mn::millis ()
 
unsigned int mn::get_ticks ()
 
unsigned int mn::ticks_to_ms (unsigned int ticks) MN_DEPRECATED
 
unsigned int mn::ms_to_ticks (unsigned int ms) MN_DEPRECATED
 
unsigned int mn::seconds_to_ticks (unsigned int ms) MN_DEPRECATED
 
unsigned int mn::time_to_ms (const struct timeval *time) MN_DEPRECATED
 
unsigned int mn::time_to_ticks (const struct timeval *time) MN_DEPRECATED
 

Variables

portMUX_TYPE mn::microsMux = portMUX_INITIALIZER_UNLOCKED