anchor.diff:      Bus = assert_transaction(),
       Messages = [
           {write, ?DS2482_I2C_ADR, 0, <<?CMD_DRST>>},
  -        {read, ?DS2482_I2C_ADR, ?I2C_M_NO_RD_ACK, 1}
  +        {read, ?DS2482_I2C_ADR, 0, 1}
       ],
       [ok, <<Status:8>>] = grisp_ni2c:transfer(Bus, Messages),
       case Status band 16#f7 of
  
positive.code:     grisp_ni2c:transfer(Bus, [{write, ?DS2482_I2C_ADR, 0, <<?CMD_1WT, Db>>}]),
      timer:sleep(1),
      [<<D:1, T:1, S:1, _:5>>] = grisp_ni2c:transfer(Bus, [
          {read, ?DS2482_I2C_ADR, ?I2C_M_NO_RD_ACK, 1}
      ]),
      {D, T, S}.
  
  
negative.code:     Val = (bnot(Conf) bsl 4) bor Conf,
      Messages = [
          {write, ?DS2482_I2C_ADR, 0, <<?CMD_WCFG, Val>>},
          {read, ?DS2482_I2C_ADR, 0, 1}
      ],
      case grisp_ni2c:transfer(Bus, Messages) of
          [ok, <<Conf:8>>] -> ok;
          Any -> error({read_back_config, Any, Val})
      end.
  
  