Windows.Devices.DevicesLowLevelContract
Represents properties common to all low level device aggregate providers.
Gets the default ADC provider. If the default provider is not explicitly set, it will fall back to the normal driver/controller.
The ADC provider.
Gets the default GPIO provider. If the default provider is not explicitly set, it will fall back to the normal driver/controller.
The GPIO provider.
Gets the default I<sup>2</sup> C provider. If the default provider is not explicitly set, it will fall back to the normal driver/controller.
The I<sup>2</sup> C provider.
Gets the default PWM provider. If the default provider is not explicitly set, it will fall back to the normal driver/controller.
The PWM provider.
Gets the default SPI provider. If the default provider is not explicitly set, it will fall back to the normal driver/controller.
The SPI provider.
Represents the low level bus device providers. This class gives access to the default provider for the low level bus controllers.
Creates an instance of LowLevelDevicesAggregateProvider and sets the supplied providers as defaults for the respective bus.
The ADC provider.
The PWM provider.
The GPIO provider.
The I<sup>2</sup> C provider.
The SPI provider.
Gets the default ADC provider. If the default provider is not explicitly set, it will fall back to the normal driver/controller.
The ADC provider.
Gets the default GPIO provider. If the default provider is not explicitly set, it will fall back to the normal driver/controller.
The GPIO provider.
Gets the default I<sup>2</sup> C provider. If the default provider is not explicitly set, it will fall back to the normal driver/controller.
The I<sup>2</sup> C provider.
Gets the default PWM provider. If the default provider is not explicitly set, it will fall back to the normal driver/controller.
The PWM provider.
Gets the default SPI provider. If the default provider is not explicitly set, it will fall back to the normal driver/controller.
The SPI provider.
Represents a low level bus device controller, and it's associated provider.
Gets or sets the default provider for the controller.
The device aggregate provider.
Represents a single ADC channel.
Gets the ADC controller for this channel.
The ADC controller.
Closes the connection on this channel, making it available to be opened by others.
Reads the value as a percentage of the max value possible for this controller.
The value as percentage of the max value.
Reads the digital representation of the analog value from the ADC.
The digital value.
Describes the channel modes that the ADC controller can use for input.
Difference between two pins.
Simple value of a particular pin.
Represents an ADC controller on the system
The number of channels available on the ADC controller.
Number of channels.
Gets or sets the channel mode for the ADC controller.
The ADC channel mode.
Gets the maximum value that the controller can report.
The maximum value.
The minimum value the controller can report.
The minimum value.
Gets the resolution of the controller as number of bits it has. For example, if we have a 10-bit ADC, that means it can detect 1024 (2^10) discrete levels.
The number of bits the ADC controller has.
Gets all the controllers that are connected to the system asynchronously .
The ADC provider for the controllers on the system.
When the method completes successfully, it returns a list of values that represent the controllers available on the system.
Gets the default ADC controller on the system.
The default ADC controller on the system, or null if the system has no ADC controller.
Verifies that the specified channel mode is supported by the controller.
The channel mode.
True if the specified channel mode is supported, otherwise false.
Opens a connection to the specified ADC channel.
The channel to connect to.
The ADC channel.
Represents properties and methods common to all ADC controllers.
Gets the number of channels available on for the controller.
Number of channels.
Gets or sets the controller channel mode.
The channel mode.
Gets the maximum value that the controller can return.
The maximum value.
Gets the minimum value that the controller can return.
The minimum value.
Gets the resolution of the controller as number of bits it has.
The resolution as number of bits.
Acquires a connection to the specified channel.
Which channel to connect to.
Determines if the specified channel mode is supported by the controller.
The channel mode in question.
True if the specified channel mode is supported, otherwise false.
Gets the digital representation of the analog value on the specified channel.
Which channel to read from.
The digital representation of the analog value.
Releases the channel connection, opening that channel for others to use.
Which channel to close the connection to.
Represents methods common to all ADC providers.
Gets the ADC controllers available on the system.
When this method completes it returns a list of all the available controllers on the system.
Determines how the pin value is represented. Implementation of specifics are decided by the provider, so differential may be fully or pseudo differential.
Difference between two pins.
Simple value of a particular pin.
Represents a near-simultaneous sampling of the number of times a pin has changed value, and the time at which this count was sampled. This structure can be used to determine the number of pin value changes over a period of time.
The number of times the transition of polarity specified by GpioChangeCounter.Polarity occured on the pin.
The time at which this count was sampled. The time is sampled close to (but not simultaneously with) the count. This timestamp can be used to determine the elapsed time between two GpioChangeCount records. It does not correspond to any absolute or system time.
Counts changes of a specified polarity on a general-purpose I/O (GPIO) pin.
Creates a new GpioChangeCounter associated with the specified pin. Only a single GpioChangeCounter may be associated with a pin at any given time.
The pin on which to count changes. This pin must have been opened in Exclusive mode, and cannot be associated with another GpioChangeCounter.
Gets whether pin change counting is currently active.
Gets or sets the polarity of transitions that will be counted. The polarity may only be changed when pin counting is not started.
Closes the change counter, disassociating it from its pin.
Reads the current count of polarity changes. Before counting has been started, this will return 0.
A GpioChangeCount structure containing a count and an associated timestamp.
Resets the count to 0 and returns the previous count.
A GpioChangeCount structure containing a count and an associated timestamp.
Starts counting changes in pin polarity. This method may only be called when change counting is not already active.
Stop counting changes in pin polarity. This method may only be called when change counting is currently active.
Represents the polarity of changes that are relevant to the associated action.
Transitions from both low to high and high to low should trigger the associated action.
Transitions from high to low should trigger the associated action.
Transitions from low to high should trigger the associated action.
Represents a shared circular buffer between kernel mode and user mode into which high-resolution timestamps are placed when a general-purpose I/O (GPIO) pin changes value.
Creates a new GpioChangeReader associated with the specified pin. Only a single GpioChangeReader may be associated with a pin at any given time.
The pin on which to read changes. The pin must have been opened in Exclusive mode, and cannot be associated with another change reader.
Creates a new GpioChangeReader associated with the specified pin and with the specified minimum capacity for change records. Only a single GpioChangeReader may be associated with a pin at any given time.
The pin on which to read changes. The pin must have been opened in Exclusive mode, and cannot be associated with another change reader.
The minimum number of change records that the reader must be able to hold.
Gets the maximum number of change records that the GpioChangeReader can store at one time.
The maximum number of change records.
Gets whether there are currently zero change records in the reader.
Returns true if there are zero change items in the reader, and false otherwise.
Gets whether an attempt to place a change record into the reader's buffer has failed due to the buffer being full.
Returns true if an attempt at placement has been unsuccessful, and false otherwise.
Gets whether pin change recording is currently active.
Returns true if pin changes are currently being recorded, and false otherwise.
Gets the number of records currently in the change reader.
The current number of change records.
Gets or sets the polarity of transitions that will be recorded. The polarity may only be changed when pin change recording is not started.
Rising or Falling. The default polarity value is Falling.
Discards all change records from the reader's buffer.
Closes the change reader, releasing the associated memory buffer and disassociating the reader from its pin.
Removes and returns all items current in the reader's buffer.
IVector<GpioChangeRecord >
Retrieves and removes the earliest inserted change record from the reader's buffer.
A GpioChangeRecord structure containing the timestamp and polarity (rising or falling) of the change.
Retrieves the earlier inserted change record from the reader's buffer, without removing it.
A GpioChangeRecord structure containing the timestamp and polarity (rising or falling) of the change.
Starts recording changes in pin polarity. This method may only be called when change recording is not already active.
Stop recording changes in pin polarity. This method may only be called when change recording is currently active.
Waits for the buffer to fill with at least *count* number of items, at which point the async action will complete. This action is cancelable.
The number of items with which the buffer must fill before the async operation completes.
Stores a relative timestap of a general-purpose I/O (GPIO) pin value change, and whether the pin transitioned from low to high or from high to low.
A GpioPinEdge object corresponding to the transition type.
A relative timestamp that can be used to determine the difference in time between two change records. This timestamp does not correspond to any absolute or system time.
Represents the default general-purpose I/O (GPIO) controller for the system.
Gets the number of pins on the general-purpose I/O (GPIO) controller.
The number of pins on the GPIO controller. Some pins may not be available in user mode. For information about how the pin numbers correspond to physical pins, see the documentation for your circuit board.
Gets all the controllers that are connected to the system asynchronously.
The GPIO provider for the controllers on the system.
When the method completes successfully, it returns a list of values that represent the controllers available on the system.
Gets the default general-purpose I/O (GPIO) controller for the system.
The default GPIO controller for the system, or null if the system has no GPIO controller.
Gets the default general-purpose I/O (GPIO) controller for the system.
The default GPIO controller for the system, or null if the system has no GPIO controller.
Opens a connection to the specified general-purpose I/O (GPIO) pin in exclusive mode.
The pin number of the GPIO pin that you want to open. The pin number must be
The opened GPIO pin.
Opens the specified general-purpose I/O (GPIO) pin in the specified mode.
The pin number of the GPIO pin that you want to open. The pin number must be
The mode in which you want to open the GPIO pin, which determines whether other connections to the pin can be opened while you have the pin open.
The opened GPIO pin.
Opens the specified general-purpose I/O (GPIO) pin in the specified mode, and gets a status value that you can use to handle a failure to open the pin programmatically.
The pin number of the GPIO pin that you want to open. Some pins may not be available in user mode. For information about how the pin numbers correspond to physical pins, see the documentation for your circuit board.
The mode in which you want to open the GPIO pin, which determines whether other connections to the pin can be opened while you have the pin open.
The opened GPIO pin if the return value is true; otherwise null.
An enumeration value that indicates either that the attempt to open the GPIO pin succeeded, or the reason that the attempt to open the GPIO pin failed.
True if the method successfully opened the pin; otherwise false.
Describes the possible results of opening a pin with the GpioController.TryOpenPin method.
The pin is currently opened for a different function, such as **I2c**, **Spi**, or **UART**. Ensure the pin is not in use by another function.
The GPIO pin was successfully opened.
The pin is reserved by the system and is not available to apps that run in user mode.
The pin is currently open in an incompatible sharing mode. For example:
The pin could not be opened.
Represents a general-purpose I/O (GPIO) pin.
Gets or sets the debounce timeout for the general-purpose I/O (GPIO) pin, which is an interval during which changes to the value of the pin are filtered out and do not generate ValueChanged events.
The debounce timeout for the GPIO pin, which is an interval during which changes to the value of the pin are filtered out and do not generate ValueChanged events. If the length of this interval is 0, all changes to the value of the pin generate ValueChanged events.
Gets the pin number of the general-purpose I/O (GPIO) pin.
The pin number of the GPIO pin.
Gets the sharing mode in which the general-purpose I/O (GPIO) pin is open.
The sharing mode in which the GPIO pin is open.
Occurs when the value of the general-purpose I/O (GPIO) pin changes, either because of an external stimulus when the pin is configured as an input, or when a value is written to the pin when the pin in configured as an output.
Closes the general-purpose I/O (GPIO) pin and releases the resources associated with it.
Gets the current drive mode for the general-purpose I/O (GPIO) pin. The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.
An enumeration value that indicates the current drive mode for the GPIO pin. The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.
Gets whether the general-purpose I/O (GPIO) pin supports the specified drive mode.
The drive mode that you want to check for support.
True if the GPIO pin supports the drive mode that *driveMode* specifies; otherwise false. If you specify a drive mode for which this method returns false when you call SetDriveMode, SetDriveMode generates an exception.
Reads the current value of the general-purpose I/O (GPIO) pin.
The current value of the GPIO pin. If the pin is configured as an output, this value is the last value written to the pin.
Sets the drive mode of the general-purpose I/O (GPIO) pin. The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.
An enumeration value that specifies drive mode to use for the GPIO pin. The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.
Drives the specified value onto the general purpose I/O (GPIO) pin according to the current drive mode for the pin if the pin is configured as an output, or updates the latched output value for the pin if the pin is configured as an input.
The enumeration value to write to the GPIO pin.
Describes whether a general-purpose I/O (GPIO) pin is configured as an input or an output, and how values are driven onto the pin.
Configures the GPIO pin in floating mode, with high impedance.
Configures the GPIO pin as high impedance with a pull-down resistor to ground.
Configures the GPIO pin as high impedance with a pull-up resistor to the voltage charge connection (VCC).
Configures the GPIO pin in strong drive mode, with low impedance.
Configures the GPIO in open drain mode.
Configures the GPIO pin in open drain mode with resistive pull-up mode.
Configures the GPIO pin in open collector mode.
Configures the GPIO pin in open collector mode with resistive pull-down mode.
Describes the possible types of change that can occur to the value of the general-purpose I/O (GPIO) pin for the GpioPin.ValueChanged event.
The value of the GPIO pin changed from high to low.
The value of the GPIO pin changed from low to high.
Describes the possible values for a general-purpose I/O (GPIO) pin.
The value of the GPIO pin is high.
The value of the GPIO pin is low.
Provides data about the GpioPin.ValueChanged event that occurs when the value of the general-purpose I/O (GPIO) pin changes, either because of an external stimulus when the pin is configured as an input, or when a value is written to the pin when the pin in configured as an output.
Gets the type of change that occurred to the value of the general-purpose I/O (GPIO) pin for the GpioPin.ValueChanged event.
An enumeration value that indicates the type of change that occurred to the value of the GPIO pin for the GpioPin.ValueChanged event.
Describes the modes in which you can open a general-purpose I/O (GPIO) pin. These modes determine whether other connections to the GPIO pin can be opened while you have the pin open.
Opens the GPIO pin exclusively, so that no other connection to the pin can be opened.
Opens the GPIO pin as shared, so that other connections in **SharedReadOnly** mode to the pin can be opened.
Provides information about the IGpioPinProvider.ValueChanged event.
Contructs the GpioPinProviderValueChangedEventArgs class with the specified edge value.
The desired pin edge.
Gets the value the pin has changed to.
The pin edge.
Represents the actions common to all general-purpose I/O (GPIO) controllers.
Gets the number of general-purpose I/O (GPIO) pins available.
The number of GPIO pins available.
Opens and returns the general-purpose I/O (GPIO) pin provider for a specific pin.
The desired GPIO pin number.
The sharing mode to open the pin as.
The GPIO pin provider for the specified pin.
Represents actions common to general-purpose I/O (GPIO) pin providers.
Gets or sets the debounce timeout for the general-purpose I/O (GPIO) pin, which is an interval during which changes to the value of the pin are filtered out and do not generate ValueChanged events.
The debounce timeout for the GPIO pin, which is an interval during which changes to the value of the pin are filtered out and do not generate ValueChanged events. If the length of this interval is 0, all changes to the value of the pin generate ValueChanged events.
Gets the pin number of the general-purpose I/O (GPIO) pin.
The pin number of the GPIO pin.
Gets the sharing mode in which the general-purpose I/O (GPIO) pin is open.
The sharing mode in which the GPIO pin is open.
Event that fires when the value of the pin has changed.
Gets the pin's currently configured drive mode.
The drive mode of the pin.
Determines if a drive mode is supported for the pin.
The desired drive mode.
True if the drive mode is supported; otherwise false.
Reads the current value of the pin.
The pin's value.
Sets the pin's drive mode.
The desired drive mode for the pin.
Writes a value to the pin.
The value to write.
Represents actions common to general-purpose I/O (GPIO) controller providers.
Gets the controllers available on the system.
A list of values that represent the controllers available on the system.
Describes whether a general-purpose I/O (GPIO) pin is configured as an input or an output, and how values are driven onto the pin.
Configures the GPIO pin in floating mode, with high impedance.
Configures the GPIO pin as high impedance with a pull-down resistor to ground.
Configures the GPIO pin as high impedance with a pull-up resistor to the voltage charge connection (VCC).
Configures the GPIO pin in strong drive mode, with low impedance.
Configures the GPIO in open drain mode.
Configures the GPIO pin in open drain mode with resistive pull-up mode.
Configures the GPIO pin in open collector mode.
Configures the GPIO pin in open collector mode with resistive pull-down mode.
Describes the possible types of change that can occur to the value of the general-purpose I/O (GPIO) pin.
The falling edge, or when value goes from high to low.
The rising edge, or when value goes from low to high.
Describes the possible values for a general-purpose I/O (GPIO) pin.
The value of the GPIO pin is high.
The value of the GPIO pin is low.
Describes the modes in which you can open a general-purpose I/O (GPIO) pin. These modes determine whether other connections to the GPIO pin can be opened while you have the pin open.
Opens the GPIO pin exclusively, so that no other connection to the pin can be opened.
Opens the GPIO pin as shared, so that other connections in **SharedReadOnly** mode to the pin can be opened. Only operations that do not change the state of the pin can be performed.
Describes the bus speeds that are available for connecting to an inter-integrated circuit (I<sup>2</sup> C) device. The bus speed is the frequency at which to clock the I<sup>2</sup> C bus when accessing the device.
A fast speed of 400 kHz.
The standard speed of 100 kilohertz (kHz). This speed is the default.
Represents the connection settings you want to use for an inter-integrated circuit (I<sup>2</sup> C) device.
Creates and initializes a new instance of the I2cConnectionSettings class for inter-integrated circuit (I<sup>2</sup> C) device with specified bus address, using the default settings of the standard mode for the bus speed and exclusive sharing mode.
The bus address of the inter-integrated circuit (I<sup>2</sup> C) device to which the settings of the I2cConnectionSettings should apply. Only 7-bit addressing is supported, so the range of values that are valid is from 8 to 119.
Gets or sets the bus speed to use for connecting to an inter-integrated circuit (I<sup>2</sup> C) device. The bus speed is the frequency at which to clock the I<sup>2</sup> C bus when accessing the device.
The bus speed to use for connecting to anI<sup>2</sup> C device.
Gets or sets the sharing mode to use to connect to the inter-integrated circuit (I<sup>2</sup> C) bus address. This mode determines whether other connections to the I<sup>2</sup> C bus address can be opened while you are connect to the I<sup>2</sup> C bus address.
The sharing mode to use to connect to the I<sup>2</sup> C bus address.
Gets or sets the bus address of the inter-integrated circuit (I<sup>2</sup> C) device.
The bus address of the I<sup>2</sup> C device. Only 7-bit addressing is supported, so the range of values that are valid is from 8 to 119.
Represents the I<sup>2</sup> C controller for the system.
Gets all the I<sup>2</sup> C controllers that are on the system.
The I<sup>2</sup> C provider for the controllers on the system.
When the method completes successfully, it returns a list of values that represent the available I<sup>2</sup> C controllers on the system.
Gets the default I<sup>2</sup> C controller on the system.
The default I<sup>2</sup> C controller on the system, or null if the system has no I<sup>2</sup> C controller.
Gets the I<sup>2</sup> C device with the specified settings.
The desired connection settings.
The I<sup>2</sup> C device.
Represents a communications channel to a device on an inter-integrated circuit (I<sup>2</sup> C) bus.
Gets the connection settings used for communication with the inter-integrated circuit (I<sup>2</sup> C) device.
The connection settings used for communication with the inter-integrated circuit (I<sup>2</sup> C) device.
Gets the plug and play device identifier of the inter-integrated circuit (I<sup>2</sup> C) bus controller for the device.
The plug and play device identifier of the inter-integrated circuit (I<sup>2</sup> C) bus controller for the device.
Closes the connection to the inter-integrated circuit (I<sup>2</sup> C) device.
Retrieves an I2cDevice object asynchronously for the inter-integrated circuit (I<sup>2</sup> C) bus controller that has the specified plug and play device identifier, using the specified connection settings.
The plug and play device identifier of the I<sup>2</sup> C bus controller for which you want to create an I2cDevice object.
The connection settings to use for communication with the I<sup>2</sup> C bus controller that *deviceId* specifies.
An asynchronous operation that returns the I2cDevice object.
Retrieves an Advanced Query Syntax (AQS) string for all of the inter-integrated circuit (I<sup>2</sup> C) bus controllers on the system. You can use this string with the DeviceInformation.FindAllAsync method to get DeviceInformation objects for those bus controllers.
An AQS string for all of the I<sup>2</sup> C bus controllers on the system, which you can use with the DeviceInformation.FindAllAsync method to get DeviceInformation objects for those bus controllers.
Retrieves an Advanced Query Syntax (AQS) string for the inter-integrated circuit (I<sup>2</sup> C) bus that has the specified friendly name. You can use this string with the DeviceInformation.FindAllAsync method to get a DeviceInformation object for that bus.
A friendly name for the particular I<sup>2</sup> C bus on a particular hardware platform for which you want to get the AQS string.
An AQS string for the I<sup>2</sup> C bus that *friendlyName* specifies, which you can use with the DeviceInformation.FindAllAsync method to get a DeviceInformation object for that bus.
Reads data from the inter-integrated circuit (I<sup>2</sup> C) bus on which the device is connected into the specified buffer.
The buffer to which you want to read the data from the I<sup>2</sup> C bus. The length of the buffer determines how much data to request from the device.
Reads data from the inter-integrated circuit (I<sup>2</sup> C) bus on which the device is connected into the specified buffer, and returns information about the success of the operation that you can use for error handling.
The buffer to which you want to read the data from the I<sup>2</sup> C bus. The length of the buffer determines how much data to request from the device.
A structure that contains information about the success of the read operation and the actual number of bytes that the operation read into the buffer.
Writes data to the inter-integrated circuit (I<sup>2</sup> C) bus on which the device is connected, based on the bus address specified in the I2cConnectionSetting s object that you used to create the I2cDevice object.
A buffer that contains the data that you want to write to the I<sup>2</sup> C device. This data should not include the bus address.
Writes data to the inter-integrated circuit (I<sup>2</sup> C) bus on which the device is connected, and returns information about the success of the operation that you can use for error handling.
A buffer that contains the data that you want to write to the I<sup>2</sup> C device. This data should not include the bus address.
A structure that contains information about the success of the write operation and the actual number of bytes that the operation wrote into the buffer.
Performs an atomic operation to write data to and then read data from the inter-integrated circuit (I<sup>2</sup> C) bus on which the device is connected, and sends a restart condition between the write and read operations.
A buffer that contains the data that you want to write to the I<sup>2</sup> C device. This data should not include the bus address.
The buffer to which you want to read the data from the I<sup>2</sup> C bus. The length of the buffer determines how much data to request from the device.
Performs an atomic operation to write data to and then read data from the inter-integrated circuit (I<sup>2</sup> C) bus on which the device is connected, and returns information about the success of the operation that you can use for error handling.
A buffer that contains the data that you want to write to the I<sup>2</sup> C device. This data should not include the bus address.
The buffer to which you want to read the data from the I<sup>2</sup> C bus. The length of the buffer determines how much data to request from the device.
A structure that contains information about whether both the read and write parts of the operation succeeded and the sum of the actual number of bytes that the operation wrote and the actual number of bytes that the operation read.
Describes the modes in which you can connect to an inter-integrated circuit (I<sup>2</sup> C) bus address. These modes determine whether other connections to the I<sup>2</sup> C bus address can be opened while you are connected to the I<sup>2</sup> C bus address.
Connects to the I<sup>2</sup> C bus address exclusively, so that no other connection to the I<sup>2</sup> C bus address can be made while you remain connected. This mode is the default mode.
Connects to the I<sup>2</sup> C bus address in shared mode, so that other connections to the I<sup>2</sup> C bus address can be made while you remain connected.
Provides information about whether the data transfers that the ReadPartial, WritePartial, or WriteReadPartial method performed succeeded, and the actual number of bytes the method transferred.
The actual number of bytes that the operation actually transferred. The following table describes what this value represents for each method.
An enumeration value that indicates if the read or write operation transferred the full number of bytes that the method requested, or the reason that the full transfer did not succeed. For WriteReadPartial, the value indicates whether the data for both the write and the read operations was entirely transferred.
Describes whether the data transfers that the ReadPartial, WritePartial, or WriteReadPartial method performed succeeded, or provides the reason that the transfers did not succeed.
The transfer failed due to the clock being stretched for too long. Ensure the clock line is not being held low.
The data was entirely transferred. For WriteReadPartial, the data for both the write and the read operations was entirely transferred.
The I<sup>2</sup> C device negatively acknowledged the data transfer before all of the data was transferred.
The bus address was not acknowledged.
The transfer failed for an unknown reason.
Provides ways to open a communications channel to a device on an inter-integrated circuit (I<sup>2</sup> C) bus.
Retrieves an I2cDevice object asynchronously for the inter-integrated circuit (I<sup>2</sup> C) bus controller that has the specified plug and play device identifier, using the specified connection settings.
The plug and play device identifier of the I<sup>2</sup> C bus controller for which you want to create an I2cDevice object.
The connection settings to use for communication with the I<sup>2</sup> C bus controller that *deviceId* specifies.
An asynchronous operation that returns the I2cDevice object.
Retrieves an Advanced Query Syntax (AQS) string for all of the inter-integrated circuit (I<sup>2</sup> C) bus controllers on the system. You can use this string with the DeviceInformation.FindAllAsync method to get DeviceInformation objects for those bus controllers.
An AQS string for all of the I<sup>2</sup> C bus controllers on the system, which you can use with the DeviceInformation.FindAllAsync method to get DeviceInformation objects for those bus controllers.
Retrieves an Advanced Query Syntax (AQS) string for the inter-integrated circuit (I<sup>2</sup> C) bus that has the specified friendly name. You can use this string with the DeviceInformation.FindAllAsync method to get a DeviceInformation object for that bus.
A friendly name for the particular I<sup>2</sup> C bus on a particular hardware platform for which you want to get the AQS string.
An AQS string for the I<sup>2</sup> C bus that *friendlyName* specifies, which you can use with the DeviceInformation.FindAllAsync method to get a DeviceInformation object for that bus.
Represents properties and methods common to all I<sup>2</sup> C controllers.
Gets the I<sup>2</sup> C device provider with the specified settings.
The desired settings.
The I<sup>2</sup> C device provider.
Represents methods common to all I<sup>2</sup> C device providers.
Gets the plug and play device identifier of the inter-integrated circuit (I<sup>2</sup> C) bus controller for the device.
The plug and play device identifier of the inter-integrated circuit (I<sup>2</sup> C) bus controller for the device.
Reads data from the inter-integrated circuit (I<sup>2</sup> C) bus on which the device is connected into the specified buffer.
The buffer to which you want to read the data from the I<sup>2</sup> C bus. The length of the buffer determines how much data to request from the device.
Reads data from the inter-integrated circuit (I<sup>2</sup> C) bus on which the device is connected into the specified buffer, and returns information about the success of the operation that you can use for error handling.
The buffer to which you want to read the data from the I<sup>2</sup> C bus. The length of the buffer determines how much data to request from the device.
A structure that contains information about the success of the read operation and the actual number of bytes that the operation read into the buffer.
Writes data to the inter-integrated circuit (I<sup>2</sup> C) bus on which the device is connected.
A buffer that contains the data that you want to write to the I<sup>2</sup> C device. This data should not include the bus address.
Writes data to the inter-integrated circuit (I<sup>2</sup> C) bus on which the device is connected, and returns information about the success of the operation that you can use for error handling.
A buffer that contains the data that you want to write to the I<sup>2</sup> C device. This data should not include the bus address.
A structure that contains information about the success of the write operation and the actual number of bytes that the operation wrote into the buffer.
Performs an atomic operation to write data to and then read data from the inter-integrated circuit (I<sup>2</sup> C) bus on which the device is connected, and sends a restart condition between the write and read operations.
A buffer that contains the data that you want to write to the I<sup>2</sup> C device. This data should not include the bus address.
The buffer to which you want to read the data from the I<sup>2</sup> C bus. The length of the buffer determines how much data to request from the device.
Performs an atomic operation to write data to and then read data from the inter-integrated circuit (I<sup>2</sup> C) bus on which the device is connected, and returns information about the success of the operation that you can use for error handling.
A buffer that contains the data that you want to write to the I<sup>2</sup> C device. This data should not include the bus address.
The buffer to which you want to read the data from the I<sup>2</sup> C bus. The length of the buffer determines how much data to request from the device.
A structure that contains information about whether both the read and write parts of the operation succeeded and the sum of the actual number of bytes that the operation wrote and the actual number of bytes that the operation read.
Represents actions common to all I<sup>2</sup> C providers.
Gets all the I<sup>2</sup> C controllers that are on the system.
When the method completes successfully, it returns a list of values that represent the available I<sup>2</sup> C controllers on the system.
Describes the bus speeds that are available for connecting to an inter-integrated circuit (I<sup>2</sup> C) device. The bus speed is the frequency at which to clock the I<sup>2</sup> C bus when accessing the device.
A fast speed of 400 kHz.
The standard speed of 100 kilohertz (kHz). This speed is the default.
Represents the connection settings you want to use for an inter-integrated circuit (I<sup>2</sup> C) device.
Gets or sets the bus speed to use for connecting to an inter-integrated circuit (I<sup>2</sup> C) device. The bus speed is the frequency at which to clock the I<sup>2</sup> C bus when accessing the device.
The bus speed to use for connecting to an I<sup>2</sup> C device.
Gets or sets the sharing mode to use to connect to the inter-integrated circuit (I<sup>2</sup> C) bus address. This mode determines whether other connections to the I<sup>2</sup> C bus address can be opened while you are connect to the I<sup>2</sup> C bus address.
The sharing mode to use to connect to the I<sup>2</sup> C bus address.
Gets or sets the bus address of the inter-integrated circuit (I<sup>2</sup> C) device.
The bus address of the I<sup>2</sup> C device. Only 7-bit addressing is supported, so the range of values that are valid is from 8 to 119.
Describes the modes in which you can connect to an inter-integrated circuit (I<sup>2</sup> C) bus address. These modes determine whether other connections to the I<sup>2</sup> C bus address can be opened while you are connected to the I<sup>2</sup> C bus address.
Connects to the I<sup>2</sup> C bus address exclusively, so that no other connection to the I<sup>2</sup> C bus address can be made while you remain connected. This mode is the default mode.
Connects to the I<sup>2</sup> C bus address in shared mode, so that other connections to the I<sup>2</sup> C bus address can be made while you remain connected.
Provides information about whether the data transfers that the ReadPartial, WritePartial, or WriteReadPartial method performed succeeded, and the actual number of bytes the method transferred.
The actual number of bytes that the operation actually transferred. The following table describes what this value represents for each method.
An enumeration value that indicates if the read or write operation transferred the full number of bytes that the method requested, or the reason that the full transfer did not succeed. For WriteReadPartial, the value indicates whether the data for both the write and the read operations was entirely transferred.
Describes whether the data transfers that the ReadPartial, WritePartial, or WriteReadPartial method performed succeeded, or provides the reason that the transfers did not succeed.
The data was entirely transferred. For WriteReadPartial, the data for both the write and the read operations was entirely transferred.
The I<sup>2</sup> C device negatively acknowledged the data transfer before all of the data was transferred.
The bus address was not acknowledged.
Represents a PWM controller connected to the system.
Gets the actual frequency of the PWM.
The frequency in Hz.
Gets the maximum frequency offered by the controller.
The maximum frequency in Hz.
Gets the minimum frequency offered by the controller.
The minimum frequency in Hz.
Gets the number of pins available on the system.
The number of pins.
Initializes a PWM controller instance based on the given DeviceInformation ID.
The acquired DeviceInformation ID.
Gets all the controllers on the system asynchronously.
The PWM provider that is on the system.
When the method completes successfully, it returns a list of values that represent the controllers available on the system.
Gets the default PWM controller on the system.
The default PWM controller on the system, or null if the system has no PWM controller.
Retrieves an Advanced Query Syntax (AQS) string for all the PWM controllers on the system. You can use this string with the DeviceInformation.FindAllAsync method to get DeviceInformation objects for those controllers.
Retrieves an Advanced Query Syntax (AQS) string for the PWM controller that has the specified friendly name. You can use this string with the DeviceInformation.FindAllAsync method to get DeviceInformation objects for those controllers.
A friendly name for the particular PWM controller for which you want to get the corresponding AQS string.
Opens the pin for use.
Which pin to open.
The requested pin now available for use.
Sets the PWM frequency.
Then value of the desired frequency in Hz.
The actual frequency that was set. This will be the closest supported match as determined by the provider.
Represents a single PWM pin on the system.
Gets the PWM controller in use by this pin.
The controller.
Gets the started state of the pin.
True if the PWM has started on this pin, otherwise false.
Gets or sets the polarity of the pin.
The pin polarity.
Closes current connection to the pin, and makes pin available to be opened by others.
Retrieves the duty cycle percentage for this pin.
The duty cycle percentage, between 0.0 and 1.0.
Sets the duty cycle percentage for this pin.
The desired duty cycle percentage, represented as a value between 0.0 and 1.0.
Starts the PWM on this pin.
Stops the PWM on this pin.
Describes which polarity the PWM signal should start in.
Configures the PWM signal to start in the active high state.
Configures the PWM signal to start in the active low state.
Represents properties and methods common to all PWM controllers.
Gets the actual frequency of the PWM.
The frequency in Hz.
Gets the maximum frequency offered by the controller.
The maximum frequency in Hz.
Gets the minimum frequency offered by the controller.
The minimum frequency in Hz.
Gets the number of PWM pins available on the system.
The number of pins available.
Acquires the specified pin and opens that pin for use.
Which pin to open a PWM connection to.
Stops the PWM on this pin.
Which pin to stop the PWM signal on.
Starts the PWM signal on the specified pin.
Which pin to start the PWM signal on.
Releases connection to specified pin and makes that pin available to others.
Which pin to release.
Sets the desired PWM frequency.
The desired frequency in Hz.
The actual PWM frequency after setting to above value. This will be the closest supported match as determined by the provider.
Sets the PWM parameters for pin, duty cycle, and polarity.
Indicates which pin these values apply to.
The duty cycle percentage, with value between 0 and 100 inclusive.
True if polarity of pin should be inverted, otherwise false.
Represents methods common to all PWM providers.
Gets the controllers available on the system.
Returns a list of PWM controllers available on the system.
Represents SPI device statistics common to SPI devices.
Opens a device with the connection settings provided.
The id of the bus.
The connection settings.
The SPI device.
Retrieves the info about a certain bus.
The id of the bus.
The bus info requested.
Gets all the SPI buses found on the system.
String containing all the buses on the system.
Gets all the SPI buses found on the system that match the input parameter.
Input parameter specifying an identifying name for the desired bus. This usually corresponds to a name on the schematic.
String containing all the buses that have the input in the name.
Represents the info about a SPI bus.
Gets the number of chip select lines available on the bus.
Number of chip select lines.
Maximum clock cycle frequency of the bus.
The clock cycle in Hz.
Minimum clock cycle frequency of the bus.
The clock cycle in Hz.
Gets the bit lengths that can be used on the bus for transmitting data.
The supported data lengths.
Represents the settings for the connection with an SpiDevice.
Initializes new instance of SpiConnectionSettings.
The chip select line on which the connection will be made.
Gets or sets the chip select line for the connection to the SPI device.
The chip select line.
Gets or sets the clock frequency for the connection.
Value of the clock frequency in Hz.
Gets or sets the bit length for data on this connection.
The data bit length.
Gets or sets the SpiMode for this connection.
The communication mode.
Gets or sets the sharing mode for the SPI connection.
The sharing mode.
Represents the SPI controller on the system.
Gets all the SPI controllers that are on the system.
The SPI provider for the controllers on the system.
When the method completes successfully, it returns a list of values that represent the available SPI controllers on the system.
Gets the default SPI controller on the system.
The default SPI controller on the system, or null if the system has no SPI controller.
Gets the SPI device with the specified settings.
The desired connection settings.
The SPI device.
Represents a device connected through the SPI bus.
Gets the connection settings for the device.
The connection settings.
Gets the unique ID associated with the device.
The ID.
Closes the connection to the device.
Opens a device with the connection settings provided.
The id of the bus.
The connection settings.
The SPI device requested.
Retrieves the info about a certain bus.
The id of the bus.
The bus info requested.
Gets all the SPI buses found on the system.
String containing all the buses found on the system.
Gets all the SPI buses found on the system that match the input parameter.
Input parameter specifying an identifying name for the desired bus. This usually corresponds to a name on the schematic.
String containing all the buses that have the input in the name.
Reads from the connected device.
Array containing data read from the device.
Transfer data using a full duplex communication system. Full duplex allows both the master and the slave to communicate simultaneously.
Array containing data to write to the device.
Array containing data read from the device.
Transfer data sequentially to the device.
Array containing data to write to the device.
Array containing data read from the device.
Writes to the connected device.
Array containing the data to write to the device.
Defines the SPI communication mode. The communication mode defines the clock edge on which the master out line toggles, the master in line samples, and the signal clock's signal steady level (named SCLK). Each mode is defined with a pair of parameters called clock polarity (CPOL) and clock phase (CPHA).
CPOL = 0, CPHA = 0.
CPOL = 0, CPHA = 1.
CPOL = 1, CPHA = 0.
CPOL = 1, CPHA = 1.
Defines the sharing mode for the SPI bus.
SPI bus segment is not shared.
SPI bus is shared.
Represents actions common to all SPI controllers.
Gets the SPI device with the specified settings.
The desired connection settings.
The SPI device.
Represents actions common to a device connected through the SPI bus.
Gets the connection settings for the device.
The connection settings.
Gets the unique ID associated with the device.
The device ID.
Reads from the connected device.
Array containing data read from the device.
Transfer data using a full duplex communication system. Full duplex allows both the master and the slave to communicate simultaneously.
Array containing data to write to the device.
Array containing data read from the device.
Transfer data sequentially to the device.
Array containing data to write to the device.
Array containing data read from the device.
Writes to the connected device.
Array containing the data to write to the device.
Represents actions common to SPI controller providers.
Gets all the SPI controllers on the system for the provider.
When the method completes successfully, it returns a list of values that represent the available SPI controllers on the system.
Represents the provider settings for the connection to a device.
Initializes a new instance of ProviderSpiConnectionSettings.
The chip select line on which the connection will be made.
Gets or sets the chip select line for the connection to the SPI device.
The chip select line.
Gets or sets the clock frequency for the connection.
Value of the clock frequency in Hz.
Gets or sets the bit length for data on this connection.
The data bit length.
Gets or sets the ProviderSpiMode for this connection.
The communication mode.
Gets or sets the sharing mode for the SPI connection.
The sharing mode.
Defines the SPI communication mode. The communication mode defines the clock edge on which the master out line toggles, the master in line samples, and the signal clock's signal steady level (named SCLK). Each mode is defined with a pair of parameters called clock polarity (CPOL) and clock phase (CPHA).
CPOL = 0, CPHA = 0.
CPOL = 0, CPHA = 1.
CPOL = 1, CPHA = 0.
CPOL = 1, CPHA = 1.
Defines the sharing mode for the SPI bus.
SPI bus segment is not shared.
SPI bus is shared.