Minor fixes to RTC definitions
Formatting and commenting

- No changes to content
- Lots of comments added
- Tabs --> spaces  and uniform spacing
Adding f4-specific rtc functions

These should also work with the f2
Adding some useful functions for wakeup timer interrupts