Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
William Hubbs | c6e3fd2 | 2010-10-07 13:20:02 -0500 | [diff] [blame] | 2 | /* 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 Fedotov | 13d825e | 2015-08-14 22:34:37 +0300 | [diff] [blame] | 10 | * byte can be read from the data port |
| 11 | */ |
William Hubbs | c6e3fd2 | 2010-10-07 13:20:02 -0500 | [diff] [blame] | 12 | #define SYNTH_WRITABLE 0x02 /* mask for RDY bit, which when set to |
Aleksei Fedotov | 13d825e | 2015-08-14 22:34:37 +0300 | [diff] [blame] | 13 | * 1, indicates the data port is ready |
| 14 | * to accept a byte of data. |
| 15 | */ |
William Hubbs | c6e3fd2 | 2010-10-07 13:20:02 -0500 | [diff] [blame] | 16 | #define SYNTH_QUIET 'S' /* synth is not speaking */ |
| 17 | #define SYNTH_FULL 'F' /* synth is full. */ |
Justin P. Mattock | 83414d5 | 2012-07-09 07:30:27 -0700 | [diff] [blame] | 18 | #define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */ |
William Hubbs | c6e3fd2 | 2010-10-07 13:20:02 -0500 | [diff] [blame] | 19 | #define SYNTH_SPEAKING 's' /* synth is speaking and has a fare way to go */ |