You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Marko Kiiskila (JIRA)" <ji...@apache.org> on 2017/11/28 17:53:00 UTC

[jira] [Commented] (MYNEWT-863) hal_i2c_clear_bus() should be made public

    [ https://issues.apache.org/jira/browse/MYNEWT-863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16269149#comment-16269149 ] 

Marko Kiiskila commented on MYNEWT-863:
---------------------------------------

You have i2c devices which lock up? Or ones which don't reset when your MCU resets?

Note that you'll have to implement this function for all MCUs.

> hal_i2c_clear_bus() should be made public
> -----------------------------------------
>
>                 Key: MYNEWT-863
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-863
>             Project: Mynewt
>          Issue Type: Improvement
>      Security Level: Public(Viewable by anyone) 
>            Reporter: Vipul Rahane
>            Assignee: Vipul Rahane
>              Labels: drivers, i2c
>             Fix For: v1_4_0_rel
>
>
> hal_i2c_clear_bus() should be made public, currently it is static and cannot be called from outside the hal.
> We are currently working on a locking i2c driver which would call this function.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)