|
DMCP interface 03.17_023
|
Buzzer functions. More...
Functions | |
| void | start_buzzer_freq (uint32_t freq) |
| Start tone. | |
| void | stop_buzzer () |
| Stop tone. | |
| void | set_buzzer (int pin1val, int pin2val) |
| Set buzzer IO pins to given values. | |
| void | beep_volume_up () |
| Increase tone volume. | |
| void | beep_volume_down () |
| Decrease tone volume. | |
| int | get_beep_volume () |
| Returns current tone volume. | |
Buzzer functions.
| int get_beep_volume | ( | ) |
Returns current tone volume.
| void set_buzzer | ( | int | pin1val, |
| int | pin2val ) |
Set buzzer IO pins to given values.
| pin1val | Pin1 value |
| pin2val | Pin2 value |
| void start_buzzer_freq | ( | uint32_t | freq | ) |
Start tone.
| freq | [mHz] Tone frequency |