status_for

Function status_for 

Source
pub const fn status_for(kind: ErrorKind) -> Status
Expand description

The status a HAL error kind answers with.

An unacknowledged address is nobody home; an unacknowledged data octet is somebody home who refused it; everything else is the bus itself misbehaving, which is what a host sees whether the cause was arbitration, an overrun, or the board’s own deadline.