Skip to content

Wire status question #29

Description

@ttlappalainen

I have tried to find documentation for Wire status enums. In .h there is comment of stopped states.

Does states I2C_TIMEOUT, I2C_ADDR_NAK, I2C_DATA_NAK, I2C_ARB_LOST ,I2C_BUF_OVF, I2C_NOT_ACQ, I2C_DMA_ERR mean that comunication has been stopped and bus needs to be reset with resetBus to get it running again?

Or is there some better test forchecking need for reset?

I expect that I2C_WAITING is normal state - stopped, but waiting response and will change to some of above in case on error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions