Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mchp_clock_pic32cm_jh.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_PIC32CM_JH_H_
16#define INCLUDE_ZEPHYR_DRIVERS_CLOCK_CONTROL_MCHP_CLOCK_PIC32CM_JH_H_
17
19
27
47
58
75
95
98 CLOCK_MCHP_RTC_SRC_ULP1K = OSC32KCTRL_RTCCTRL_RTCSEL_ULP1K,
99 CLOCK_MCHP_RTC_SRC_ULP32K = OSC32KCTRL_RTCCTRL_RTCSEL_ULP32K,
100 CLOCK_MCHP_RTC_SRC_OSC1K = OSC32KCTRL_RTCCTRL_RTCSEL_OSC1K,
101 CLOCK_MCHP_RTC_SRC_OSC32K = OSC32KCTRL_RTCCTRL_RTCSEL_OSC32K,
102 CLOCK_MCHP_RTC_SRC_XOSC1K = OSC32KCTRL_RTCCTRL_RTCSEL_XOSC1K,
103 CLOCK_MCHP_RTC_SRC_XOSC32K = OSC32KCTRL_RTCCTRL_RTCSEL_XOSC32K
104};
105
110
118
126
140
153
166
171
183
192
198
199#endif /* INCLUDE_ZEPHYR_DRIVERS_CLOCK_CONTROL_MCHP_CLOCK_PIC32CM_JH_H_ */
clock_mchp_gclk_src_clock
Gclk Generator source clocks.
Definition mchp_clock_pic32cm_jh.h:128
@ CLOCK_MCHP_GCLK_SRC_XOSC
Definition mchp_clock_pic32cm_jh.h:129
@ CLOCK_MCHP_GCLK_SRC_OSC48M
Definition mchp_clock_pic32cm_jh.h:135
@ CLOCK_MCHP_GCLK_SRC_OSC32K
Definition mchp_clock_pic32cm_jh.h:133
@ CLOCK_MCHP_GCLK_SRC_OSCULP32K
Definition mchp_clock_pic32cm_jh.h:132
@ CLOCK_MCHP_GCLK_SRC_GCLKPIN
Definition mchp_clock_pic32cm_jh.h:130
@ CLOCK_MCHP_GCLK_SRC_FDPLL
Definition mchp_clock_pic32cm_jh.h:136
@ CLOCK_MCHP_GCLK_SRC_GCLKGEN1
Definition mchp_clock_pic32cm_jh.h:131
@ CLOCK_MCHP_GCLK_SRC_XOSC32K
Definition mchp_clock_pic32cm_jh.h:134
@ CLOCK_MCHP_GCLK_SRC_MAX
Definition mchp_clock_pic32cm_jh.h:138
clock_mchp_rtc_src_clock
RTC source clocks.
Definition mchp_clock_pic32cm_jh.h:97
@ CLOCK_MCHP_RTC_SRC_XOSC32K
Definition mchp_clock_pic32cm_jh.h:103
@ CLOCK_MCHP_RTC_SRC_ULP32K
Definition mchp_clock_pic32cm_jh.h:99
@ CLOCK_MCHP_RTC_SRC_OSC32K
Definition mchp_clock_pic32cm_jh.h:101
@ CLOCK_MCHP_RTC_SRC_OSC1K
Definition mchp_clock_pic32cm_jh.h:100
@ CLOCK_MCHP_RTC_SRC_XOSC1K
Definition mchp_clock_pic32cm_jh.h:102
@ CLOCK_MCHP_RTC_SRC_ULP1K
Definition mchp_clock_pic32cm_jh.h:98
clock_mchp_osc48m_divider_freq
Control the oscillator frequency range by adjusting the division ratio.
Definition mchp_clock_pic32cm_jh.h:29
@ CLOCK_MCHP_DIVIDER_5_33_MHZ
Definition mchp_clock_pic32cm_jh.h:38
@ CLOCK_MCHP_DIVIDER_6_MHZ
Definition mchp_clock_pic32cm_jh.h:37
@ CLOCK_MCHP_DIVIDER_3_MHZ
Definition mchp_clock_pic32cm_jh.h:45
@ CLOCK_MCHP_DIVIDER_24_MHZ
Definition mchp_clock_pic32cm_jh.h:31
@ CLOCK_MCHP_DIVIDER_4_8_MHZ
Definition mchp_clock_pic32cm_jh.h:39
@ CLOCK_MCHP_DIVIDER_3_69_MHZ
Definition mchp_clock_pic32cm_jh.h:42
@ CLOCK_MCHP_DIVIDER_12_MHZ
Definition mchp_clock_pic32cm_jh.h:33
@ CLOCK_MCHP_DIVIDER_6_86_MHZ
Definition mchp_clock_pic32cm_jh.h:36
@ CLOCK_MCHP_DIVIDER_8_MHZ
Definition mchp_clock_pic32cm_jh.h:35
@ CLOCK_MCHP_DIVIDER_4_MHZ
Definition mchp_clock_pic32cm_jh.h:41
@ CLOCK_MCHP_DIVIDER_3_43_MHZ
Definition mchp_clock_pic32cm_jh.h:43
@ CLOCK_MCHP_DIVIDER_4_36_MHZ
Definition mchp_clock_pic32cm_jh.h:40
@ CLOCK_MCHP_DIVIDER_48_MHZ
Definition mchp_clock_pic32cm_jh.h:30
@ CLOCK_MCHP_DIVIDER_16_MHZ
Definition mchp_clock_pic32cm_jh.h:32
@ CLOCK_MCHP_DIVIDER_3_2_MHZ
Definition mchp_clock_pic32cm_jh.h:44
@ CLOCK_MCHP_DIVIDER_9_6_MHZ
Definition mchp_clock_pic32cm_jh.h:34
clock_mchp_mclk_cpu_div
division ratio of mclk prescaler for CPU
Definition mchp_clock_pic32cm_jh.h:173
@ CLOCK_MCHP_MCLK_CPU_DIV_64
Definition mchp_clock_pic32cm_jh.h:180
@ CLOCK_MCHP_MCLK_CPU_DIV_1
Definition mchp_clock_pic32cm_jh.h:174
@ CLOCK_MCHP_MCLK_CPU_DIV_32
Definition mchp_clock_pic32cm_jh.h:179
@ CLOCK_MCHP_MCLK_CPU_DIV_2
Definition mchp_clock_pic32cm_jh.h:175
@ CLOCK_MCHP_MCLK_CPU_DIV_8
Definition mchp_clock_pic32cm_jh.h:177
@ CLOCK_MCHP_MCLK_CPU_DIV_4
Definition mchp_clock_pic32cm_jh.h:176
@ CLOCK_MCHP_MCLK_CPU_DIV_16
Definition mchp_clock_pic32cm_jh.h:178
@ CLOCK_MCHP_MCLK_CPU_DIV_128
Definition mchp_clock_pic32cm_jh.h:181
uint32_t * clock_mchp_rate_t
clock rate datatype
Definition mchp_clock_pic32cm_jh.h:197
clock_mchp_gclkgen
GCLK generator numbers.
Definition mchp_clock_pic32cm_jh.h:155
@ CLOCK_MCHP_GCLKGEN_GEN0
Definition mchp_clock_pic32cm_jh.h:156
@ CLOCK_MCHP_GCLKGEN_GEN5
Definition mchp_clock_pic32cm_jh.h:161
@ CLOCK_MCHP_GCLKGEN_GEN3
Definition mchp_clock_pic32cm_jh.h:159
@ CLOCK_MCHP_GCLKGEN_GEN4
Definition mchp_clock_pic32cm_jh.h:160
@ CLOCK_MCHP_GCLKGEN_GEN7
Definition mchp_clock_pic32cm_jh.h:163
@ CLOCK_MCHP_GCLKGEN_GEN1
Definition mchp_clock_pic32cm_jh.h:157
@ CLOCK_MCHP_GCLKGEN_GEN6
Definition mchp_clock_pic32cm_jh.h:162
@ CLOCK_MCHP_GCLKGEN_GEN2
Definition mchp_clock_pic32cm_jh.h:158
@ CLOCK_MCHP_GCLKGEN_GEN8
Definition mchp_clock_pic32cm_jh.h:164
clock_mchp_fdpll_src_clock
FDPLL source clocks.
Definition mchp_clock_pic32cm_jh.h:60
@ CLOCK_MCHP_FDPLL_SRC_GCLK7
Definition mchp_clock_pic32cm_jh.h:68
@ CLOCK_MCHP_FDPLL_SRC_GCLK0
Definition mchp_clock_pic32cm_jh.h:61
@ CLOCK_MCHP_FDPLL_SRC_GCLK5
Definition mchp_clock_pic32cm_jh.h:66
@ CLOCK_MCHP_FDPLL_SRC_GCLK3
Definition mchp_clock_pic32cm_jh.h:64
@ CLOCK_MCHP_FDPLL_SRC_XOSC
Definition mchp_clock_pic32cm_jh.h:71
@ CLOCK_MCHP_FDPLL_SRC_GCLK4
Definition mchp_clock_pic32cm_jh.h:65
@ CLOCK_MCHP_FDPLL_SRC_XOSC32K
Definition mchp_clock_pic32cm_jh.h:70
@ CLOCK_MCHP_FDPLL_SRC_GCLK2
Definition mchp_clock_pic32cm_jh.h:63
@ CLOCK_MCHP_FDPLL_SRC_MAX
Definition mchp_clock_pic32cm_jh.h:73
@ CLOCK_MCHP_FDPLL_SRC_GCLK8
Definition mchp_clock_pic32cm_jh.h:69
@ CLOCK_MCHP_FDPLL_SRC_GCLK6
Definition mchp_clock_pic32cm_jh.h:67
@ CLOCK_MCHP_FDPLL_SRC_GCLK1
Definition mchp_clock_pic32cm_jh.h:62
clock_mchp_gclk_src_clock
Gclk Generator source clocks.
Definition mchp_clock_sam_d5x_e5x.h:126
clock_mchp_rtc_src_clock
RTC source clocks.
Definition mchp_clock_sam_d5x_e5x.h:105
clock_mchp_mclk_cpu_div
division ratio of mclk prescaler for CPU
Definition mchp_clock_sam_d5x_e5x.h:159
clock_mchp_gclkgen
GCLK generator numbers.
Definition mchp_clock_sam_d5x_e5x.h:29
clock_mchp_fdpll_src_clock
FDPLL source clocks.
Definition mchp_clock_sam_d5x_e5x.h:64
List clock subsystem IDs for pic32cm_jh family.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Definition mchp_clock_pic32cm_jh.h:76
bool on_demand_en
configure oscillator to ON, when a peripheral is requesting it as a source
Definition mchp_clock_pic32cm_jh.h:78
uint32_t xosc_clock_divider
Set the XOSC clock division factor (0 - 2047).
Definition mchp_clock_pic32cm_jh.h:90
uint32_t divider_ratio_int
Set the integer part of the frequency multiplier.
Definition mchp_clock_pic32cm_jh.h:87
enum clock_mchp_fdpll_src_clock src
Reference source clock selection.
Definition mchp_clock_pic32cm_jh.h:93
uint32_t divider_ratio_frac
Set the fractional part of the frequency multiplier.
Definition mchp_clock_pic32cm_jh.h:84
bool run_in_standby_en
configure oscillator to ON in standby sleep mode, unless on_demand_en is set
Definition mchp_clock_pic32cm_jh.h:81
Definition mchp_clock_pic32cm_jh.h:141
bool run_in_standby_en
configure oscillator to ON in standby sleep mode, unless on_demand_en is set
Definition mchp_clock_pic32cm_jh.h:148
enum clock_mchp_gclk_src_clock src
Generator source clock selection.
Definition mchp_clock_pic32cm_jh.h:151
uint16_t div_factor
Represent a division value for the corresponding Generator.
Definition mchp_clock_pic32cm_jh.h:145
Definition mchp_clock_pic32cm_jh.h:167
enum clock_mchp_gclkgen src
gclk generator source of a peripheral clock
Definition mchp_clock_pic32cm_jh.h:169
MCLK configuration structure.
Definition mchp_clock_pic32cm_jh.h:188
enum clock_mchp_mclk_cpu_div division_factor
division ratio of mclk prescaler for CPU
Definition mchp_clock_pic32cm_jh.h:190
Definition mchp_clock_pic32cm_jh.h:119
bool run_in_standby_en
configure oscillator to ON in standby sleep mode, unless on_demand_en is set
Definition mchp_clock_pic32cm_jh.h:124
bool on_demand_en
configure oscillator to ON, when a peripheral is requesting it as a source
Definition mchp_clock_pic32cm_jh.h:121
Definition mchp_clock_pic32cm_jh.h:48
bool on_demand_en
configure oscillator to ON, when a peripheral is requesting it as a source
Definition mchp_clock_pic32cm_jh.h:50
enum clock_mchp_osc48m_divider_freq post_divider_freq
Control the oscillator frequency range by adjusting the division ratio.
Definition mchp_clock_pic32cm_jh.h:56
bool run_in_standby_en
configure oscillator to ON in standby sleep mode, unless on_demand_en is set
Definition mchp_clock_pic32cm_jh.h:53
Definition mchp_clock_pic32cm_jh.h:106
enum clock_mchp_rtc_src_clock src
RTC source clock selection.
Definition mchp_clock_pic32cm_jh.h:108
Definition mchp_clock_pic32cm_jh.h:111
bool run_in_standby_en
configure oscillator to ON in standby sleep mode, unless on_demand_en is set
Definition mchp_clock_pic32cm_jh.h:116
bool on_demand_en
configure oscillator to ON, when a peripheral is requesting it as a source
Definition mchp_clock_pic32cm_jh.h:113
Definition mchp_clock_pic32cm_jh.h:20
bool run_in_standby_en
configure oscillator to ON in standby sleep mode, unless on_demand_en is set
Definition mchp_clock_pic32cm_jh.h:25
bool on_demand_en
configure oscillator to ON, when a peripheral is requesting it as a source
Definition mchp_clock_pic32cm_jh.h:22