View Source NervesTime.RTC.Abracon.AB0805.Configuration (nerves_time_rtc_abracon v0.3.0)

Link to this section Summary

Link to this section Types

@type bit() :: 0 | 1
@type t() :: %{
  stop: bit(),
  twelve_hour: bit(),
  outb: bit(),
  out: bit(),
  arst: bit(),
  wrtc: bit(),
  out2s: 0..7,
  out1s: 0..3
}

Link to this section Functions

@spec decode(<<_::16>>) :: {:ok, t()} | {:error, any()}
@spec encode(t()) :: <<_::16>>