Advertisement
Guest User

Untitled

a guest
May 25th, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. @rule_one@
  2. expression e1, e2, e3, e4, e5, c, d;
  3. @@
  4.  
  5. -init_timer (&e1);
  6. +setup_timer (&e1, c, d);
  7.  
  8. ... when != c = e2
  9. when != d = e3
  10. (
  11. -e1.function = c;
  12. ... when != d = e4
  13. -e1.data = d;
  14. |
  15. -e1.data = d;
  16. ... when != c = e5
  17. -e1.function = c;
  18. )
  19.  
  20. @rule_two@
  21. expression e8, e9, b,f;
  22. @@
  23.  
  24. -e8.data = b;
  25.  
  26. ...
  27.  
  28. -init_timer (&e8);
  29. +setup_timer (&e8, f, b);
  30.  
  31. ... when !=f = e9
  32. -e8.function = f;
  33.  
  34. @rule_three@
  35. expression e6, e7, a;
  36. @@
  37.  
  38. -init_timer (&e6);
  39. +setup_timer (&e6, a, 0UL);
  40.  
  41. ... when != a = e7
  42.  
  43. -e6.function = a;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement