Generic FreeRTOS peripheral control functions.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include <stdint.h>
#include "FreeRTOS.h"
#include "task.h"
#include "sysclk.h"
Functions | |
void | configure_timer_for_run_time_stats (void) |
uint32_t | get_run_time_counter_value (void) |
Variables | |
static uint32_t | clocks_per_10th_ms = 0UL |
void configure_timer_for_run_time_stats | ( | void | ) |
References clocks_per_10th_ms, and configCPU_CLOCK_HZ.
uint32_t get_run_time_counter_value | ( | void | ) |
|
static |
Referenced by configure_timer_for_run_time_stats(), and get_run_time_counter_value().