GpioPort Members
The following tables list the members exposed by the GpioPort type.
Public Constructors
| Name | Description | |
|---|---|---|
![]() |
GpioPort | Overloaded. Initializes a new instance of the GpioPort class. |
Protected Fields
| Name | Description | |
|---|---|---|
![]() |
_debounceMode | Specifies the mode of debouncing that a GPIO port uses. |
![]() |
_evtActivity | Specifies the delegate for an OnGpioActivity event. |
![]() |
_interruptMode | Specifies the transition edge at which an interrupt occurs. |
![]() |
_isr | Points to the interrupt service routine (ISR). |
![]() |
_isrParam | Points to the parameter passed to the interrupt service routine (ISR). |
![]() |
_resistorMode | Specifies the mode of a GPIO pin's terminating resistor. |
![]() |
_state | Specifies the current state of a GPIO pin. |
Public Properties
| Name | Description | |
|---|---|---|
![]() |
Interrupt | Gets the transition edge at which an interrupt occurs. |
![]() |
Mode | Gets a GPIO port's current mode. |
![]() |
ModesAllowed | Gets or sets a GPIO port's allowed modes. |
![]() |
ModesExpected | Gets or sets a GPIO port's expected modes. |
![]() |
Pin | Gets or sets a GPIO pin. |
![]() |
Resistor | Gets the mode of a GPIO pin's terminating resistor. |
Public Methods
| Name | Description | |
|---|---|---|
![]() |
IsReplaceableBy | Indicates whether the current GPIO port can be replaced by a specified component. |
![]() |
Read | Reads the bit value from a particular pin. |
![]() |
SetupComponent | Sets up a GPIO port. |
![]() |
Write | Writes a specified bit value to the current pin. |
Public Events
| Name | Description | |
|---|---|---|
![]() |
OnGpioActivity | Occurs when a .NET Micro Framework application changes the state of a GPIO pin. |
.gif)
.gif)
.gif)
.gif)