Changes

3 bytes added ,  16:34, 3 February 2020
no edit summary
Line 244: Line 244:     
== OpenSessionForDev ==
 
== OpenSessionForDev ==
Takes a raw [[#GpioPadDescriptor]] and returns a [[#IPadSession]] session for it.
+
Takes a raw [[#GpioPadDescriptor]] and returns an [[#IPadSession]] session for it.
    
== OpenSession ==
 
== OpenSession ==
Line 388: Line 388:     
== OpenSessionForDev ==
 
== OpenSessionForDev ==
Takes an u32 '''port''', an u16 '''addr''', an '''AddressingMode''' (1 for 10-bit, 0 otherwise) and a '''SpeedMode''' (400000 or 100000). Returns a [[#II2cSession]] session.
+
Takes an u32 '''port''', an u16 '''addr''', an '''AddressingMode''' (1 for 10-bit, 0 otherwise) and a '''SpeedMode''' (400000 or 100000). Returns an [[#II2cSession]] session.
    
== OpenSession ==
 
== OpenSession ==
Takes an '''I2cDevice''' and returns a [[#II2cSession]] session for it.
+
Takes an '''I2cDevice''' and returns an [[#II2cSession]] session for it.
    
== HasDevice ==
 
== HasDevice ==