STMicroelectronics / STM32CubeF4

STM32Cube MCU Full Package for the STM32F4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
871 stars 418 forks source link

Change USART_BRR_DIV_Fraction, USART_BRR_DIV_Mantissa to all CAPS. #142

Closed jernejp21 closed 1 year ago

jernejp21 commented 2 years ago

Other STM32Cube packages have all caps. Changed for better compatibility between different STM32 devices using HAL.

ASELSTM commented 1 year ago

Hi @jernejp21,

The bits definitions within the CMSIS files should be in accordance with the reference manual and referring to the different reference manuals of the different STM32F4 part numbers, the bits USART_BRR_DIV_Mantissa and USART_BRR_DIV_Fraction are not written all in capital letters as you have suggested.

image

Thus the current definition of these bits within the STM32F4 CMSIS files is aligned with the reference manual and should therefore be kept as it is.

With regards,