From e29619b4d23ae100379f64d83e3e2858a042bbf8 Mon Sep 17 00:00:00 2001 From: Cástor Muñoz Date: Sat, 11 Feb 2012 23:41:54 +0100 Subject: FS#12524 - iPod Classic/6G: hardware click support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based on the piezo driver for the nano2g. Signed-off-by: Nils Wallménius --- firmware/target/arm/s5l8702/ipod6g/piezo.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 firmware/target/arm/s5l8702/ipod6g/piezo.h (limited to 'firmware/target/arm/s5l8702/ipod6g/piezo.h') diff --git a/firmware/target/arm/s5l8702/ipod6g/piezo.h b/firmware/target/arm/s5l8702/ipod6g/piezo.h new file mode 100644 index 0000000000..987d4ffdda --- /dev/null +++ b/firmware/target/arm/s5l8702/ipod6g/piezo.h @@ -0,0 +1,26 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2006-2007 Robert Keevil + * + * 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 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +void piezo_init(void); +void piezo_stop(void); +void piezo_clear(void); +bool piezo_busy(void); +void piezo_button_beep(bool beep, bool force); -- cgit v1.2.3