|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Files | |
| file | mchp_sam_pmc.h |
| Power Management Controller (PMC) clock helpers for Microchip SAM devices. | |
Data Structures | |
| struct | sam_sckc_config |
| Slow Clock Controller (SCKC) configuration. More... | |
| struct | sam_clk_cfg |
| PMC clock configuration for a single peripheral clock. More... | |
| struct | sam_pmc_cfg |
| PMC device constant configuration parameters. More... | |
| struct | sam_pmc_data |
| PMC device run-time data. More... | |
Macros | |
| #define | SAM_DT_CLOCK_PMC_CFG(clock, node_id) |
| Initialize a sam_clk_cfg from a clock specifier. | |
| #define | SAM_DT_INST_CLOCK_PMC_CFG(inst) |
| Equivalent to SAM_DT_CLOCK_PMC_CFG() for the first clock of a DT instance. | |
| #define | SAM_DT_CLOCKS_PMC_CFG(node_id) |
| Initialize an array of sam_clk_cfg for all clocks of a node. | |
| #define | SAM_DT_INST_CLOCKS_PMC_CFG(inst) |
| Equivalent to SAM_DT_CLOCKS_PMC_CFG() for a DT instance. | |
| #define SAM_DT_CLOCK_PMC_CFG | ( | clock, | |
| node_id ) |
#include <zephyr/drivers/clock_control/mchp_sam_pmc.h>
Initialize a sam_clk_cfg from a clock specifier.
| clock | Index of the clock specifier within the node's clocks property. |
| node_id | Devicetree node identifier owning the clocks property. |
| #define SAM_DT_CLOCKS_PMC_CFG | ( | node_id | ) |
#include <zephyr/drivers/clock_control/mchp_sam_pmc.h>
Initialize an array of sam_clk_cfg for all clocks of a node.
| node_id | Devicetree node identifier owning the clocks property. |
| #define SAM_DT_INST_CLOCK_PMC_CFG | ( | inst | ) |
#include <zephyr/drivers/clock_control/mchp_sam_pmc.h>
Equivalent to SAM_DT_CLOCK_PMC_CFG() for the first clock of a DT instance.
| inst | DT instance number. |
| #define SAM_DT_INST_CLOCKS_PMC_CFG | ( | inst | ) |
#include <zephyr/drivers/clock_control/mchp_sam_pmc.h>
Equivalent to SAM_DT_CLOCKS_PMC_CFG() for a DT instance.
| inst | DT instance number. |