This shouldn't need a cast.  If it does, that seems like a bug in the structure definition.  If this is just to drop the const, the proper place to fix that is in the CMSIS library.

Same comment throughout.