Nenhuma descrição
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

12345678910111213
  1. #ifndef _COMMON_H_
  2. #define _COMMON_H_
  3. #define CLEAR_STORE_INTERRUPTS() uint8_t prev_int_reg = SREG; cli()
  4. #define RESTORE_INTERRUPTS() SREG = prev_int_reg
  5. //#define CLEAR_STORE_INTERRUPTS() cli()
  6. //#define RESTORE_INTERRUPTS() sei()
  7. void async_beep(int time, int freq);
  8. void blocking_beep(int time, int freq, int repeat = 0);
  9. void common_run(void);
  10. #endif // _COMMON_H_