speakup_acnt.h 730 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* speakup_acntpc.h - header file for speakups Accent-PC driver. */
  3. #define SYNTH_IO_EXTENT 0x02
  4. #define SYNTH_CLEAR 0x18 /* stops speech */
  5. /* Port Status Flags */
  6. #define SYNTH_READABLE 0x01 /* mask for bit which is nonzero if a
  7. * byte can be read from the data port
  8. */
  9. #define SYNTH_WRITABLE 0x02 /* mask for RDY bit, which when set to
  10. * 1, indicates the data port is ready
  11. * to accept a byte of data.
  12. */
  13. #define SYNTH_QUIET 'S' /* synth is not speaking */
  14. #define SYNTH_FULL 'F' /* synth is full. */
  15. #define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */
  16. #define SYNTH_SPEAKING 's' /* synth is speaking and has a fare way to go */