cancel
Showing results for 
Search instead for 
Did you mean: 

Comments wrong in L4+ include file

STM32Cube_FW_L4_V1.13.0\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4r5xx.h

#define SDMMC_CLKCR_WIDBUS_Pos     (14U)

#define SDMMC_CLKCR_WIDBUS_Msk     (0x3UL << SDMMC_CLKCR_WIDBUS_Pos)   /*!< 0x0000C000 */

#define SDMMC_CLKCR_WIDBUS       SDMMC_CLKCR_WIDBUS_Msk         /*!<WIDBUS[1:0] bits (Wide bus mode enable bit) */

#define SDMMC_CLKCR_WIDBUS_0      (0x1UL << SDMMC_CLKCR_WIDBUS_Pos)   /*!< 0x00000800 */

#define SDMMC_CLKCR_WIDBUS_1      (0x2UL << SDMMC_CLKCR_WIDBUS_Pos)   /*!< 0x00001000 */

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
1 ACCEPTED SOLUTION

Accepted Solutions

Should be 0x4000 and 0x8000

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

5 REPLIES 5

Should be 0x4000 and 0x8000

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Imen.D
ST Employee

Hello @Community member​ ,

Thank you for sharing this typo. This issue is raised internally for correction.

Kind Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Thanks, nothing dire but stumbled over it the other day trying to make a simple decoder for the SDIO/SDMMC bit width decoder.

Not sure if this is all manually generated, or if there is a script, or combination of things.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Hi Clive,

The update is done in the new release of STM32CubeL4 V1.14.0

Thanks,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Thanks

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..