<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>RCC_CFGR_PPRE2 is defined twice, on lines 240 and 241. Based on
      the other defines, I think 241 should have been
      RCC_CFGR_PPRE2_MSK. Is that what you're referring to? Thanks!</p>
    <div class="moz-cite-prefix">On 19.10.22 14:48, Joel Sherrill wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAF9ehCUPBTqVNu-HvAy7Tjgki=mSc+xAZ+3+j=QzhwVaAjQYAw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">I don't see the name defined twice. Are they
        functionally equivalent?</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, Oct 19, 2022, 5:57 AM
          Matthew Joyce <<a
            href="mailto:matthew.joyce@embedded-brains.de"
            moz-do-not-send="true" class="moz-txt-link-freetext">matthew.joyce@embedded-brains.de</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Matt
          Joyce <<a href="mailto:matthew.joyce@embedded-brains.de"
            target="_blank" rel="noreferrer" moz-do-not-send="true"
            class="moz-txt-link-freetext">matthew.joyce@embedded-brains.de</a>><br>
          <br>
          Fix a double define of RCC_CFGR_PPRE2 and add
          RCC_CFGR_PPRE1_MSK.<br>
          ---<br>
           bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h | 3 ++-<br>
           1 file changed, 2 insertions(+), 1 deletion(-)<br>
          <br>
          diff --git a/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h
          b/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h<br>
          index 7dadfbe756..dc4a7f0edd 100644<br>
          --- a/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h<br>
          +++ b/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h<br>
          @@ -231,6 +231,7 @@ typedef struct {<br>
           #define RCC_CFGR_HPRE_BY_512 BSP_FLD32( 15, 4, 7 )<br>
          <br>
           #define RCC_CFGR_PPRE1 10<br>
          +#define RCC_CFGR_PPRE1_MSK BSP_MSK32( 10, 12 )<br>
           #define RCC_CFGR_PPRE1_BY_1 0<br>
           #define RCC_CFGR_PPRE1_BY_2 BSP_FLD32( 4, 10, 12 )<br>
           #define RCC_CFGR_PPRE1_BY_4 BSP_FLD32( 5, 10, 12 )<br>
          @@ -238,7 +239,7 @@ typedef struct {<br>
           #define RCC_CFGR_PPRE1_BY_16 BSP_FLD32( 7, 10, 12 )<br>
          <br>
           #define RCC_CFGR_PPRE2 13<br>
          -#define RCC_CFGR_PPRE2 BSP_MSK32( 13, 15 )<br>
          +#define RCC_CFGR_PPRE2_MSK BSP_MSK32( 13, 15 )<br>
           #define RCC_CFGR_PPRE2_BY_1 0<br>
           #define RCC_CFGR_PPRE2_BY_2 BSP_FLD32( 4, 13, 15 )<br>
           #define RCC_CFGR_PPRE2_BY_4 BSP_FLD32( 5, 13, 15 )<br>
          -- <br>
          2.31.1<br>
          <br>
          _______________________________________________<br>
          devel mailing list<br>
          <a href="mailto:devel@rtems.org" target="_blank"
            rel="noreferrer" moz-do-not-send="true"
            class="moz-txt-link-freetext">devel@rtems.org</a><br>
          <a href="http://lists.rtems.org/mailman/listinfo/devel"
            rel="noreferrer noreferrer" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.rtems.org/mailman/listinfo/devel</a><br>
        </blockquote>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
embedded brains GmbH
Herr Matthew JOYCE
Dornierstr. 4
82178 Puchheim
Germany</pre>
  </body>
</html>