1. 14 2月, 2019 1 次提交
  2. 12 2月, 2019 1 次提交
    • J
      Add IGpioController. (#212) · 8d92bda7
      Jeremy Kuhne 提交于
      * Add IGpioController.
      
      This allows compositing gpio extenders/multiplexers or any other providers with device drivers.
      
      * Hack to get command line build working
      
      * Address feedback, fix the rest of the projects
      
      * Add a few tests, tweak the projects to play nicer with VS
      
      * Rejigger the abstraction in Mcp23xxx
      
      Change the abstraction some and update the tests to map closer to the implementations. Fix a bug in setting single pin values.
      8d92bda7
  3. 09 2月, 2019 1 次提交
    • J
      Change PinValue to struct (#211) · f56cbdaf
      Jeremy Kuhne 提交于
      * Change PinValue to struct
      
      Allows easier interop with raw data and enables us to extend with additional functionality. This will avoid having to add additional APIs for convenience and repeated typing of `PinValue == PinValue.High ? 1 :  0`.
      
      Doesn't impact existing enum usage.
      
      Sample usage:
      
      ``` C#
          class Program
          {
              static void Main(string[] args)
              {
                  PinValue value = true;
                  Console.WriteLine($"True is {value}");
                  TestApi(0);
                  Console.WriteLine($"Equality is {PinValue.High == true}");
              }
      
              public static void TestApi(PinValue value)
              {
                  Console.WriteLine($"PinValue is {value}");
              }
          }
      ```
      
      * Ok, so you can't switch a struct. :) Bonus now that you don't have to. There is no such thing as an invalid PinValue anymore.
      f56cbdaf
  4. 30 1月, 2019 1 次提交
  5. 24 1月, 2019 1 次提交
  6. 23 1月, 2019 2 次提交
    • G
      Cleanup for GPIO drivers (#148) · d594ce9f
      Greg Ingram 提交于
      * Added editconfig file
      
      * Beginning of cleaning
      
      * Added summaries and sorted
      
      * Added callback summaries
      
      * Fixed ordering and switch/case based on feedback
      d594ce9f
    • G
      Interop cleaning (#149) · c1a3493a
      Greg Ingram 提交于
      * Added editconfig file
      
      * Initial clean scan
      
      * Moved library
      
      * Yet another rename to make consistent
      
      * Removed semicolon
      
      * Renamed to Libraries file
      c1a3493a
  7. 16 1月, 2019 1 次提交
  8. 15 1月, 2019 1 次提交
    • G
      Cleanup for I2C drivers (#143) · f45fda09
      Greg Ingram 提交于
      * Added editconfig file
      
      * Cleanup for I2C drivers
      
      * Cleanup for I2C drivers
      
      * Updated wording
      
      * Updated for feedback
      f45fda09
  9. 12 1月, 2019 1 次提交
  10. 09 1月, 2019 2 次提交
    • G
      Added missing GPIOs 0 and 1 · 217752c6
      Greg Ingram 提交于
      217752c6
    • G
      Random GPIO cleaning (#138) · d4e7b67a
      Greg Ingram 提交于
      * Basic cleanup in GPIO files
      
      * Basic comment cleanup in GPIO files
      
      * Removed othing lingering words
      
      * Another round of GPIO cleaning
      
      * Removed a couple more words
      
      * Added readonly and updated casing
      
      * Better method grouping and synced constructor summaries
      d4e7b67a
  11. 08 1月, 2019 1 次提交
  12. 06 1月, 2019 2 次提交
  13. 21 12月, 2018 1 次提交
  14. 19 12月, 2018 1 次提交
  15. 14 12月, 2018 2 次提交
  16. 11 12月, 2018 1 次提交
    • G
      Updated PinValue summaries (#85) · 5d86b8fd
      Greg Ingram 提交于
      There was a typo, but also both states can have current depending on hardware configuration.  A Low has ability to sink current.
      5d86b8fd
  17. 05 12月, 2018 2 次提交
  18. 04 12月, 2018 2 次提交
  19. 03 12月, 2018 1 次提交
  20. 02 12月, 2018 2 次提交
  21. 01 12月, 2018 3 次提交
  22. 30 11月, 2018 2 次提交
  23. 29 11月, 2018 6 次提交
  24. 28 11月, 2018 1 次提交
  25. 27 11月, 2018 1 次提交