AVR Embedded Tutorial - Library

AVR Libraries

edit

Intrinsics unit

edit

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

edit