Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
renesas_rx_cgc.h File Reference

Go to the source code of this file.

Data Structures

struct  clock_control_rx_pclk_cfg
 
struct  clock_control_rx_subsys_cfg
 
struct  clock_control_rx_pll_cfg
 
struct  clock_control_rx_pll_data
 
struct  clock_control_rx_root_cfg
 

Macros

#define RX_CGC_PROP_HAS_STATUS_OKAY_OR(node_id, prop, default_value)
 
#define RX_CGC_CLK_SRC(node_id)
 

Macro Definition Documentation

◆ RX_CGC_CLK_SRC

#define RX_CGC_CLK_SRC ( node_id)
Value:
COND_CODE_1(DT_NODE_HAS_STATUS(node_id, okay), \
(UTIL_CAT(RX_CLOCKS_SOURCE_, DT_NODE_FULL_NAME_UPPER_TOKEN(node_id))), \
(RX_CLOCKS_CLOCK_DISABLED))
#define DT_NODE_HAS_STATUS(node_id, status)
Does a node identifier refer to a node with a status?
Definition devicetree.h:3667
#define DT_NODE_FULL_NAME_UPPER_TOKEN(node_id)
Like DT_NODE_FULL_NAME_TOKEN(), but uppercased.
Definition devicetree.h:623
#define COND_CODE_1(_flag, _if_1_code, _else_code)
Insert code depending on whether _flag expands to 1 or not.
Definition util_macro.h:203
#define UTIL_CAT(a,...)
Definition util_internal.h:104

◆ RX_CGC_PROP_HAS_STATUS_OKAY_OR

#define RX_CGC_PROP_HAS_STATUS_OKAY_OR ( node_id,
prop,
default_value )
Value:
COND_CODE_1(DT_NODE_HAS_STATUS(node_id, okay), (DT_PROP(node_id, prop)), (default_value))
#define DT_PROP(node_id, prop)
Get a devicetree property value.
Definition devicetree.h:762