Hardware Abstraction Layer for FreeRTOS
clock.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MIT */
2
/*
3
* Author: Andreas Werner <kernel@andy89.org>
4
* Date: 2016
5
*/
6
#ifndef CLOCK_H_
7
#define CLOCK_H_
8
#include <stdint.h>
9
#include <stdbool.h>
21
struct
clock;
25
struct
clock_generic
{
26
bool
init
;
27
};
32
struct
clock *
clock_init
();
38
int64_t
clock_getCPUSpeed
(
struct
clock *clk);
45
int64_t
clock_getPeripherySpeed
(
struct
clock *clk, uint32_t
id
);
51
int32_t
clock_deinit
(
struct
clock *clk);
53
#endif
clock_deinit
int32_t clock_deinit(struct clock *clk)
clock_getPeripherySpeed
int64_t clock_getPeripherySpeed(struct clock *clk, uint32_t id)
clock_generic::init
bool init
Definition:
clock.h:26
clock_init
struct clock * clock_init()
clock_getCPUSpeed
int64_t clock_getCPUSpeed(struct clock *clk)
clock_generic
Definition:
clock.h:25
driver
include
clock.h
Generated on Tue Aug 17 2021 15:19:23 for Hardware Abstraction Layer for FreeRTOS by
1.8.20