Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
renesas_rz_cgc.h File Reference

Go to the source code of this file.

Macros

#define RZ_CGC_SUBCLK_DIV(subclk)
#define RZ_CGC_SUBCLK_MUL(subclk)
#define RZ_CGC_DIV_CKIO(n)
#define RZ_CGC_MUL_CPU0CLK(n)
#define RZ_CGC_MUL_CPU1CLK(n)

Macro Definition Documentation

◆ RZ_CGC_DIV_CKIO

#define RZ_CGC_DIV_CKIO ( n)
Value:
UTIL_CAT(BSP_CLOCKS_CKIO_ICLK_DIV, n)
#define UTIL_CAT(a,...)
Definition util_internal.h:104

◆ RZ_CGC_MUL_CPU0CLK

#define RZ_CGC_MUL_CPU0CLK ( n)
Value:
UTIL_CAT(BSP_CLOCKS_FSELCPU0_ICLK_MUL, n)

◆ RZ_CGC_MUL_CPU1CLK

#define RZ_CGC_MUL_CPU1CLK ( n)
Value:
UTIL_CAT(BSP_CLOCKS_FSELCPU1_ICLK_MUL, n)

◆ RZ_CGC_SUBCLK_DIV

#define RZ_CGC_SUBCLK_DIV ( subclk)
Value:
UTIL_CAT(RZ_CGC_DIV_, DT_NODE_FULL_NAME_UPPER_TOKEN(subclk)) \
(DT_PROP(subclk, div))
#define DT_NODE_FULL_NAME_UPPER_TOKEN(node_id)
Like DT_NODE_FULL_NAME_TOKEN(), but uppercased.
Definition devicetree.h:623
#define DT_PROP(node_id, prop)
Get a devicetree property value.
Definition devicetree.h:762

◆ RZ_CGC_SUBCLK_MUL

#define RZ_CGC_SUBCLK_MUL ( subclk)
Value:
UTIL_CAT(RZ_CGC_MUL_, DT_NODE_FULL_NAME_UPPER_TOKEN(subclk)) \
(DT_PROP(subclk, mul))