View Source NervesTime.RTC.Abracon.B5ZE.Configuration (nerves_time_rtc_abracon v0.2.0)

Link to this section Summary

Link to this section Types

Specs

bit() :: 0 | 1

Specs

t() :: %{
  stop: bit(),
  sr: bit(),
  twelve_hour: bit(),
  sie: bit(),
  aie: bit(),
  cie: bit(),
  wtaf: bit(),
  ctaf: bit(),
  ctbf: bit(),
  sf: bit(),
  af: bit(),
  wtaie: bit(),
  ctaie: bit(),
  ctbie: bit(),
  battery: 0..7,
  bsf: bit(),
  blf: bit(),
  bsei: bit(),
  blie: bit()
}

Link to this section Functions

Specs

decode(<<_::24>>) :: {:ok, t()} | {:error, any()}

Specs

encode(t()) :: <<_::24>>