#include <avr/interrupt.h>
#include <avr/pgmspace.h>
#include "Arduino.h"
#include "pins_arduino.h"
Go to the source code of this file.
#define AVAILABLE_TONE_PINS 1 |
void disableTimer |
( |
uint8_t |
_timer | ) |
|
ISR |
( |
TIMER2_COMPA_vect |
| ) |
|
void noTone |
( |
uint8_t |
_pin | ) |
|
void tone |
( |
uint8_t |
_pin, |
|
|
unsigned int |
frequency, |
|
|
unsigned long |
duration |
|
) |
| |
static int8_t toneBegin |
( |
uint8_t |
_pin | ) |
|
|
static |
volatile uint8_t timer0_pin_mask |
volatile uint8_t* timer0_pin_port |
volatile long timer0_toggle_count |
volatile uint8_t timer1_pin_mask |
volatile uint8_t* timer1_pin_port |
volatile long timer1_toggle_count |
volatile uint8_t timer2_pin_mask |
volatile uint8_t* timer2_pin_port |
volatile long timer2_toggle_count |
const uint8_t PROGMEM tone_pin_to_timer_PGM[] = { 2 } |