Received: from PCH.mit.edu (18.7.21.50) by mail.efplus.com (192.168.0.8) with Microsoft SMTP Server (TLS) id 8.3.485.1; Sun, 24 Jan 2021 17:04:29 -0800 Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 10P0sxRs002084; Sun, 24 Jan 2021 19:55:42 -0500 Received: from outgoing-exchange-1.mit.edu (OUTGOING-EXCHANGE-1.MIT.EDU [18.9.28.15]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 10P0svZj002081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Sun, 24 Jan 2021 19:54:57 -0500 Received: from oc11exedge1.exchange.mit.edu (OC11EXEDGE1.EXCHANGE.MIT.EDU [18.9.3.17]) by outgoing-exchange-1.mit.edu (8.14.7/8.12.4) with ESMTP id 10P0suoI013699 for ; Sun, 24 Jan 2021 19:54:57 -0500 Received: from w92expo6.exchange.mit.edu (18.7.74.60) by oc11exedge1.exchange.mit.edu (18.9.3.17) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Sun, 24 Jan 2021 19:54:37 -0500 Received: from oc11exhyb3.exchange.mit.edu (18.9.1.99) by w92expo6.exchange.mit.edu (18.7.74.60) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Sun, 24 Jan 2021 19:54:56 -0500 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) by oc11exhyb3.exchange.mit.edu (18.9.1.99) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Sun, 24 Jan 2021 19:54:56 -0500 Received: from DM5PR12CA0057.namprd12.prod.outlook.com (2603:10b6:3:103::19) by CO1PR01MB6551.prod.exchangelabs.com (2603:10b6:303:f4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.17; Mon, 25 Jan 2021 00:54:55 +0000 Received: from DM6NAM11FT027.eop-nam11.prod.protection.outlook.com (2603:10b6:3:103:cafe::91) by DM5PR12CA0057.outlook.office365.com (2603:10b6:3:103::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12 via Frontend Transport; Mon, 25 Jan 2021 00:54:55 +0000 Received: from mail-40130.protonmail.ch (185.70.40.130) by DM6NAM11FT027.mail.protection.outlook.com (10.13.172.205) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12 via Frontend Transport; Mon, 25 Jan 2021 00:54:54 +0000 From: madscientistatlarge To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Sun, 24 Jan 2021 16:54:44 -0800 Subject: Re: [PIC] PIC18F I2C Start/Stop condition detection Thread-Topic: [PIC] PIC18F I2C Start/Stop condition detection Thread-Index: Adbytgi6YMFaFS0ARt+UBWtLaPiUgA== Message-ID: <-U0RyD_PEapfgBpvk4g3LEbklde2MXqKlb3IMAOz8COkXe8OPxZRlln0uIPH7mdj_4C4bhZABpe25v0Ci0CMtgzaQsohUTFADXujebaVpuM=@protonmail.com> References: <600D0BC7.20406@narwani.org> <600DB20C.1090901@narwani.org> <4e7b5af284d9701c4124d857d8c10cb9.squirrel@mai.hallikainen.org> <600DEB0B.4080804@narwani.org> List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: <600DEB0B.4080804@narwani.org> Reply-To: Microcontroller discussion list - Public. Accept-Language: en-US X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: TS500.efplus4.local X-MS-Has-Attach: X-Auto-Response-Suppress: All X-MS-Exchange-Organization-SenderIdResult: TempError X-MS-Exchange-Organization-PRD: mit.edu X-MS-TNEF-Correlator: received-spf: Pass (protection.outlook.com: domain of protonmail.com designates 185.70.40.130 as permitted sender) receiver=protection.outlook.com; client-ip=185.70.40.130; helo=mail-40130.protonmail.ch; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1611536092; bh=83mMMNYj75s4CpRHnxRCCv+Wz6NVXJVvGP6mTxkzMnM=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=UQ8vZV0mA9qStmO+i3psorIroJmYEvlYBD+WEJxLuQgZN6iHzmIBilnOGR1PnZija BcLIkUTmWlxWNbHtYcB6+LTSIb6xVXtdCgI0YqCTus03MN8Sog+HzIDN8ApwrTMTLx MFWG/iPEcvvvjYD2MDOjKmfmnP6LEzL3fSFQbiYs= authentication-results: spf=pass (sender IP is 185.70.40.130) smtp.mailfrom=protonmail.com; mit.edu; dkim=pass (signature was verified) header.d=protonmail.com;mit.edu; dmarc=pass action=none header.from=protonmail.com; errors-to: piclist-bounces@mit.edu list-id: "Microcontroller discussion list - Public." list-post: x-beenthere: piclist@mit.edu x-mailman-version: 2.1.6 x-spam-checker-version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch x-spam-status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 x-topics: [PIC] x-mime-autoconverted: from quoted-printable to 8bit by PCH.mit.edu id 10P0svZj002081 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 SSd2ZSBhY3R1YWxseSBodW5nIEkyQyBvZmYgb2YgdGhlIGxhc3QgU1BJIGRldmljZSwgdGhlIHRp bWluZyBqdXN0IGhhcyB0byBiZSBjb21wYXRpYmxlLiAgVGhpcyB3YXMgYml0LWJhbmdlZCBvbiBh biBTLTEwMCBidXNzIHBhcmFsbGVsIHBvcnQobG9uZyBhZnRlciBTLTEwMCB3YXMgb2Jzb2xldGVk LCBidXQgaXQgd2FzIHRoZSBjb21wdXRlciBJIGhhZCkuICBJdCB3b3JrZWQgZ3JlYXQuICBJdCBz YX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