Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Files

file  adi_max32_clock_control.h
 Clock control definitions for Analog Devices MAX32 devices.

Data Structures

struct  max32_perclk
 Peripheral clock descriptor for MAX32 devices. More...

Macros

#define ADI_MAX32_SYSCLK_PRESCALER   DT_PROP_OR(DT_NODELABEL(gcr), sysclk_prescaler, 1)
 System clock prescaler (defaults to 1 when not set in Devicetree).
#define ADI_MAX32_CLK_IPO_FREQ   DT_PROP(DT_NODELABEL(clk_ipo), clock_frequency)
 Internal primary oscillator (IPO) frequency, in Hz.
#define ADI_MAX32_CLK_ERFO_FREQ   DT_PROP_OR(DT_NODELABEL(clk_erfo), clock_frequency, 0)
 External RF oscillator (ERFO) frequency, in Hz (0 if absent).
#define ADI_MAX32_CLK_IBRO_FREQ   DT_PROP_OR(DT_NODELABEL(clk_ibro), clock_frequency, 0)
 Internal baud-rate oscillator (IBRO) frequency, in Hz (0 if absent).
#define ADI_MAX32_CLK_ISO_FREQ   DT_PROP_OR(DT_NODELABEL(clk_iso), clock_frequency, 0)
 Internal secondary oscillator (ISO) frequency, in Hz (0 if absent).
#define ADI_MAX32_CLK_INRO_FREQ   DT_PROP(DT_NODELABEL(clk_inro), clock_frequency)
 Internal nano-ring oscillator (INRO) frequency, in Hz.
#define ADI_MAX32_CLK_ERTCO_FREQ   DT_PROP(DT_NODELABEL(clk_ertco), clock_frequency)
 External RTC oscillator (ERTCO) frequency, in Hz.
#define ADI_MAX32_CLK_IPLL_FREQ   DT_PROP_OR(DT_NODELABEL(clk_ipll), clock_frequency, 0)
 Internal PLL (IPLL) frequency, in Hz (0 if absent).
#define ADI_MAX32_CLK_EBO_FREQ   DT_PROP_OR(DT_NODELABEL(clk_ebo), clock_frequency, 0)
 External BLE oscillator (EBO) frequency, in Hz (0 if absent).
#define ADI_MAX32_CLK_EXTCLK_FREQ   DT_PROP_OR(DT_NODELABEL(clk_extclk), clock_frequency, 0)
 External clock input frequency, in Hz (0 if absent).

Detailed Description

Macro Definition Documentation

◆ ADI_MAX32_CLK_EBO_FREQ

#define ADI_MAX32_CLK_EBO_FREQ   DT_PROP_OR(DT_NODELABEL(clk_ebo), clock_frequency, 0)

#include <zephyr/drivers/clock_control/adi_max32_clock_control.h>

External BLE oscillator (EBO) frequency, in Hz (0 if absent).

◆ ADI_MAX32_CLK_ERFO_FREQ

#define ADI_MAX32_CLK_ERFO_FREQ   DT_PROP_OR(DT_NODELABEL(clk_erfo), clock_frequency, 0)

#include <zephyr/drivers/clock_control/adi_max32_clock_control.h>

External RF oscillator (ERFO) frequency, in Hz (0 if absent).

◆ ADI_MAX32_CLK_ERTCO_FREQ

#define ADI_MAX32_CLK_ERTCO_FREQ   DT_PROP(DT_NODELABEL(clk_ertco), clock_frequency)

#include <zephyr/drivers/clock_control/adi_max32_clock_control.h>

External RTC oscillator (ERTCO) frequency, in Hz.

◆ ADI_MAX32_CLK_EXTCLK_FREQ

#define ADI_MAX32_CLK_EXTCLK_FREQ   DT_PROP_OR(DT_NODELABEL(clk_extclk), clock_frequency, 0)

#include <zephyr/drivers/clock_control/adi_max32_clock_control.h>

External clock input frequency, in Hz (0 if absent).

◆ ADI_MAX32_CLK_IBRO_FREQ

#define ADI_MAX32_CLK_IBRO_FREQ   DT_PROP_OR(DT_NODELABEL(clk_ibro), clock_frequency, 0)

#include <zephyr/drivers/clock_control/adi_max32_clock_control.h>

Internal baud-rate oscillator (IBRO) frequency, in Hz (0 if absent).

◆ ADI_MAX32_CLK_INRO_FREQ

#define ADI_MAX32_CLK_INRO_FREQ   DT_PROP(DT_NODELABEL(clk_inro), clock_frequency)

#include <zephyr/drivers/clock_control/adi_max32_clock_control.h>

Internal nano-ring oscillator (INRO) frequency, in Hz.

◆ ADI_MAX32_CLK_IPLL_FREQ

#define ADI_MAX32_CLK_IPLL_FREQ   DT_PROP_OR(DT_NODELABEL(clk_ipll), clock_frequency, 0)

#include <zephyr/drivers/clock_control/adi_max32_clock_control.h>

Internal PLL (IPLL) frequency, in Hz (0 if absent).

◆ ADI_MAX32_CLK_IPO_FREQ

#define ADI_MAX32_CLK_IPO_FREQ   DT_PROP(DT_NODELABEL(clk_ipo), clock_frequency)

#include <zephyr/drivers/clock_control/adi_max32_clock_control.h>

Internal primary oscillator (IPO) frequency, in Hz.

◆ ADI_MAX32_CLK_ISO_FREQ

#define ADI_MAX32_CLK_ISO_FREQ   DT_PROP_OR(DT_NODELABEL(clk_iso), clock_frequency, 0)

#include <zephyr/drivers/clock_control/adi_max32_clock_control.h>

Internal secondary oscillator (ISO) frequency, in Hz (0 if absent).

◆ ADI_MAX32_SYSCLK_PRESCALER

#define ADI_MAX32_SYSCLK_PRESCALER   DT_PROP_OR(DT_NODELABEL(gcr), sysclk_prescaler, 1)

#include <zephyr/drivers/clock_control/adi_max32_clock_control.h>

System clock prescaler (defaults to 1 when not set in Devicetree).