Darien Figueroa / Mbed 2 deprecated repo3

Dependencies:   mbed MAX14720 MAX30205 USBDevice

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers RegisterBitDescriptions.cs Source File

RegisterBitDescriptions.cs

00001 using System;
00002 using System.Collections.Generic;
00003 using System.Linq;
00004 using System.Text;
00005 
00006 namespace HealthSensorPlatform.DeviceDescriptions
00007 {
00008     public class RegisterBitDescriptions
00009     {
00010         public List<RegisterBitDescription> list = new List<RegisterBitDescription>();
00011         public class RegisterBitDescription
00012         {
00013             public string bit { get; set; }
00014             public string name { get; set; }
00015             public string description { get; set; }
00016         }
00017         public void Add(string _bit, string _name, string _description)
00018         {
00019             list.Add(new RegisterBitDescription() { bit = _bit, name = _name, description = _description });
00020         }
00021     }
00022 }