blob: cffa938ae5804576da40daf8fff433dc7e71f06a [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
William Hubbsc6e3fd22010-10-07 13:20:02 -05002/* speakup_acntpc.h - header file for speakups Accent-PC driver. */
3
4#define SYNTH_IO_EXTENT 0x02
5
6#define SYNTH_CLEAR 0x18 /* stops speech */
7
8 /* Port Status Flags */
9#define SYNTH_READABLE 0x01 /* mask for bit which is nonzero if a
Aleksei Fedotov13d825e2015-08-14 22:34:37 +030010 * byte can be read from the data port
11 */
William Hubbsc6e3fd22010-10-07 13:20:02 -050012#define SYNTH_WRITABLE 0x02 /* mask for RDY bit, which when set to
Aleksei Fedotov13d825e2015-08-14 22:34:37 +030013 * 1, indicates the data port is ready
14 * to accept a byte of data.
15 */
William Hubbsc6e3fd22010-10-07 13:20:02 -050016#define SYNTH_QUIET 'S' /* synth is not speaking */
17#define SYNTH_FULL 'F' /* synth is full. */
Justin P. Mattock83414d52012-07-09 07:30:27 -070018#define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */
William Hubbsc6e3fd22010-10-07 13:20:02 -050019#define SYNTH_SPEAKING 's' /* synth is speaking and has a fare way to go */