Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ifx_clock_source_common.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Infineon Technologies AG,
3 * or an affiliate of Infineon Technologies AG.
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#define CLK_SOURCE_IHO
9#define CLK_SOURCE_PILO
10
11#define IFX_IHO 1
12#define IFX_IMO 2
13#define IFX_ECO 3
14#define IFX_EXT 4
15#define IFX_ALTHF 5
16#define IFX_ALTLF 6
17#define IFX_ILO 7
18#define IFX_PILO 8
19#define IFX_WCO 9
20#define IFX_MFO 10
21#define IFX_PATHMUX 11
22#define IFX_FLL 12
23#define IFX_PLL200 13
24#define IFX_PLL400 14
25#define IFX_ECO_PRESCALER 15
26#define IFX_LF 16
27#define IFX_MF 17
28#define IFX_HF 18
29#define IFX_PUMP 19
30#define IFX_BAK 20
31#define IFX_ALT_SYS_TICK 21
32#define IFX_PERI 22
33#define IFX_DPLL250_0 23
34#define IFX_DPLL250_1 24
35#define IFX_DPLL500 25
36
37#define IFX_CLK_HF_NO_DIVIDE 0
38#define IFX_CLK_HF_DIVIDE_BY_2 1
39#define IFX_CLK_HF_DIVIDE_BY_3 2
40#define IFX_CLK_HF_DIVIDE_BY_4 3
41#define IFX_CLK_HF_DIVIDE_BY_5 4
42#define IFX_CLK_HF_DIVIDE_BY_6 5
43#define IFX_CLK_HF_DIVIDE_BY_7 6
44#define IFX_CLK_HF_DIVIDE_BY_8 7
45#define IFX_CLK_HF_DIVIDE_BY_9 8
46#define IFX_CLK_HF_DIVIDE_BY_10 9
47#define IFX_CLK_HF_DIVIDE_BY_11 10
48#define IFX_CLK_HF_DIVIDE_BY_12 11
49#define IFX_CLK_HF_DIVIDE_BY_13 12
50#define IFX_CLK_HF_DIVIDE_BY_14 13
51#define IFX_CLK_HF_DIVIDE_BY_15 14
52#define IFX_CLK_HF_DIVIDE_BY_16 15
53#define IFX_CLK_HF_MAX_DIVIDER
54
55/* Target resource types for peripheral dividers */
56#define IFX_RSC_ADC 0
57#define IFX_RSC_ADCMIC 1
58#define IFX_RSC_BLESS 2
59#define IFX_RSC_CAN 3
60#define IFX_RSC_CLKPATH 4
61#define IFX_RSC_CLOCK 5
62#define IFX_RSC_CRYPTO 6
63#define IFX_RSC_DAC 7
64#define IFX_RSC_DMA 8
65#define IFX_RSC_DW 9
66#define IFX_RSC_ETH 10
67#define IFX_RSC_GPIO 11
68#define IFX_RSC_I2S 12
69#define IFX_RSC_I3C 13
70#define IFX_RSC_KEYSCAN 14
71#define IFX_RSC_LCD 15
72#define IFX_RSC_LIN 16
73#define IFX_RSC_LPCOMP 17
74#define IFX_RSC_LPTIMER 18
75#define IFX_RSC_OPAMP 19
76#define IFX_RSC_PDM 20
77#define IFX_RSC_PTC 21
78#define IFX_RSC_SMIF 22
79#define IFX_RSC_RTC 23
80#define IFX_RSC_SCB 24
81#define IFX_RSC_SDHC 25
82#define IFX_RSC_SDIODEV 26
83#define IFX_RSC_TCPWM 27
84#define IFX_RSC_TDM 28
85#define IFX_RSC_UDB 29
86#define IFX_RSC_USB 30
87#define IFX_RSC_INVALID 31