#include <compat/deprecated.h>
These items are supplied within that header file for backward compatibility reasons only, so old source code that has been written for previous library versions could easily be maintained until its end-of-life. Use of any of these items in new code is strongly discouraged.
This macro gives access to the
GIMSK
register (or EIMSK
register if using an AVR Mega device or GICR
register for others). Although this macro is essentially the same as assigning to the register, it does adapt slightly to the type of device being used. This macro is unavailable if none of the registers listed above are defined.
Value:
void signame (void) __attribute__ ((interrupt,__INTR_ATTRS)); \ void signame (void)
As this macro has been used by too many unsuspecting people in the past, it has been deprecated, and will be removed in a future version of the library. Users who want to legitimately re-enable interrupts in their interrupt handlers as quickly as possible are encouraged to explicitly declare their handlers as described above.
[static]
This function modifies the
timsk
register. The value you pass via ints
is device specific.