3 #ifndef _LIRC_PARALLEL_H
4 #define _LIRC_PARALLEL_H
8 #define LIRC_PORT_LEN 3
10 #define LIRC_LP_BASE 0
11 #define LIRC_LP_STATUS 1
12 #define LIRC_LP_CONTROL 2
14 #define LIRC_PORT_DATA LIRC_LP_BASE /* base */
15 #define LIRC_PORT_TIMER LIRC_LP_STATUS /* status port */
16 #define LIRC_PORT_TIMER_BIT LP_PBUSY /* busy signal */
17 #define LIRC_PORT_SIGNAL LIRC_LP_STATUS /* status port */
18 #define LIRC_PORT_SIGNAL_BIT LP_PACK /* ack signal */
19 #define LIRC_PORT_IRQ LIRC_LP_CONTROL /* control port */
21 #define LIRC_SFH506_DELAY 0 /* delay t_phl in usecs */
23 #define LIRC_PARALLEL_MAX_TRANSMITTERS 8
24 #define LIRC_PARALLEL_TRANSMITTER_MASK ((1<<LIRC_PARALLEL_MAX_TRANSMITTERS) - 1)