xref: /freebsd/share/man/man4/lpbb.4 (revision fcb560670601b2a4d87bb31d7531c8dcc37ee71b)
1.\" Copyright (c) 1998, Nicolas Souchu
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd October 25, 1998
28.Dt LPBB 4
29.Os
30.Sh NAME
31.Nm lpbb
32.Nd parallel port I2C bit-banging interface
33.Sh SYNOPSIS
34.Cd "device iicbus"
35.Cd "device iicbb"
36.Pp
37.Cd "device lpbb"
38.Cd "device iic"
39.Sh DESCRIPTION
40The
41.Em lpbb
42driver supports the Philips official I2C parallel bit-banging interface.
43.Bd -literal
44
45                                         LS05 pin 14 (Vcc) o      -------
46                                                           |      |     |
47            +--+--+---------------------+--+--+------------+------+-o 1 |
48            |  |  |                     |  |  |           ===.1uF | +5V |
49  -------- [R][R][R] 3x10K       3x10K [R][R][R]   LS05    |      |     |
50  |      |  |  |  |                     |  |  |    pin 7 o-+------+-o 2 |
51  | 12 o-+--+  |  |   3|\\ 4             |  |  |    (Gnd)          | GND |
52  | 17 o-+-----|--|----| >o-------------+--|--|--------------+    |     |
53  |      |     |  |    |/        8 /|9     |  |     10 /|11  +----+-o 3 |
54  | 15 o-+-----+--|--------------o< |------+--|------o< |----+    | SCL |
55  |      |        |   1|\\ 2        \\|         |        \\|         |     |
56  |  9 o-+--------|----| >o-------------------+--------------+----+-o 4 |
57  |      |        |    |/                            6 /|5   |    | SDA |
58  | 11 o-+--------+----------------------------------o< |----+    -------
59  | 10 o-+-+                                           \\|          4-pin
60  | 13 o-+-+--oGND                                              Connector
61  | 25 o-+-+      ------------------ Part List --------------------------
62  --------        | 1 - .1 uF capacitor   | 6 - 10K 5% resistors        |
63  25-pin male D   | 1 - 4-pin connector   | 1 - 25-pin male D connector |
64  connector to PC | 1 - 74LS05 open collector hex inverter              |
65  printer port    -------------------------------------------------------
66.Ed
67.Sh SEE ALSO
68.Xr iicbb 4 ,
69.Xr iicbus 4 ,
70.Xr ppbus 4
71.Sh HISTORY
72The
73.Nm
74manual page first appeared in
75.Fx 3.0 .
76.Sh AUTHORS
77This
78manual page was written by
79.An Nicolas Souchu .
80