repo time

Dependencies:   mbed MAX14720 MAX30205 USBDevice

HspGuiSourceV301/HSPGui/DeviceDescriptions/RegisterBitDescriptions.cs

Committer:
darienf
Date:
2021-04-06
Revision:
20:6d2af70c92ab

File content as of revision 20:6d2af70c92ab:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HealthSensorPlatform.DeviceDescriptions
{
    public class RegisterBitDescriptions
    {
        public List<RegisterBitDescription> list = new List<RegisterBitDescription>();
        public class RegisterBitDescription
        {
            public string bit { get; set; }
            public string name { get; set; }
            public string description { get; set; }
        }
        public void Add(string _bit, string _name, string _description)
        {
            list.Add(new RegisterBitDescription() { bit = _bit, name = _name, description = _description });
        }
    }
}