annotate src/cs/drivers/drv_app/buzzer/pwt.h @ 304:58c7961bd0b0 default tip

TCH tap: extend DL sniffing feature to support CSD modes Our debug feature for TCH DL sniffing reads the content of the DSP's a_dd_0 buffer (or a_dd_1 for TCH/H subchannel 1) at appropriate times and forwards captured bits to the host. This feature was originally implemented for TCH/FS, TCH/EFS and TCH/HS - now extend it to cover TCH/F data modes too.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 25 Nov 2024 23:33:27 +0000
parents 0e5ccb343284
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
290
0e5ccb343284 implement PWT buzzer driver
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
0e5ccb343284 implement PWT buzzer driver
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * This header file is a FreeCalypso addition: it defines the functional
0e5ccb343284 implement PWT buzzer driver
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 * interface to the PWT buzzer driver.
0e5ccb343284 implement PWT buzzer driver
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 */
0e5ccb343284 implement PWT buzzer driver
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
0e5ccb343284 implement PWT buzzer driver
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 void PWT_block_on(void);
0e5ccb343284 implement PWT buzzer driver
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 void PWT_block_off(void);
0e5ccb343284 implement PWT buzzer driver
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 void PWT_play_tone(SYS_UWORD8 note, SYS_UWORD8 volume);
0e5ccb343284 implement PWT buzzer driver
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 void PWT_stop_tone(void);