Xyris
0.5
spkr.hpp
Go to the documentation of this file.
1
/**
2
* @file spkr.hpp
3
* @author Keeton Feavel (
[email protected]
)
4
* @brief
5
* @version 0.3
6
* @date 2019-11-25
7
*
8
* @copyright Copyright the Xyris Contributors (c) 2019
9
*
10
*/
11
#pragma once
12
13
#include <stdint.h>
14
15
/**
16
* @brief Plays a given frequency for the provided duration.
17
*
18
* @param freq Tone frequency
19
* @param ms Length in milliseconds
20
*/
21
void
spkr_beep
(uint32_t freq, uint32_t ms);
spkr_beep
void spkr_beep(uint32_t freq, uint32_t ms)
Plays a given frequency for the provided duration.
Definition:
spkr.cpp:36
Kernel
Devices
PCSpeaker
spkr.hpp
Generated by
1.8.17