AVR Embedded Tutorial - Library

From Free Pascal wiki

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