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
mchp_sam_pmc.h File Reference

Go to the source code of this file.

Data Structures

struct  sam_sckc_config
 
struct  sam_clk_cfg
 
struct  sam_pmc_cfg
 
struct  sam_pmc_data
 

Macros

#define SAM_DT_CLOCK_PMC_CFG(clock, node_id)
 
#define SAM_DT_INST_CLOCK_PMC_CFG(inst)
 
#define SAM_DT_CLOCKS_PMC_CFG(node_id)
 
#define SAM_DT_INST_CLOCKS_PMC_CFG(inst)
 

Macro Definition Documentation

◆ SAM_DT_CLOCK_PMC_CFG

#define SAM_DT_CLOCK_PMC_CFG ( clock,
node_id )
Value:
{ \
.clock_type = DT_CLOCKS_CELL_BY_IDX(node_id, \
clock, \
clock_type), \
.clock_id = DT_CLOCKS_CELL_BY_IDX(node_id, \
clock, \
peripheral_id) \
}
#define DT_CLOCKS_CELL_BY_IDX(node_id, idx, cell)
Get a clock specifier's cell value at an index.
Definition clocks.h:207

◆ SAM_DT_CLOCKS_PMC_CFG

#define SAM_DT_CLOCKS_PMC_CFG ( node_id)
Value:
{ \
LISTIFY(DT_NUM_CLOCKS(node_id), \
SAM_DT_CLOCK_PMC_CFG, (,), node_id) \
}
#define DT_NUM_CLOCKS(node_id)
Get the number of elements in a clocks property.
Definition clocks.h:107
#define SAM_DT_CLOCK_PMC_CFG(clock, node_id)
Definition mchp_sam_pmc.h:39

◆ SAM_DT_INST_CLOCK_PMC_CFG

#define SAM_DT_INST_CLOCK_PMC_CFG ( inst)
Value:
#define DT_DRV_INST(inst)
Node identifier for an instance of a DT_DRV_COMPAT compatible.
Definition devicetree.h:3909

◆ SAM_DT_INST_CLOCKS_PMC_CFG

#define SAM_DT_INST_CLOCKS_PMC_CFG ( inst)
Value:
#define SAM_DT_CLOCKS_PMC_CFG(node_id)
Definition mchp_sam_pmc.h:50