Treehopper C# API
SpiChipSelectPin Interface Reference

A pin that can be used as an SPI chip-select More...

Inheritance diagram for SpiChipSelectPin:
DigitalOut DigitalBase Pin

Public Member Functions

Task ToggleOutputAsync ()
 Toggle the output's value More...
 
Task MakeDigitalPushPullOutAsync ()
 Make the pin a push-pull output More...
 

Properties

int PinNumber [get]
 The pin number of the pin More...
 
Spi SpiModule [get]
 The SPI module that can use this pin More...
 
new bool DigitalValue [get, set]
 Get or set the digital value of the pin More...
 

Detailed Description

A pin that can be used as an SPI chip-select

Member Function Documentation

◆ ToggleOutputAsync()

Task ToggleOutputAsync ( )
inherited

Toggle the output's value

Implemented in Pin, PortExpanderPin, and ShiftOutPin.

◆ MakeDigitalPushPullOutAsync()

Task MakeDigitalPushPullOutAsync ( )
inherited

Make the pin a push-pull output

Implemented in Pin, PortExpanderPin, and ShiftOutPin.

Property Documentation

◆ PinNumber

int PinNumber
get

The pin number of the pin

◆ SpiModule

Spi SpiModule
get

The SPI module that can use this pin

◆ DigitalValue

new bool DigitalValue
getsetinherited

Get or set the digital value of the pin


The documentation for this interface was generated from the following file: