Add initial states.
Add comment.
Move macros to a common file for use in upcoming state diagrams.
Add peripheral initialization states.