Why is there no embedded c code in arduino libraries?
If you take a look at the Arduino core library (e.g., the AVR version of
wiring.c), you will see lots of low-level register access. That's
why the core code is specific to a processor architecture.

Other libraries are built on top of the core API in order to be
portable.