https://learn.adacore.com/courses/intro-to-embedded-sys-prog...
Here the bit fiddling in Ada data structures is explained https://learn.adacore.com/courses/intro-to-embedded-sys-prog... Quite cool