Arduino Uno with a 32-bit ARM Cortex-M0 in 28 pin DIL package

The IDE hides the internal registers

The ide does not hide anything: you can always code the mcu by writing to the registers.

However, in this case, they use a set of libraries from nxp to operate the peripherals. That's not unusual: ST has a set of its own libraries.