1# Copyright (c) 2023 STMicroelectronics
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  STM32F3 Reset and Clock controller node.
6  Adds the STM32F3 ADC prescaler to the standard generic STM32 RCC.
7  For more description confere st,stm32-rcc.yaml
8
9compatible: "st,stm32f3-rcc"
10
11include: st,stm32-rcc.yaml
12
13properties:
14  adc12-prescaler:
15    type: int
16    enum:
17      - 0 # Synchronous mode
18      - 1 # not divided
19      - 2
20      - 4
21      - 6
22      - 8
23      - 10
24      - 12
25      - 16
26      - 32
27      - 64
28      - 128
29      - 256
30    description: |
31        ADC 1 and 2 prescaler
32        - 0: Disables the clock so the ADC can use AHB clock (synchronous mode)
33        - Other values n: The ADC can use the PLL clock divided by n
34        On STM32F37x, only 2/4/6/8 are allowed.
35
36  adc34-prescaler:
37    type: int
38    enum:
39      - 0 # Synchronous mode
40      - 1 # not divided
41      - 2
42      - 4
43      - 6
44      - 8
45      - 10
46      - 12
47      - 16
48      - 32
49      - 64
50      - 128
51      - 256
52    description: |
53        ADC 3 and 4 prescaler
54        - 0: Disables the clock so the ADC can use AHB clock (synchronous mode)
55        - Other values n: The ADC can use the PLL clock divided by n
56        Check RefMan for availability.
57