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

Renesas R-Car generic access to clocks. More...

Go to the source code of this file.

Macros

#define RCAR_DT_INST_CLOCKS_CELL_BY_IDX(inst, idx)
 Helper similar to DT_INST_CLOCKS_CELL_BY_IDX.
#define RCAR_CLOCK_SUBSYS(clk)
 Get access to a specific clock.

Typedefs

typedef struct rcar_cpg_clk rcar_generic_clk_t
 Abstract the clock type used by the implementation.

Detailed Description

Renesas R-Car generic access to clocks.

Macro Definition Documentation

◆ RCAR_CLOCK_SUBSYS

#define RCAR_CLOCK_SUBSYS ( clk)
Value:
void * clock_control_subsys_t
clock_control_subsys_t is a type to identify a clock controller sub-system.
Definition clock_control.h:59

Get access to a specific clock.

The way to retrieve the clock data depends on the platform.

◆ RCAR_DT_INST_CLOCKS_CELL_BY_IDX

#define RCAR_DT_INST_CLOCKS_CELL_BY_IDX ( inst,
idx )
Value:
{ \
.module = DT_INST_CLOCKS_CELL_BY_IDX(inst, idx, module), \
.domain = DT_INST_CLOCKS_CELL_BY_IDX(inst, idx, domain) \
}
#define DT_INST_CLOCKS_CELL_BY_IDX(inst, idx, cell)
Get a DT_DRV_COMPAT instance's clock specifier's cell value at an index.
Definition clocks.h:327

Helper similar to DT_INST_CLOCKS_CELL_BY_IDX.

Automatically load the correct clock settings according to the target platform. The usage is identical to DT_INST_CLOCKS_CELL_BY_IDX.

Typedef Documentation

◆ rcar_generic_clk_t

Abstract the clock type used by the implementation.