#include "vn-interface/registers.h"

void BinaryOutputRegister_initialize(BinaryOutputRegister *reg, AsyncMode asyncMode, uint32_t rateDivisor, CommonGroup commonField,
                                     TimeGroup timeField, ImuGroup imuField, GpsGroup gpsField, AttitudeGroup attitudeField, InsGroup insField,
                                     GpsGroup gps2Field) {
  reg->asyncMode = asyncMode;
  reg->rateDivisor = (uint16_t)rateDivisor;
  reg->commonField = commonField;
  reg->timeField = timeField;
  reg->imuField = imuField;
  reg->gpsField = gpsField;
  reg->attitudeField = attitudeField;
  reg->insField = insField;
  reg->gps2Field = gps2Field;
}
