From owner-man-jp-reviewer@jp.freebsd.org  Mon Mar 15 19:21:51 1999
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.2+3.1W/8.7.3) id TAA25600;
	Mon, 15 Mar 1999 19:21:51 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from TYO203.gate.nec.co.jp (TYO203.gate.nec.co.jp [202.32.8.211])
	by jaz.jp.freebsd.org (8.9.2+3.1W/8.7.3) with ESMTP id TAA25592
	for <man-jp-reviewer@jp.freebsd.org>; Mon, 15 Mar 1999 19:21:49 +0900 (JST)
	(envelope-from mihara@prd.fc.nec.co.jp)
Received: from mailsv.nec.co.jp (mailsv-le1 [192.168.1.90])
	by TYO203.gate.nec.co.jp (8.9.1a/3.7W99011317) with ESMTP id TAA22825
	for <man-jp-reviewer@jp.freebsd.org>; Mon, 15 Mar 1999 19:21:48 +0900 (JST)
Received: from ayrton.prd.fc.nec.co.jp (ayrton.prd.fc.nec.co.jp [10.32.194.1]) by mailsv.nec.co.jp (8.9.1a/3.7W-MAILSV-NEC) with ESMTP
	id TAA21110 for <man-jp-reviewer@jp.freebsd.org>; Mon, 15 Mar 1999 19:21:47 +0900 (JST)
Received: from oz.prd.fc.nec.co.jp.prd.fc.nec.co.jp (oz.prd.fc.nec.co.jp [10.32.193.3])
	by ayrton.prd.fc.nec.co.jp (8.8.8/3.6W-98052009) with ESMTP id TAA05054
	for <man-jp-reviewer@jp.freebsd.org>; Mon, 15 Mar 1999 19:21:46 +0900 (JST)
Message-Id: <199903151021.TAA05054@ayrton.prd.fc.nec.co.jp>
Date: Mon, 15 Mar 1999 19:21:29 +0900
From: Osamu MIHARA <mihara@prd.fc.nec.co.jp>
To: man-jp-reviewer@jp.freebsd.org
User-Agent: Wanderlust/0.9.6 (Dirty Diana) WEMI/1.13.2 (Mochimune) FLIM/1.12.5 (Hirahata) MULE XEmacs/21.2 (beta10) (Boreas) (i386-unknown-freebsd)
Organization: NEC Corporation, Tokyo Japan
MIME-Version: 1.0 (generated by WEMI 1.13.2 - "Mochimune")
Content-Type: text/plain; charset=ISO-2022-JP
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+981115
X-Sequence: man-jp-reviewer 1197
Subject: [man-jp-reviewer 1197] lpbb.4
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org
X-Originator: mihara@prd.fc.nec.co.jp

$B;086$G$9!#(Blpbb.4 $B$G$9!#(B

bit-banging $B$O$=$N$^$s$^%S%C%H%P%s%.%s%0$H$7$F$$$^$9$,!"B>$K$$$$Lu$O$J$$(B
$B$G$7$g$&$+(B? ($B$=$b$=$b!"2?$r$9$k$b$N$+$b$7$i$J$$$N$G$9$,(B)
-- 
  Osamu MIHARA // NEC Printers Division
========================================================================
.\" Copyright (c) 1998, Nicolas Souchu
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"
.Dd October 25, 1998
.\" jpman %Id: lpbb.4,v 0.0 1999/02/22 16:13:42 horikawa Stab %
.\" WORD: bit-banging $B%S%C%H%P%s%.%s%0(B
.Dt LPBB 4
.Os FreeBSD
.Sh $BL>>N(B
.Nm lpbb
.Nd
$B%Q%i%l%k%]!<%H(B I2C $B%S%C%H%P%s%.%s%0%$%s%?%U%'!<%9(B
.Sh $B=q<0(B
.Cd "controller iicbus"
.Cd "controller iicbb0"
.Pp
.Cd "device lpbb0 at ppbus?"
.Cd "device iic0 at iicbus?"
.Sh $B2r@b(B
.Em lpbb
$B%I%i%$%P$O%U%#%j%C%W%9$N@5<0$J(B
I2C $B%Q%i%l%k%S%C%H%P%s%.%s%0%$%s%?%U%'!<%9$r%5%]!<%H$7$^$9!#(B
.Pp
 
                                        LS05 14 $B%T%s(B (Vcc) o      -------
                                                           |      |     |
            +--+--+---------------------+--+--+------------+------+-o 1 |
            |  |  |                     |  |  |           ===.1uF | +5V |
  -------- [R][R][R] 3x10K       3x10K [R][R][R]   LS05    |      |     |
  |      |  |  |  |                     |  |  |    pin 7 o-+------+-o 2 |
  | 12 o-+--+  |  |   3|\\ 4             |  |  |    (Gnd)          | GND |
  | 17 o-+-----|--|----| >o-------------+--|--|--------------+    |     |
  |      |     |  |    |/        8 /|9     |  |     10 /|11  +----+-o 3 |
  | 15 o-+-----+--|--------------o< |------+--|------o< |----+    | SCL |
  |      |        |   1|\\ 2        \\|         |        \\|         |     |
  |  9 o-+--------|----| >o-------------------+--------------+----+-o 4 |
  |      |        |    |/                            6 /|5   |    | SDA |
  | 11 o-+--------+----------------------------------o< |----+    -------
  | 10 o-+-+                                           \\|         4 $B%T%s(B
  | 13 o-+-+--oGND                                               $B%3%M%/%?(B
  | 25 o-+-+    ------------------ $BItIJ%j%9%H(B ---------------------------
  --------      | 1 - .1 uF $B%3%s%G%s%5(B| 6 - 10K 5% $BDq93(B\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |
 25 $B%T%s(B D $B7?(B\ \ \ | 1 - 4 $B%T%s(B $B%3%M%/%?(B\ \ \ | 1 - 25$B%T%s(B D $B7?%3%M%/%?(B($B%*%9(B)|
 $B%3%M%/%?(B ($B%*%9(B)| 1 - 74LS05 $B%*!<%W%s%3%l%/%?(B 16 $B?J%$%s%P!<%?(B\ \ \ \ \ \ \ \ \ \ \ |
 PC $B$N%W%j%s%?(B\ \ ---------------------------------------------------------
 $B%]!<%H$X(B
.Pp
.Sh $B4XO"9`L\(B
.Xr iicbus 4 ,
.Xr iicbb 4 ,
.Xr ppbus 4
.Sh $BNr;K(B
.Nm
$B%^%K%e%"%k%Z!<%8$O(B
.Fx 3.0
$B$+$iEP>l$7$^$7$?!#(B
.Sh $B:n<T(B
$B$3$N%^%K%e%"%k%Z!<%8$O(B
.An Nicolas Souchu
$B$K$h$C$F=q$+$l$^$7$?!#(B
