00001 /*! \file include/kernel/speaker.h 00002 * \brief Header for the speaker. 00003 * \author Andrea Righi <drizzt@inwind.it> 00004 * \date Last update: 2003-11-02 00005 * \note Copyright (©) 2003 Andrea Righi 00006 */ 00007 00008 #ifndef SPEAKER_H 00009 #define SPEAKER_H 00010 00011 #include <const.h> 00012 00013 /** \ingroup Kernel 00014 * \defgroup KSpeaker System Speaker 00015 * The system speaker driver. 00016 * @{ 00017 */ 00018 00019 //! Frequency of the system beep. 00020 #define SYSTEM_BEEP_FREQ 0x533 00021 //! The system beep duration (in ms). 00022 #define SYSTEM_BEEP_TIME 20 00023 00024 void sound(uint32_t frequency); 00025 void nosound(); 00026 void beep(); 00027 00028 /** @} */ // end of KSpeaker 00029 00030 #endif