Skip to content

Commit 47d3d93

Browse files
committed
Update Tricks_and_Tips.md
1 parent fc9a541 commit 47d3d93

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

megaavr/libraries/Logic/Tricks_and_Tips.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ These are cases that treat all inputs equally (the logic formulas are hideous or
7070

7171
A significant number of options come in sets of threes; these indicate:
7272
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.
7777

7878

7979
| TRUTH & 0x7E | Bits set | Rationalization | Logic
@@ -219,11 +219,10 @@ The clocks have some counterintuitive behavior. First off, what do they and do t
219219
* The logic block itself
220220
221221
### Ugly graphic depicting above
222-
[Clock Domain Illustration][ClockDomains.png]
223-
222+
![Clock Domain Illustration](ClockDomains.png "Clock Domain Illustration")
224223
### Annotated graphic from the datasheet re: feedback paths
225224
Highlighted in color below. No part announced, much less shipped, has had an odd number of LUTs. They're unlikely to start now.
226-
[Annotated block diagram][LUTFeedback.png]
225+
![Annotated block diagram](LUTFeedback.png "Annotated block diagram")
227226
### The edge detector
228227
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.
229228

0 commit comments

Comments
 (0)