low level code programming

To my knowledge, the Arduino follows the exact names of the registers and bit fields inside the registers in the datasheet.

I guess you have seen the examples in the datasheet, not sure if there is a better guide.