no-OS
drivers
rf-transceiver
ad9361
common.h
Go to the documentation of this file.
1
/***************************************************************************/
39
#ifndef COMMON_H_
40
#define COMMON_H_
41
42
/******************************************************************************/
43
/***************************** Include Files **********************************/
44
/******************************************************************************/
45
#include <stdint.h>
46
#include "
no_os_error.h
"
47
48
/******************************************************************************/
49
/*************************** Types Declarations *******************************/
50
/******************************************************************************/
51
#if defined (__STDC__) && (__STDC_VERSION__ >= 199901L)
52
#include <stdbool.h>
53
#else
54
typedef
enum
{
false
,
true
}
bool
;
55
#endif
56
57
struct
no_os_clk
{
58
const
char
*
name
;
59
uint32_t
rate
;
60
};
61
62
struct
no_os_clk_hw
{
63
struct
no_os_clk
*
clk
;
64
};
65
66
#endif
no_os_clk_hw
Definition:
no_os_clk.h:61
no_os_clk
Definition:
no_os_clk.h:70
no_os_clk::name
const char * name
Definition:
no_os_clk.h:73
bool
bool
Definition:
common.h:54
no_os_error.h
Error codes definition.
no_os_clk_hw::clk
struct no_os_clk * clk
Definition:
common.h:63
no_os_clk::rate
uint32_t rate
Definition:
common.h:59
Generated by
1.8.17