EVE 1.0
clk.h File Reference

Header file for the EVE clock management framework. More...

#include <stdbool.h>
#include <stdint.h>
#include <lib/dlist.h>
Include dependency graph for clk.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  clk_lock_t
 

Macros

#define CLK_PERSISTENT(x)   ((enum clk_level_t) ((x) | 0x80))
 
#define CLK_LOCK_INIT(l, clk)
 
#define CLK_LOCK(clk)   clk_lock(&clk)
 
#define CLK_UNLOCK(clk)   clk_unlock(&clk)
 
#define CLK_AUTO_LOCK(l)
 
#define DECLARE_CLK_LOCK(l, clk)   static struct clk_lock_t clk = CLK_LOCK_INIT(l, clk)
 

Enumerations

Functions

void clk_init (void)
 
void clk_relax (void)
 
void clk_lock (struct clk_lock_t *clk)
 
void clk_unlock (struct clk_lock_t *clk)
 

Detailed Description

Header file for the EVE clock management framework.

Author
DT, Jetro AS

Definition in file clk.h.