I have been reading about developing an Autosar Software Component. I'm still confuse about WaitPoint and Event on internal behavior. What are the main differences between WaitPoint and Event in AUTOSAR Software Component? and it will be great if you can show me a sample of c code according to them.