Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /* speakup_acntpc.h - header file for speakups Accent-PC driver. */
0003 
0004 #define SYNTH_IO_EXTENT 0x02
0005 
0006 #define SYNTH_CLEAR 0x18        /* stops speech */
0007 
0008     /* Port Status Flags */
0009 #define SYNTH_READABLE  0x01    /* mask for bit which is nonzero if a
0010                  * byte can be read from the data port
0011                  */
0012 #define SYNTH_WRITABLE  0x02    /* mask for RDY bit, which when set to
0013                  * 1, indicates the data port is ready
0014                  *  to accept a byte of data.
0015                  */
0016 #define SYNTH_QUIET 'S' /* synth is not speaking */
0017 #define SYNTH_FULL  'F' /* synth is full. */
0018 #define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */
0019 #define SYNTH_SPEAKING  's' /* synth is speaking and has a fare way to go */