anchor.diff:  %       {bw_g,2,raw}]}}
   % '''
   %
  -% @spec registers(Comp) -> Map
  -%        Comp = acc | mag | alt
  +-spec registers(component()) -> #{atom() => any()}.
   registers(acc) ->
       #{
           act_ths => {16#04, read_write, 1, [
  
positive.code: -include("pmod_nav.hrl").
  
  -define(SPI_MODE, #{clock => {high, trailing}}).
  
  %--- API -----------------------------------------------------------------------
  
  
negative.code: % Use {@link registers/0} and {@link registers/1} to see the mapping between
  % Erlang expressions and the bits on the hardware.
  
  -spec config(component(), #{}) -> ok.
  config(Comp, Options) when is_map(Options) -> call({config, Comp, Options}).
  
  % @equiv read(Comp, Registers, #{})
  -spec read(component(), [register()]) -> any() | {error, any()}.
  read(Comp, Registers) -> read(Comp, Registers, #{}).
  
  % @doc Read registers of a component.
  