FreeCalypso > hg > fc-tourmaline
comparison src/cs/drivers/drv_app/buzzer/pwt.h @ 290:0e5ccb343284
implement PWT buzzer driver
The piece implemented here is the low-level driver component; there will
also be a higher-level buzzer melody player service, to be implemented
in RiViera land, that will be the sole caller of PWT API functions
provided by the present driver.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 26 Mar 2022 18:23:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
289:4d203ef0eb4b | 290:0e5ccb343284 |
---|---|
1 /* | |
2 * This header file is a FreeCalypso addition: it defines the functional | |
3 * interface to the PWT buzzer driver. | |
4 */ | |
5 | |
6 void PWT_block_on(void); | |
7 void PWT_block_off(void); | |
8 void PWT_play_tone(SYS_UWORD8 note, SYS_UWORD8 volume); | |
9 void PWT_stop_tone(void); |