Skip to content

twi: why use non-blocking functions? #520

Closed
@benwaffle

Description

@benwaffle

For example, in i2c_master_write, you call HAL_I2C_Master_Transmit_IT() and then busy wait until HAL_I2C_GetState() == HAL_I2C_STATE_READY. Why not just use HAL_I2C_Master_Transmit(), the blocking function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    question ❓Usually converted as a discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions