Mohamed Ayman commented on a discussion on 
bsps/arm/stm32f4/include/bsp/stm32_usart.h: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1130#note_146134

 >  #define STM32F4_USART_DR_GET(reg) BSP_FLD32GET(reg, 0, 7)
 >  #define STM32F4_USART_DR_SET(reg, val) BSP_FLD32SET(reg, val, 0, 7)
 > -    uint32_t bbr;
 > -#define STM32F4_USART_BBR_DIV_MANTISSA(val) BSP_FLD32(val, 4, 15)
 > -#define STM32F4_USART_BBR_DIV_MANTISSA_GET(reg) BSP_FLD32GET(reg, 4, 15)
 > -#define STM32F4_USART_BBR_DIV_MANTISSA_SET(reg, val) BSP_FLD32SET(reg, val, 
 > 4, 15)
 > -#define STM32F4_USART_BBR_DIV_FRACTION(val) BSP_FLD32(val, 0, 3)
 > -#define STM32F4_USART_BBR_DIV_FRACTION_GET(reg) BSP_FLD32GET(reg, 0, 3)
 > -#define STM32F4_USART_BBR_DIV_FRACTION_SET(reg, val) BSP_FLD32SET(reg, val, 
 > 0, 3)
 > +    uint32_t brr;
 > +#define STM32F4_USART_BRR_DIV_MANTISSA(val) BSP_FLD32(val, 4, 15)
 > +#define STM32F4_USART_BRR_DIV_MANTISSA_GET(reg) BSP_FLD32GET(reg, 4, 15)
 > +#define STM32F4_USART_BRR_DIV_MANTISSA_SET(reg, val) BSP_FLD32SET(reg, val, 
 > 4, 15)
 > +#define STM32F4_USART_BRR_DIV_FRACTION(val) BSP_FLD32(val, 0, 3)
 > +#define STM32F4_USART_BRR_DIV_FRACTION_GET(reg) BSP_FLD32GET(reg, 0, 3)
 > +#define STM32F4_USART_BRR_DIV_FRACTION_SET(reg, val) BSP_FLD32SET(reg, val, 
 > 0, 3)


![Screenshot from 2026-03-18 
23-38-03.png](/uploads/b1ae412d016b493b08a09a42458125d7/Screenshot_from_2026-03-18_23-38-03.png){width=900
 height=284}

it was an effect in usart.c and i edit it and this image shows in the search in 
the main repo with (STM32_USART_BBR\_) the old one and the lower search shows 
the edit in my branch after changing BBR to BRR

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1130#note_146134
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to