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

Go to the source code of this file.

Data Structures

struct  atmel_sam_pmc_config
 

Macros

#define SAM_DT_PMC_CONTROLLER   DEVICE_DT_GET(DT_NODELABEL(pmc))
 
#define SAM_DT_CLOCK_PMC_CFG(clock_id, 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_id,
node_id )
Value:
{ \
.clock_type = DT_CLOCKS_CELL_BY_IDX(node_id, clock_id, clock_type), \
.peripheral_id = DT_CLOCKS_CELL_BY_IDX(node_id, clock_id, 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 SAM_DT_CLOCK_PMC_CFG(clock_id, node_id)
Definition atmel_sam_pmc.h:20
#define DT_NUM_CLOCKS(node_id)
Get the number of elements in a clocks property.
Definition clocks.h:107

◆ 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:3623

◆ SAM_DT_INST_CLOCKS_PMC_CFG

#define SAM_DT_INST_CLOCKS_PMC_CFG ( inst)
Value:
#define SAM_DT_CLOCKS_PMC_CFG(node_id)
Definition atmel_sam_pmc.h:28

◆ SAM_DT_PMC_CONTROLLER

#define SAM_DT_PMC_CONTROLLER   DEVICE_DT_GET(DT_NODELABEL(pmc))