You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: megaavr/libraries/Logic/Tricks_and_Tips.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,10 +70,10 @@ These are cases that treat all inputs equally (the logic formulas are hideous or
70
70
71
71
A significant number of options come in sets of threes; these indicate:
72
72
1. All of these have a logical formula of `( α [and|or] (β [opp] γ))`
73
-
*`[opp]` is any binary logical operator where the order of the arguments doesn't matter; essentially all of them
74
-
* "Don't care" is an option, too.
75
-
* So the two 3/6 bit-set sets (A, and !A) fit the above 1 same 2 different pattern: 1 significant input, and two that are treated the same: they're disregarded.
76
-
* It's worth noting that even whacky behavior - eg `A and !(B or C) or (!A and (B or C))` does conform to this.
73
+
*`[opp]` is any binary logical operator where the order of the arguments doesn't matter; essentially all of them
74
+
* "Don't care" is an option, too.
75
+
* So the two 3/6 bit-set sets (A, and !A) fit the above 1 same 2 different pattern: 1 significant input, and two that are treated the same: they're disregarded.
76
+
* It's worth noting that even whacky behavior - eg `A and !(B or C) or (!A and (B or C))` does conform to this.
77
77
78
78
79
79
| TRUTH & 0x7E | Bits set | Rationalization | Logic
@@ -219,11 +219,10 @@ The clocks have some counterintuitive behavior. First off, what do they and do t
Sometimes you need a pulse when all you have is a level. This gets you there. The clock is involved because the resulting pulse is 1 CCL clock long (occasionally this is not long enough, since the CCL clock can be faster than the system clock, particularly on the EB, where you can clock the CCL from the PLL, or you may be using a very slow clock, and it could be troublesome how long it is.
0 commit comments