|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Files | |
| file | atmel_sam_pmc.h |
| Power Management Controller (PMC) clock helpers for Atmel SAM devices. | |
Data Structures | |
| struct | atmel_sam_pmc_config |
| PMC clock configuration for a single peripheral clock. More... | |
Macros | |
| #define | SAM_DT_PMC_CONTROLLER DEVICE_DT_GET(DT_NODELABEL(pmc)) |
| Device pointer to the PMC clock controller. | |
| #define | SAM_DT_CLOCK_PMC_CFG(clock_id, node_id) |
| Initialize an atmel_sam_pmc_config 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 atmel_sam_pmc_config 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_id, | |
| node_id ) |
#include <zephyr/drivers/clock_control/atmel_sam_pmc.h>
Initialize an atmel_sam_pmc_config from a clock specifier.
| clock_id | 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/atmel_sam_pmc.h>
Initialize an array of atmel_sam_pmc_config 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/atmel_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/atmel_sam_pmc.h>
Equivalent to SAM_DT_CLOCKS_PMC_CFG() for a DT instance.
| inst | DT instance number. |
| #define SAM_DT_PMC_CONTROLLER DEVICE_DT_GET(DT_NODELABEL(pmc)) |
#include <zephyr/drivers/clock_control/atmel_sam_pmc.h>
Device pointer to the PMC clock controller.