AVR Embedded Tutorial - Library: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: AVR Embedded Tutorial - Library
| Old | New | Line | |
|---|---|---|---|
| 1 | + | # AVR Libraries | |
| 2 | + | ||
| 3 | + | ## Intrinsics unit | |
| 4 | + | ||
| 5 | + | The intrinsics unit contains the following procedures, which you can also do with: | |
| 6 | + | ||
| 7 | + | ``` pascal | |
| 8 | + | asm | |
| 9 | + | ... | |
| 10 | + | end; | |
| 11 | + | ``` | |
| 12 | + | ||
| 13 | + | You can use: | |
| 14 | + | ||
| 15 | + | | | | | |
| 16 | + | |----------------|-----------------------------------| | |
| 17 | + | | **avr_cli;** | Block interrupts | | |
| 18 | + | | **avr_sei;** | Unlock interrupts | | |
| 19 | + | | **avr_wdr;** | Watchdog reset | | |
| 20 | + | | **avr_sleep;** | Pause until a predetermined event | | |
| 21 | + | | **avr_nop;** | An empty command | | |
| 22 | + | ||
| 23 | + | Note: an **avr_cli;** is the same as: | |
| 24 | + | ||
| 25 | + | ``` pascal | |
| 26 | + | asm | |
| 27 | + | cli | |
| 28 | + | end; | |
| 29 | + | ``` | |
| 30 | + | ||
| 31 | + | # See also | |
| 32 | + | ||
| 33 | + | - [[AVR Embedded Tutorial|AVR Embedded Tutorials]] - Overview | |
| 34 | + | ||
| 35 | + | --- | |
| 36 | + | *From the Free Pascal wiki, page "AVR Embedded Tutorial - Library", as it stood on 2020-01-24 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 37 | + | Category: AVR | |
| 38 | + | Category: Arduino | |
| 39 | + | Category: Embedded | |
| 40 | + | Category: Tutorials |
