Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mchp_clock_sam_d5x_e5x.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Microchip Technology Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
14
15#ifndef INCLUDE_ZEPHYR_DRIVERS_CLOCK_CONTROL_MCHP_CLOCK_SAM_D5X_E5X_H_
16#define INCLUDE_ZEPHYR_DRIVERS_CLOCK_CONTROL_MCHP_CLOCK_SAM_D5X_E5X_H_
17
19
27
43
62
83
103
106 CLOCK_MCHP_RTC_SRC_ULP1K = OSC32KCTRL_RTCCTRL_RTCSEL_ULP1K,
107 CLOCK_MCHP_RTC_SRC_ULP32K = OSC32KCTRL_RTCCTRL_RTCSEL_ULP32K,
108 CLOCK_MCHP_RTC_SRC_XOSC1K = OSC32KCTRL_RTCCTRL_RTCSEL_XOSC1K,
109 CLOCK_MCHP_RTC_SRC_XOSC32K = OSC32KCTRL_RTCCTRL_RTCSEL_XOSC32K
110};
111
116
124
139
152
157
169
178
184
185#endif /* INCLUDE_ZEPHYR_DRIVERS_CLOCK_CONTROL_MCHP_CLOCK_SAM_D5X_E5X_H_ */
clock_mchp_gclk_src_clock
Gclk Generator source clocks.
Definition mchp_clock_sam_d5x_e5x.h:126
@ CLOCK_MCHP_GCLK_SRC_XOSC0
Definition mchp_clock_sam_d5x_e5x.h:127
@ CLOCK_MCHP_GCLK_SRC_FDPLL0
Definition mchp_clock_sam_d5x_e5x.h:134
@ CLOCK_MCHP_GCLK_SRC_OSCULP32K
Definition mchp_clock_sam_d5x_e5x.h:131
@ CLOCK_MCHP_GCLK_SRC_GCLKPIN
Definition mchp_clock_sam_d5x_e5x.h:129
@ CLOCK_MCHP_GCLK_SRC_GCLKGEN1
Definition mchp_clock_sam_d5x_e5x.h:130
@ CLOCK_MCHP_GCLK_SRC_DFLL
Definition mchp_clock_sam_d5x_e5x.h:133
@ CLOCK_MCHP_GCLK_SRC_FDPLL1
Definition mchp_clock_sam_d5x_e5x.h:135
@ CLOCK_MCHP_GCLK_SRC_XOSC32K
Definition mchp_clock_sam_d5x_e5x.h:132
@ CLOCK_MCHP_GCLK_SRC_MAX
Definition mchp_clock_sam_d5x_e5x.h:137
@ CLOCK_MCHP_GCLK_SRC_XOSC1
Definition mchp_clock_sam_d5x_e5x.h:128
clock_mchp_rtc_src_clock
RTC source clocks.
Definition mchp_clock_sam_d5x_e5x.h:105
@ CLOCK_MCHP_RTC_SRC_XOSC32K
Definition mchp_clock_sam_d5x_e5x.h:109
@ CLOCK_MCHP_RTC_SRC_ULP32K
Definition mchp_clock_sam_d5x_e5x.h:107
@ CLOCK_MCHP_RTC_SRC_XOSC1K
Definition mchp_clock_sam_d5x_e5x.h:108
@ CLOCK_MCHP_RTC_SRC_ULP1K
Definition mchp_clock_sam_d5x_e5x.h:106
clock_mchp_mclk_cpu_div
division ratio of mclk prescaler for CPU
Definition mchp_clock_sam_d5x_e5x.h:159
@ CLOCK_MCHP_MCLK_CPU_DIV_64
Definition mchp_clock_sam_d5x_e5x.h:166
@ CLOCK_MCHP_MCLK_CPU_DIV_1
Definition mchp_clock_sam_d5x_e5x.h:160
@ CLOCK_MCHP_MCLK_CPU_DIV_32
Definition mchp_clock_sam_d5x_e5x.h:165
@ CLOCK_MCHP_MCLK_CPU_DIV_2
Definition mchp_clock_sam_d5x_e5x.h:161
@ CLOCK_MCHP_MCLK_CPU_DIV_8
Definition mchp_clock_sam_d5x_e5x.h:163
@ CLOCK_MCHP_MCLK_CPU_DIV_4
Definition mchp_clock_sam_d5x_e5x.h:162
@ CLOCK_MCHP_MCLK_CPU_DIV_16
Definition mchp_clock_sam_d5x_e5x.h:164
@ CLOCK_MCHP_MCLK_CPU_DIV_128
Definition mchp_clock_sam_d5x_e5x.h:167
uint32_t * clock_mchp_rate_t
clock rate datatype
Definition mchp_clock_sam_d5x_e5x.h:183
clock_mchp_gclkgen
GCLK generator numbers.
Definition mchp_clock_sam_d5x_e5x.h:29
@ CLOCK_MCHP_GCLKGEN_GEN0
Definition mchp_clock_sam_d5x_e5x.h:30
@ CLOCK_MCHP_GCLKGEN_GEN5
Definition mchp_clock_sam_d5x_e5x.h:35
@ CLOCK_MCHP_GCLKGEN_GEN3
Definition mchp_clock_sam_d5x_e5x.h:33
@ CLOCK_MCHP_GCLKGEN_GEN10
Definition mchp_clock_sam_d5x_e5x.h:40
@ CLOCK_MCHP_GCLKGEN_GEN4
Definition mchp_clock_sam_d5x_e5x.h:34
@ CLOCK_MCHP_GCLKGEN_GEN7
Definition mchp_clock_sam_d5x_e5x.h:37
@ CLOCK_MCHP_GCLKGEN_GEN1
Definition mchp_clock_sam_d5x_e5x.h:31
@ CLOCK_MCHP_GCLKGEN_GEN11
Definition mchp_clock_sam_d5x_e5x.h:41
@ CLOCK_MCHP_GCLKGEN_GEN9
Definition mchp_clock_sam_d5x_e5x.h:39
@ CLOCK_MCHP_GCLKGEN_GEN6
Definition mchp_clock_sam_d5x_e5x.h:36
@ CLOCK_MCHP_GCLKGEN_GEN2
Definition mchp_clock_sam_d5x_e5x.h:32
@ CLOCK_MCHP_GCLKGEN_GEN8
Definition mchp_clock_sam_d5x_e5x.h:38
clock_mchp_fdpll_src_clock
FDPLL source clocks.
Definition mchp_clock_sam_d5x_e5x.h:64
@ CLOCK_MCHP_FDPLL_SRC_GCLK7
Definition mchp_clock_sam_d5x_e5x.h:72
@ CLOCK_MCHP_FDPLL_SRC_GCLK0
Definition mchp_clock_sam_d5x_e5x.h:65
@ CLOCK_MCHP_FDPLL_SRC_XOSC0
Definition mchp_clock_sam_d5x_e5x.h:78
@ CLOCK_MCHP_FDPLL_SRC_GCLK5
Definition mchp_clock_sam_d5x_e5x.h:70
@ CLOCK_MCHP_FDPLL_SRC_XOSC1
Definition mchp_clock_sam_d5x_e5x.h:79
@ CLOCK_MCHP_FDPLL_SRC_GCLK3
Definition mchp_clock_sam_d5x_e5x.h:68
@ CLOCK_MCHP_FDPLL_SRC_GCLK10
Definition mchp_clock_sam_d5x_e5x.h:75
@ CLOCK_MCHP_FDPLL_SRC_GCLK4
Definition mchp_clock_sam_d5x_e5x.h:69
@ CLOCK_MCHP_FDPLL_SRC_GCLK11
Definition mchp_clock_sam_d5x_e5x.h:76
@ CLOCK_MCHP_FDPLL_SRC_XOSC32K
Definition mchp_clock_sam_d5x_e5x.h:77
@ CLOCK_MCHP_FDPLL_SRC_GCLK2
Definition mchp_clock_sam_d5x_e5x.h:67
@ CLOCK_MCHP_FDPLL_SRC_MAX
Definition mchp_clock_sam_d5x_e5x.h:81
@ CLOCK_MCHP_FDPLL_SRC_GCLK8
Definition mchp_clock_sam_d5x_e5x.h:73
@ CLOCK_MCHP_FDPLL_SRC_GCLK9
Definition mchp_clock_sam_d5x_e5x.h:74
@ CLOCK_MCHP_FDPLL_SRC_GCLK6
Definition mchp_clock_sam_d5x_e5x.h:71
@ CLOCK_MCHP_FDPLL_SRC_GCLK1
Definition mchp_clock_sam_d5x_e5x.h:66
List clock subsystem IDs for sam_d5x_e5x family.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Definition mchp_clock_sam_d5x_e5x.h:44
bool on_demand_en
configure oscillator to ON, when a peripheral is requesting it as a source
Definition mchp_clock_sam_d5x_e5x.h:46
bool run_in_standby_en
configure oscillator to ON in standby sleep mode, unless on_demand_en is set
Definition mchp_clock_sam_d5x_e5x.h:49
uint32_t multiply_factor
Determines the ratio of the CLK_DFLL output frequency to the CLK_DFLL_REF input frequency (0 - 65535)
Definition mchp_clock_sam_d5x_e5x.h:60
bool closed_loop_en
Enable closed-loop operation.
Definition mchp_clock_sam_d5x_e5x.h:52
enum clock_mchp_gclkgen src
Reference source clock selection.
Definition mchp_clock_sam_d5x_e5x.h:55
Definition mchp_clock_sam_d5x_e5x.h:84
bool on_demand_en
configure oscillator to ON, when a peripheral is requesting it as a source
Definition mchp_clock_sam_d5x_e5x.h:86
uint32_t xosc_clock_divider
Set the XOSC clock division factor (0 - 2047)
Definition mchp_clock_sam_d5x_e5x.h:95
uint32_t divider_ratio_int
Set the integer part of the frequency multiplier.
Definition mchp_clock_sam_d5x_e5x.h:98
enum clock_mchp_fdpll_src_clock src
Reference source clock selection.
Definition mchp_clock_sam_d5x_e5x.h:92
uint32_t divider_ratio_frac
Set the fractional part of the frequency multiplier.
Definition mchp_clock_sam_d5x_e5x.h:101
bool run_in_standby_en
configure oscillator to ON in standby sleep mode, unless on_demand_en is set
Definition mchp_clock_sam_d5x_e5x.h:89
Definition mchp_clock_sam_d5x_e5x.h:140
bool run_in_standby_en
configure oscillator to ON in standby sleep mode, unless on_demand_en is set
Definition mchp_clock_sam_d5x_e5x.h:142
enum clock_mchp_gclk_src_clock src
Generator source clock selection.
Definition mchp_clock_sam_d5x_e5x.h:145
uint16_t div_factor
Represent a division value for the corresponding Generator.
Definition mchp_clock_sam_d5x_e5x.h:150
Definition mchp_clock_sam_d5x_e5x.h:153
enum clock_mchp_gclkgen src
gclk generator source of a peripheral clock
Definition mchp_clock_sam_d5x_e5x.h:155
MCLK configuration structure.
Definition mchp_clock_sam_d5x_e5x.h:174
enum clock_mchp_mclk_cpu_div division_factor
division ratio of mclk prescaler for CPU
Definition mchp_clock_sam_d5x_e5x.h:176
Definition mchp_clock_sam_d5x_e5x.h:112
enum clock_mchp_rtc_src_clock src
RTC source clock selection.
Definition mchp_clock_sam_d5x_e5x.h:114
Definition mchp_clock_sam_d5x_e5x.h:117
bool run_in_standby_en
configure oscillator to ON in standby sleep mode, unless on_demand_en is set
Definition mchp_clock_sam_d5x_e5x.h:122
bool on_demand_en
configure oscillator to ON, when a peripheral is requesting it as a source
Definition mchp_clock_sam_d5x_e5x.h:119
Definition mchp_clock_sam_d5x_e5x.h:20
bool run_in_standby_en
configure oscillator to ON in standby sleep mode, unless on_demand_en is set
Definition mchp_clock_sam_d5x_e5x.h:25
bool on_demand_en
configure oscillator to ON, when a peripheral is requesting it as a source
Definition mchp_clock_sam_d5x_e5x.h:22