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

Files

file  mspm0_clock_control.h
 Clock control definitions for Texas Instruments MSPM0 devices.

Data Structures

struct  mspm0_sys_clock
 MSPM0 system clock subsystem selector. More...

Macros

#define MSPM0_CLOCK_SUBSYS_FN(index)
 Initialize a mspm0_sys_clock from a DT instance clock specifier.

Enumerations

enum  mspm0_clock_source {
  MSPM0_CLOCK_SRC_SYSOSC , MSPM0_CLOCK_SRC_LFCLK , MSPM0_CLOCK_SRC_LFXT , MSPM0_CLOCK_SRC_LFOSC ,
  MSPM0_CLOCK_SRC_LFCLK_IN , MSPM0_CLOCK_SRC_HFXT , MSPM0_CLOCK_SRC_HFCLK_IN , MSPM0_CLOCK_SRC_HFCLK ,
  MSPM0_CLOCK_SRC_HSCLK , MSPM0_CLOCK_SRC_SYSPLL
}
 clock_control_configure() source selector for the MSPM0 clock controller. More...

Detailed Description

Macro Definition Documentation

◆ MSPM0_CLOCK_SUBSYS_FN

#define MSPM0_CLOCK_SUBSYS_FN ( index)

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

Value:
{.clk = DT_INST_CLOCKS_CELL(index, clk)}
#define DT_INST_CLOCKS_CELL(inst, cell)
Equivalent to DT_INST_CLOCKS_CELL_BY_IDX(inst, 0, cell).
Definition clocks.h:345

Initialize a mspm0_sys_clock from a DT instance clock specifier.

Parameters
indexDT instance number.

Enumeration Type Documentation

◆ mspm0_clock_source

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

clock_control_configure() source selector for the MSPM0 clock controller.

Enumerator
MSPM0_CLOCK_SRC_SYSOSC 

Internal system oscillator.

MSPM0_CLOCK_SRC_LFCLK 

Low-frequency clock.

MSPM0_CLOCK_SRC_LFXT 

Low-frequency crystal.

MSPM0_CLOCK_SRC_LFOSC 

Internal low-frequency oscillator.

MSPM0_CLOCK_SRC_LFCLK_IN 

External low-frequency digital input.

MSPM0_CLOCK_SRC_HFXT 

High-frequency crystal.

MSPM0_CLOCK_SRC_HFCLK_IN 

External high-frequency digital input.

MSPM0_CLOCK_SRC_HFCLK 

High-frequency clock.

MSPM0_CLOCK_SRC_HSCLK 

High-speed clock.

MSPM0_CLOCK_SRC_SYSPLL 

System PLL.