Forget to update package len.
Add rtc define register.
Clean up, and move defines into separate header.