Skip to content

Commit e52e1ce

Browse files
committed
spell
1 parent 94ff896 commit e52e1ce

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

megaavr/extras/Ref_Interrupts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ It's - really - about as complicated as it has to be.
120120
* The NMI is designed to only be cleared by a full reset, and can only be triggered by the CRC check failing. (Unlikely to see use for hobbyists - it's for safety critical stuff, where you want any firmware corruption to completely hose the system.)
121121
and the DRE-like interrupts, which are set and cleared automatically only, and the user is expected to turn off the interrupt.
122122
* When the purpose of the flag is to tell you that something is ready to be read, reading it clears the flag. ADC, serial interfaces, and TCB input capture, for example.
123-
* Conside
123+
* Consider
124124
* The TWI interrupts work the same way - you need to read, write, or ack/nack something to respond to the bus event; doing so clears the flag too. (you don't have to do anything about this, though, with our enhanced Wire library!).
125125
* Sometimes interrupts like that can have error flags that can trigger them enabled too; those typically have to be manually cleared - by enabling them, you declare an intent to do something about them, so you're responsible for telling the hardware you did it.
126126
* USART, and buffered SPI have DRE interrupt that can only be cleared by writing more data - otherwise you need to disable the interrupt from within the ISR. The `USARTn.TXC` (transfer/transmit complete) flags are frequently polled rather than used to fire interrupts. It's not entirely clear from the datasheet if the EEPROM ready interrupt is like that, or can be cleared manually.

megaavr/libraries/Event/examples/Simple_event/Simple_event.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| https://github.com/MCUdude/ |
99
| |
1010
| In this example we use pin PE0 as an event generator, and pin PE2 and |
11-
| PF2 as event users. In practive, pin PE2 and PF2 will follow |
11+
| PF2 as event users. In practice, pin PE2 and PF2 will follow |
1212
| PE0's state. |
1313
| |
1414
| See Microchip's application note AN2451 for more information. |

0 commit comments

Comments
 (0)