proxmark3/armsrc/buzzer_disabled.h

40 lines
1.3 KiB
C
Raw Normal View History

2022-01-06 09:19:46 +08:00
//-----------------------------------------------------------------------------
// Copyright (C) sww 2017.4.6
// Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// See LICENSE.txt for the text of the license.
//-----------------------------------------------------------------------------
2018-03-31 16:44:44 +08:00
#ifndef __BUZZER_H
#define __BUZZER_H
#include "common.h"
2018-03-31 16:44:44 +08:00
#define n_2_7khz 185
#define note_1 956
#define note_2 851
#define note_3 758
#define note_4 715
#define note_5 638
#define note_6 568
#define note_7 506
#define note_8 0
2019-04-06 07:00:54 +08:00
void Ring_BEE_ONCE(uint16_t music_note);
void Ring_BEE_TIME(uint16_t music_note, uint16_t count);
void ring_2_7khz(uint16_t count);
void Ring_ALL(uint16_t count);
void Ring_Little_Star(uint16_t count);
2018-03-31 16:44:44 +08:00
#endif