no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
common.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef COMMON_H_
34#define COMMON_H_
35
36#include <stdint.h>
37#include "no_os_error.h"
38
39#if defined (__STDC__) && (__STDC_VERSION__ >= 199901L)
40#include <stdbool.h>
41#else
42typedef enum { false, true } bool;
43#endif
44
45struct no_os_clk {
46 const char *name;
47 uint32_t rate;
48};
49
50struct no_os_clk_hw {
51 struct no_os_clk *clk;
52};
53
54#endif
bool
Definition common.h:42
Error codes definition.
Definition no_os_clk.h:49
struct no_os_clk * clk
Definition common.h:51
Definition no_os_clk.h:58
uint32_t rate
Definition common.h:47
const char * name
Definition no_os_clk.h:61