AVR Embedded Tutorial - Library

From Lazarus wiki
Revision as of 11:54, 22 January 2020 by Trev (talk | contribs) (English translation of German page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Deutsch (de) English (en)

AVR Libraries

Intrinsics unit

The intrinsics unit contains the following procedures, which you can also do with:

  asm 
    ... 
  end;

You can use:

avr_cli; Block interrupts
avr_sei; Unlock interrupts
avr_wdr; Watchdog reset
avr_sleep; Pause until a predetermined event
avr_nop; An empty command

Note: an avr_cli; is the same as:

  asm 
    cli 
  end;

See also