Sequencing order between functions and signals
11 Oct 2019 14:17 - 11 Oct 2019 14:17 #147703
by JC10
Sequencing order between functions and signals was created by JC10
Hello,
I read in many places that the sequencing order of the functions of a HAL file is done by the order of addf creation for each function in a given thread. This is clear.
But, when you have signals connected in between pins of these functions, when those signals are evaluated ? What is the rule ?
I read the HAL User Manual. I could not find any word about this. May be it is intuitive but not for me...
Thanks
I read in many places that the sequencing order of the functions of a HAL file is done by the order of addf creation for each function in a given thread. This is clear.
But, when you have signals connected in between pins of these functions, when those signals are evaluated ? What is the rule ?
I read the HAL User Manual. I could not find any word about this. May be it is intuitive but not for me...
Thanks
Last edit: 11 Oct 2019 14:17 by JC10.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
11 Oct 2019 16:07 #147712
by Todd Zuercher
Replied by Todd Zuercher on topic Sequencing order between functions and signals
When a function is run by it's thread, that is when it reads the hal pins going to it, and then writes to the hal pins going out of it. You can think of the signals as memory storage addresses.
Please Log in or Create an account to join the conversation.
13 Oct 2019 09:14 #147805
by JC10
Replied by JC10 on topic Sequencing order between functions and signals
Thanks Todd
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds